@ karin
First, on the new site you’re still using the old cMap version 1.0, not the new. You should really use the new version. To do this, delete the cMap files from here:
../wp-content/connections_templates/cmap/
Install the new version as a plugin, like you would install any other plugin in WordPress, do not copy the files from the zip file into the old folder as that will not work.
After you install cMap as a plugin, activate it as a plugin on the Plugins admin page.
Now cMap will show up on the Connections: Templates admin page and can be activated for use on that page.
re: Anyway, the looks of old and new are quite different:
You’re using the template in two different themes … the templates are designed to pick/use styles from the theme. That is why you see the font style differences.
re: When I look at the entries in the front end, they contain the names and the addresses, phone-numbers etc. When I go to the backend to alter the dates, there are no addresses, no phone-numbers, only the names. The fields are empty.
This almost has to be directly related to not importing all the Connections tables from the source site to the destination site. You must import all these tables:
- connections
- connections_address
- connections_phone
- connections_email
- connections_messenger
- connections_social
- connections_link
- connections_date
- connections_meta
- connections_terms
- connections_term_taxonomy
- connections_term_relationships
**NOTE: the table names above do not include the WordPress table prefix which defaults to wp_ but can be anything.
re: And last (but not least…) I do not get all entries shown. It stops after 30 entries or so.
The best I can tell … it appears all entries show on this page:
http://tierakupunktur.gervas.org/wordpress/akupunktur-tierarzte-in-meiner-nahe/view/all/
Also are on this page:
http://tierakupunktur.gervas.org/wordpress/akupunktur-tierarzte-in-meiner-nahe/
I really do not recommend showing so many entries on a single page for the same reasons WordPress limit the number of posts per page to 5 (or maybe it is 10). The old cMap 1.0 did not support pagination, I think, its been way too long now for me to remember. But the new version does. It’ll default to 20 per page.
re: When I press the button “view all” it shows me a list of ALL entries. I can’t click on one because then there is no result…
This is very likely related to an incomplete import as noted above.
re: Can you please tell me, which files I have to change to change the looks in front? Is there a full documentation somewhere? I know there is the css-file.
Found only one…
The older 1.0 version can be found here:
../wp-content/connections_templates/cmap/
The new version can be found here:
../wp-content/plugins/connections-cmap/
Here’s the doc page for creating custom CSS for a template, but this only applies to the new version.
http://connections-pro.com/2014/05/07/quicktip-custom-css-templates/
re: In Germany we show the addresses differently to the US-Adresses. It’s always have to have the zip-code first, then the City.
Yes, I know. I was actually born in Frankfurt on the US military base. Unfortunately I was way too young to remember when we left to remember it. Any way… with the new cMap you can use the addr_format shortcode option. See this doc page for more.
re: Would like to have the category pulldown
The new version of cMap has a category drop down.
re: sorting all entrys by Zipcode
See the doc page for the order_by shortcode option.
re: Would also like to add a photo.
cMap, by default shows a logo, but the new version can be changed to show the photo instead by using the image shortcode option. Here’s an example:
[connections image="photo"]
**NOTE: this will only work with the new cMap.
re: All Templates you offer, contain far too many possibilities for me.
Only enter the details you want to be shown. A template will not show blank spots for details you do not enter. Alternatively, if you want to enter data but not have it shown, cMap has shortcode option to turn them off so they are not displayed.
Additionally, On the Add/Edit Entry admin pages you have the option of hiding fieldsets that you do not need. Click the Screen Options tab in the upper right corner of the browser window. This will not affect what is shown in the template but like I said, if you do not enter something, it will not be shown.
One last thing … I gave you many shortcode options. This is important. You do not add a new shortcode for each option, you add all options to the same shortcode. Here’s an example which shorts the entries by zip code and changes the address format to have the zip code first.
[connections order_by="zipcode" addr_format="%label% %line1% %line2% %line3% %zipcode% %state% %city% %country%"]
Again, this will only work with the new cMap, not the old.
re: I am really a bit frustrated. I’ve been sitting here for hours now and can’t solve the problems. I just don’t have enough knowledge of php and maybe even css…
For a small fee of $50 I can properly migrate and setup the new cMap template for you.
I really hope this helps! I think I’ve answered all questions and I hope I did thoroughly!
