Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Harold
re: I want to change Title to Job Title.
See this QuickTip. YOu can use this method to change the label for the Title field.
re: And also I want to add a text when Uploading an the image like.
The only way to insert text here would be to edit the dore PHP files of Connections. Also, be aware that you would have to make the same change after each Connections update. I can point you to file file and location if you are comfortable making PHP edits. Let me know.
Hope this answers your questions thoroughly!
Steven Zahm
Keymaster@ Kelly
The license you purchased is for a single site. YOu can renew your license and upgrade to a multi site license if you need.
Hope that answers your question.
Steven Zahm
Keymaster@ Claude
re: but it raise the question of putting php in the upload directory.
I suppose that does raise a good point. I can not remove this path because it’ll break templates for everyone who is using a custom template override file.
What I can do is add an additional path to look for a
connections-templates/{template-slug}/folder as a higher priority. I’ll be releasing version 8.5.15 shortly which contains this added path. So you should be able to simply move the folder down one level out of the uploads folder and it should just work. I did not actually test it since this is a relatively simple change. If you move it and it does not work, let me know, then I’ll test it.Hope that helps!
ps. The uploads was only one of the folders you could use, you can also put it in the active theme’s folder. I’ve already made the doc change to state to put the folder within the wp-content instead of the uploads folder.
Steven Zahm
Keymaster@ Matthew
The only way to do this will be to edit the
card.phpfile for the template which can be found in this folder:
../wp-content/plugins/connections-gridder/Move these lines to between lines 55 and 56.
<div class="cn-gridder-contact"> <?php $number = $entry->getPhoneNumberBlock( array( 'preferred' => TRUE, 'format' => '%number%', 'return' => TRUE ) ); if ( $number ) { echo $number; } else { $entry->getPhoneNumberBlock( array( 'format' => '%number%', 'limit' => 1 ) ); } $email = $entry->getEmailAddressBlock( array( 'preferred' => TRUE, 'format' => '%address%', 'return' => TRUE ) ); if ( $email ) { echo $email; } else { $entry->getEmailAddressBlock( array( 'format' => '%address%', 'limit' => 1 ) ); } ?> <?php if ( $atts['show_social_media'] ) $entry->getSocialMediaBlock(); ?> </div>You will very likely also have to add CSS to make them show as the font size will likely default to 0.
This will not stop the panel from loading onclick however. Deleting the code for the panel in the
card.phpwill likely stop it from showing.None of this is tested, so you know, but should get you started.
Hope this helps!
Steven Zahm
Keymaster@ Leslie
re: Is there a way to customize the template, or use a different template that would make this work?
Not exactly. The premium templates do provide your visitors a way to filter by category.
re: I’m familiar enough with css and php
Change this line to this:
'<a href="' . cnTerm::permalink( $category->term_id, 'category' ) . '">' . esc_html( $category->name ) . '</a>';That should do it… I think, untested.
re: On the second issue — haha! Sorry, didn’t realize the http:// had been added when I imported the csv.
Yes, presently, CSV Import uses the URL to set the URL as the title text. Well, actually core Connections does this because it needs a value, so it’ll default to the URL if no title is added. The next update to CSV Import allows the importing the title too.
Hope that helps, let me know.
Steven Zahm
Keymaster@ Tim
Apologies, seems I missed a line. Open the same file and on line 10 you should find this:
cnGridderWidth();Change it to this:
//cnGridderWidth();Just like you did for the instance found on line 15.
NOTE: you will very likely have to force refresh your browser in order for the newly edited version of the file to be downloaded otherwise the browser will use the old cached version of the file.
Hoe that helps!
Steven Zahm
Keymaster@ Joe
Great to hear!
Steven Zahm
Keymaster@ paul
There is not a renewal field. You could possible use the Data field and set the type to an Anniversary. You would not get notification, but on the Connections : Dashboard admin page there is a widget which displays updating anniversaries. Perhaps that would work???
Steven Zahm
Keymaster@ Claude
re: Maybe it was injected with something.
That would make sense. If you were infected, I’ve seen sites have many files injected with code. I had to clean my church’s site once after it was infected, not fun because it kept coming back because I guess I missed a file. I ended up just replacing every file on the site with original copies and it’s been fine since. I personally think the attack vector (no proof, just hunch) was Ninja Forms. I only think that because I seem to remember them having a security related update and I do not think I updated the church’s site.
Any way…
re: I’ll keep you updated.
Yes, please do. Thanks!
Steven Zahm
Keymaster@ Claude
It does not appear that the support license key for the Widget Pack has been activated on the site.
Navigate to the Connections : Settings admin page and click the Licenses tab. Copy/paste your support license key for the WidGet Pack and and click the Activate button. After you do this, you should be able to update.
Hope that helps!
-
AuthorPosts
