Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Jade
The only way to add this will be to edit the PHP files of the template. to do this you will need to edit the
card.phpfile found here:
../wp-content/plugins/connections-circled/Add this to line
35:<?php $entry->getOrgUnitBlock(); ?>If you decide to edit the file, please refer to the custom template override files tutorial on where to save this updated file so it is update safe.
Hope that helps!
Steven Zahm
Keymaster@ Greg
This does not appear to be related to the update…
It appears related to the use of Autoptimize. Visit the page with this link which will render the page not using Autoptimize.
https://solace.com/partners?ao_noptimize=1
Load the page in Chrome, hit the F12 key and click the Console tab.
There are many errors, but none jump out to me as the cause when viewing the differences between the Autoptimize page and the non-Autoptimize page.
Hope that help you track down the cause.
Steven Zahm
Keymaster@ Mike
Oh, so this relates to Form and not Link? My answer, unfortunately, remains the same.
That said…
I’m guessing that you are modifying the
submission()andemail()methods, correct? Send me a copy of your code. I’ll do a diff so I can see your changes. Perhaps I can add some actions and/or filters that you can hook into instead of altering the code.Steven Zahm
Keymaster@ Mike
Sorry, but you can not edit the Link extension as it has not template files like the Templates do. This is not a bug or limitation with Connections … that’s pretty much the way every for WordPress plugin is (unless they provide some type of method for override template files).
There’s really nothing in Link that should be overridden as it al all fairly critical code that could break the plugin if changed. What are you are trying to override, exactly?
Steven Zahm
Keymaster@ cwalt2166
You can use this:
$email = $entry->getEmailAddresses();This will retrieve all addresses as an array, so you only need to pop off the first.
You could also limit the result to 1, like this:
$email = $entry->getEmailAddresses( array( 'limit' => 1 ) );The result will still be an array, but limited to only 1 email address.
Either way to get just the address you can do this:
$email[0]->addressHope that helps!
Steven Zahm
Keymaster@ Javier
Great to hear!
If you have a moment, I would truly appreciate a review as they really do make a difference.
Many thanks in advanced!
Steven Zahm
Keymaster@ Scott
First, I recommend not displaying the login form in the Content Blocks. They can be disabled on the Connections : Settings admin page under the Display tag. Disable the Login Form option in both the Result List Content Block and the Single Entry Content Block section.
It is best instead to add the login widget to the theme’s sidebar.
This will give you a more presentable directory.
Now, while on the same settings admin page scroll to the Result List Actions section and disable the “Submit New Entry” option. You only want this enabled when you want to show the link to allow anyone to visit and submit entries to the directory. Since you only wish to have registered users submitting their entry, you do not want this to be enabled. Many users wish to have both which is why it can be turned off/on.
Make sure to follow the Link configuration instructions.
You can require login to view the form too, here is the link to the docs with the steps to enable it.
Hope that helps!
Steven Zahm
Keymaster@ Rolf
It is possible, but you would have to edit the template in order to show the categories assigned to the entry.
You can add the categories to the
card.phpfile by adding this where you want them to be displayed:$entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '<span>', 'after' => '</span>' ) );The
card.phpfile can be found in this folder:
../wp-content/plugins/connections-slim-plus/I recommend following the method in this QuickTip so you can add it in an update safe way.
Hope that helps!
Steven Zahm
Keymaster@ Axel
I’m sorry, but I do not understand.
Steven Zahm
Keymaster@ Javier
re: You said me in few emails before that I delete currently version and install the last version 8.5.27, but, I need delete 8.2.3 of my WordPress. If I do it, Will not WordPress delete all element of my directory (625 elements)?
I’ve already answers this in this reply:
https://connections-pro.com/support/topic/problem-with-a-load-time/#post-394952
In short, if you have not made any custom code changes to the Connections plugins, it is safe to deactivate and delete. Put another way, the entries will not be deleted when you delete Connections and will be there when you reinstall Connections.
I highly suggest making a backup before doing so.
-
AuthorPosts
