Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ trmash
Passing
<img src="..." /><h2>Title</h2>to the'text'option should work. I fairly certain I do not have any filters on the text option that would cause passing the HTML to be an issue.Steven Zahm
Keymaster@ trmash
You need to use this in the the
card-single.phpfile:$entry->getImage( array( 'image' => 'photo', 'height' => 400, 'width' => 500, 'fallback' => array( 'type' => 'block', 'string' => 'No Photo Available' ) ) );Hope that helps!
Steven Zahm
Keymaster@ Philip
Ok, it seems when I merged my dev version with production it didn’t remove some old files. This is causing the old style template to be loaded rather than the new.
Log in to your site using FTP and delete the
template.phpfile andmeta.phpfile found here:
../wp-content/plugins/connections/templates/card/I’ll remove those files from the production files and update the WP install zip sometime this weekend.
Steven Zahm
Keymaster@ Sowmya
See this excellent blog post for ways to increase the memory allocated to PHP. Which method will work for you is dependant on your webhost. I suggest starting at the top and making your way down. A setting of
128Mshould be more than sufficient.Steven Zahm
Keymaster@ Philip
Please update Connections to resolve the issue. Version 0.7.9 released in mid September contained the fix.
Steven Zahm
Keymaster@ Steve
There’s only one reason that would happen. The theme or another plugin is not limiting its CSS to is own admin pages and that CSS must contain a declaration to float right inputs which is overriding the core WordPress styles. Without access to the admin I couldn’t tell you which plugin or if it’s the theme that is causing this.
Best suggestion I can give is deactivate plugins one at a time checking after each deactivation to see it it resolved.
Steven Zahm
Keymaster@ Joost
In that case it can only be changed via a filter. Drop the following in the theme’s functions.php file:
add_filter( 'cn_output_default_atts_address', 'joost_change_address_format' ); function joost_change_address_format( $atts ) { $atts['format'] = '%label% %line1% %line2% %line3% %zipcode% %city% %state% %country%'; return $atts; }-
This reply was modified 12 years, 10 months ago by
Steven Zahm.
Steven Zahm
Keymaster@ Karelle
The only way to do that is to edit the template.
You need to edit the
card.phpfile found here:
../wp-content/plugins/excerpt-plus/Look for this line”
echo '<div class="cn-excerpt" id="cn-excerpt-' , $uuid , '">';Change it to this:
echo '<div class="cn-hide" id="cn-excerpt-' , $uuid , '">';Look for this line:
echo '<div class="cn-detail cn-hide" id="cn-detail-' , $uuid , '">';Change it to this:
echo '<div class="cn-detail" id="cn-detail-' , $uuid , '">';If I read my own code correctly, that should do it.
Steven Zahm
Keymaster@ trmash
Try this:
cnURL::permalink( array( 'type' => 'name', 'slug' => $entry->getSlug(), 'title' => $entry->getName(), 'text' => 'CUSTOM TEXT HERE!', 'return' => TRUE, // TRUE to return; FALSE to echo. )Hope that helps!
Steven Zahm
Keymaster@ Stephanie
That’s a bug that was fixed in version 0.7.6.5 released back in April, you’ll need to update.
If you you do update, you will also need to update cMap since you are using it on the same page multiple times. The reason is the template API has been extensively overhauled. I did maintain nearly 100% backward compatibility with the older version of cMap, but using it on the same page multiple times did break.
The update to cMap is free and can be downloaded from you Purchase History. Please follow the update/installation instructions carefully as the method used to install templates has changed.
You can use CSS to hide the no results message.
I hope that helps!
-
This reply was modified 12 years, 10 months ago by
-
AuthorPosts
