Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Daniela
Connections doesn’t have anything built in to handle this, however, since the bio and notes fields support shortcodes, you could use another plugin that can manage files that uses shortcodes.
Does that helps?
Steven Zahm
Keymaster@ Patrick
If you made it a plugin, it would be in the
../wp-content/pluginsfolder. If you decided to follow the legacy template format, the foldertestfolder and files should go in the../wp-content/connections_templates/folder.Steven Zahm
Keymaster@ Richard
I’ve taking a look at the various pages, all do seem to be sorting correctly.
The UK page, the first 21 pages do not have have a postal code or locality to sort by leaving the final sort of
organizationwhich would be alphabetical. Since the postal code and locality are empty those entries will come before those on the 22nd page which do have a postal code and locality.Hope that helps.
Steven Zahm
Keymaster@ Patrick
Just being in the folder does not make it readable, unlike the legacy templates. I’ll be ripping out legay template support in a year or so which is why I recommend following the new way.
Making it a plugin as suggested will make it read by WP and adding the action at the end of the file will register it for use.
Steven Zahm
Keymaster@ Patrick
Looks good, at a glance. Couple questions…
Is the
testdirect in this folder?
../wp-content/plugins/connections/templates/If yes, that’ll be alright just for testing, but you’ll lose the template during a plugin upgrade since WP will delete the Connections folder.
So my suggestion would be to move the
testfolder to thepluginsfolder.
Add the plugin header text to the top of thetest.phpfile so WP will recognize it as a valid plugin.
Then add the following to the end of thetest.phpfile:add_action( 'plugins_loaded', array( 'cnTest', 'init' ), 11 );Now, when you activate your template under the Plugins admin page, it should show up on the Connections :: Templates admin page.
Steven Zahm
Keymaster@ michaela
Ok, It’s working now. I had o change the timthumb-config.php file to this:
<?php define ('ALLOW_EXTERNAL', TRUE); define ('FILE_CACHE_DIRECTORY', '../../cache'); define ('MAX_WIDTH', 1500); define ('MAX_HEIGHT', 1500); define ('FILE_CACHE_MAX_FILE_AGE', 604800); define ('MEMORY_LIMIT', '128M'); //define ('DEBUG_ON', true); $ALLOWED_SITES = array ( 'stateofwellness.org' );Keep this code handy, because after upgrading Connections, you need to paste this back into the file to get it working again.
Steven Zahm
Keymaster@ kroussel
Ok, I going to assume you have cMap version 3.0.x installed with the following instructions.
Open the
card.phpfile found here:
../wp-content/plugins/cmap/Look for the following on line 102:
$mapDiv = '<div class="cn-gmap" id="map-container-' . $entry->getRuid() . '" style="display: none;">' . $gMap . '</div>';You’ll need to add you title like so:
$mapDiv = '<div class="cn-gmap" id="map-container-' . $entry->getRuid() . '" style="display: none;"><h4>My Map Title</h4>' . $gMap . '</div>';That should do it. Now, save and upload the modified file overwriting the original. Of course you should backup first.
Hope that helps.
Steven Zahm
Keymaster@ Jennifer
Yes there is, there is the order_by shortcode option. This option is available in all templates, even the free ones included with Connections.
Hope that helps.
Steven Zahm
Keymaster@ Luisa
Sorry, no it does not.
Steven Zahm
Keymaster@ Mica
I was able to get to the site now, but it seems Connections is deactivated. Could you activate it with the cMap template also being active and in use. Thanks.
-
AuthorPosts
