Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Patrick
RE: I found that you need to use __ FILE __ instead of FILE. The __ was probably remove from your last Reply #431596.
Odd it does seem the forum is “eating” the double underscore. I did not notice since I was copy pasting the code from my dev environment. They are very important because __ FILE __ is a magic.
RE: Now it looks like I can open the customizer, but it’s not displaying the entry with the “my1card” template, instead it shows the “names” template.
Make sure the active template is your custom template on the Connections : Templates admin page for
All,IndividualandOrganization.Make sure you are using only the
[connections]shortcode with no options, especially thetemplateorlist_typeoptions.Ensure the Directory Home Page setting is set to the page which contains the
[connections]Make sure you have the Single Entry Template option disabled on the Connections : Settings admin page under the Display tab.
Deactivate all other plugins except Connections and your custom template.
Use a default WP theme such as TwentySeventeen.
Remove from the
pluginsfolder or from any instances of theconnections-templatesfolder any custom template or custom template override files you may have created.Most of this is unnecessary but should limit possible sources of the issue.
RE: Is there generally an issue with the template path?
Nope, I create custom templates all the time, most of which are based on the Card template or one of the other premium template such as cMap. To start my process is to make a copy in the
pluginsfolder with a unique folder name. Open the main template file, change the class name, the template slug and name and then update the file names for the main template file, CSS and JS files. I then begin work on whatever the changes are being requested.I know others have created their own custom templates, usually based on cMap, none have expressed these difficulties. So I do not know if it just worked for them as it should or if they had to tinker a little.
Steven Zahm
Keymaster@ Trevor
It is possible, but only thru the use of a WordPress filter which hooks in the the
cn_output_email_addressand using PHP to construct the email the way you want.Not sure if that helps or not, but hope it does, let me know.
Steven Zahm
Keymaster@ Darrin
RE: Fix Accessibility Issues
I correct the missing field label for the search input and corrected the empty button. I also updated the Chosen library. Hopefully this helps to clear up a few of those errors and alerts.
I’m assuming the duplicate text alerts are of no big deal. I could make them different but not in any way which would be meaningful to a11y.
Steven Zahm
Keymaster@ Zac
RE: if we are wanting to reference the directory profiles in a systematic way, how do we do that?
I’m sorry, but I do not know what you are asking? Could you give a bit more context/details.
Steven Zahm
Keymaster@ Darrin
RE: Sticky/Top Listing
You could do this using the Custom Entry Order extension. With this you could edit the entry you want at the top, set the Order to
1and leave the others as is. That entry will not be at the top of the list.RE: Custom Titles for Search Tools
This can be done with custom CSS and perhaps some custom code snippets for cMap. That way the change would be update safe.
RE: Fix Accessibility Issues
I can correct the “Search Directory” field label. I might be able to do empty button. That is the button that has the magnify glass image for search. NOt sure I can have both an image and text. I’ll investigate and fix if possible.
The two remaining missing field labels I will not be able to do anything about. Those for the enhanced select category dropdown. It is created using a third party library. Looks like there has been a lot of requests for better support, but not much forward movement.
I do see I do need to update this library to the latest release. I’ll do that today, perhaps it just might have corrected those two missing form labels.
RE: URL Editing
I do get this request once or twice a year. It is on my todo list but it does fall near the bottom. What I suggest, rather than creating a new entry, use the
Copyaction instead. Change the last name and save. You can then delete the original. Admittedly it is a bit rube goldberg, but is a lot quicker than creating a new entry from scratch.Steven Zahm
Keymaster@ Donnie
Are the image you are importing, are they local or from another site? It’s possible is pulling from another server, PHP times out and stops processing. My best guess considering it occurs randomly. Can you please send me a copy of your CSV file? Also, can you give me an admin login and a screenshot of the mapping you are using so I can replicate and debug? The details can be posted here as a private reply.
Steven Zahm
Keymaster@ Zac
RE; Do you have any thoughts on how to solve this issue?
This is actually not an issue. Connections does not use a custom post type (CPT) for performance and scalability reasons. The database schema is designed to be optimized for directory info. CPT use the same tables as WP uses for posts/pages and are optimized for that type of content. This allows me to do things with Connections which would be very difficult and inefficient to do with CPT’s.
Hope my answer explains it well and is not confusing.
Steven Zahm
Keymaster@ Katie
Looking at the page, it appears you have entered some malformed HTML in the page content. For example, I see a open
<p>and<em>started before the shortcode. This is causing the browser to attempt to fix it, but is doing so incorrectly which is breaking the links.What you’ll need to do is edit the page and switch the editor to the text tab. Remove any HTML tag from within and around the
[connections]shortcode. Additionally, you’ll have to make sure all tags are properly open and closed.Hope this helps, let me know.
08/10/2017 at 11:12 am in reply to: Allow members to add private address, but not view private address of others #431937Steven Zahm
Keymaster@ Matthew
Using Form, sorry, no. not at this time. However, if the user selects the “Edit My Directory Entry” from the user profile dropdown menu in the upper right of the admin bar, the user can choose to set their entry private or unlisted.
Hope this helps!
Steven Zahm
Keymaster -
AuthorPosts
