Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ David
Please try updating to the just released 8.15 version. That should correct the issue in the previous release. Let me know.
Apologies for the trouble!
03/23/2018 at 4:42 pm in reply to: Verification on Logo auto-generation for front-end directory & admin #456551Steven Zahm
Keymaster@ Randy
The data is
json_encoded()faster for PHP to do and less prone to being broken. To decode, you can usenFormatting::maybeJSONdecode( $value )where$valueis the data from the options column.Hope that helps!
ps. if you have old data, those might still be serialized. So it would be safer to do this:
$options = maybe_unserialize( $value ); $options = cnFormatting::maybeJSONdecode( $options );That way if
$valueis serialized it will be unserialized. ThecnFormatting::maybeJSONdecode()will simply pass the data back unaltered if the value is not json encoded. It’ll only take action if the value was json encoded. Hope that make sense!Steven Zahm
Keymaster@ Daniel
Create a new page. The name is not important but should be relevant. Let’s call the page “Business”. In the “Business” page content, add the
[connections]shortcode with no options. After you save the page. Look in the browser’s address bar. Note the post ID that WordPress assigns the page.Now, edit the original page and add the home_id shortcode option to the shortcode. Setting the value to the new “Business” page post ID.
I took a deeper look at your site and I see you’ve split up the directory across many pages. You’ll want to alter each of those other pages accordingly adding the home_id option setting its value to the “Business” page. Your site reminds me of this site:
https://www.aroundhermitage.com.au/
The Taste, Play, Stay pages are all mostly powered by Connections. This site makes use of a free custom plugin which can be used to set each individual entry directory home page:
https://github.com/Connections-Business-Directory/Entry-Homepage
It could be worthwhile for you to install this addon and edit each entry, setting the directory home page to the correct page on your site. I realize this will be extra work, but with your setup, I think it will be worthwhile.
Hope this helps!
Steven Zahm
Keymaster@ Todd
Sorry, no, the CSV Import can not import families.
Steven Zahm
Keymaster@ Janet
Opps, I had a copy/paste error, try this instead:
[connections image=none image_fallback='none' str_note_head='Civic Address']I also added the bit to change the Notes header. If you are wondering where I’m getting these settings for Slim Plus, they are found on the doc page for Slim Plus.
Hope this helps!
Steven Zahm
KeymasterOk, great! I’m going to mark this as resolved for now.
Please open a new thread if you need further help on this issue. Thanks!
03/23/2018 at 10:28 am in reply to: Verification on Logo auto-generation for front-end directory & admin #456493Steven Zahm
Keymaster@ Randy
RE: I programmatically put an image in a member’s image directory at …/uploads/connections-images/member_slug
Please do share, I would love to see what you are doing!
RE: wanted to verify that you are doing #1 & #2 above before I assume I only need to load an image in the connections-images section
I’m guessing that your scripts are properly populating the entry’s options column with the photo/logo image metadata. Correct? If that is the case, yes, Connections will automagically creates the images it needs on demand.
Hope that helps!
Steven Zahm
Keymaster@ Ratika
You items will continue to function and no data loss will occur when the licenses expire. What will stop is you will no longer receive updates which is considered support.
Hope that helps!
Steven Zahm
Keymaster@ Tim
Take a look at your Google Webmasters Console for errors. Ensure the Business Directory page is being indexed (and exists in your sitemap if you are using one).
Also, there is a fatal microformats error on your directory page:
Scroll down to line
367. You’ll notice the redXin the margin. Remove thehcardtext from the classes and then click the play button toward the button center of the page. That will rerun the test with that change.You will find that Google will now find all 11 hCards for the businesses instead of just the one. This is because hCard can not be a child of a hEntry. The theme is probably adding the hEntry class tag. You’ll have to correct that so Google can properly parse the business info to add to its search index for your site. As for the hCard warnings and errors for each business hCard, you can safely ignore those. The important bit is that Google is able to actually parse the hCards to begin with.
Hope that helps!
Steven Zahm
Keymaster@ Lara
RE: On the second point, just to clarify I mean can I make the logo image open to the subpage?
Yes, I did understand. This would require editing the template files. Basically this image logic would have to be customized to ignore the assigned link and use the entry’s permalink instead.
RE: When you click a directory entry title it reloads the page, but all that extra text is up top still. Is there a way to turn that off?
This is expected as you never leave the page where you inserted the shortcode. You can accomplish what you want with a more complex setup.
Create a new page. The name is not important but should be relevant. Let’s call the page “Business”. In the “Business” page content, add the
[connections]shortcode with no options. After you save the page. Look in the browser’s address bar. Note the post ID that WordPress assigns the page.Now, edit the original page and add the home_id shortcode option to the shortcode. Setting the value to the new “Business” page post ID.
I took a deeper look at your site and I see you’ve split up the directory across many pages. You’ll want to alter each of those other pages accordingly adding the home_id option setting its value to the “Business” page. Your site reminds me of this site:
https://www.aroundhermitage.com.au/
The Taste, Play, Stay pages are all mostly powered by Connections. This site makes use of a free custom plugin which can be used to set each individual entry directory home page:
https://github.com/Connections-Business-Directory/Entry-Homepage
It could be worthwhile for you to install this addon and edit each entry, setting the directory home page to the correct page on your site. I realize this will be extra work, but with your setup, I think it will be worthwhile.
Hope this helps!
-
AuthorPosts
