Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 69 replies, 4 voices, and was last updated 7 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
07/31/2015 at 12:02 pm #341774
Steven Zahm
Keymaster@ Bryan
re: Using Link they see the custom fields and the user has to use the Dashboard, not a good solution.
Since you are using Form to allow frontend editing… use an admin blocker plugin to disallow your users access to the admin.
re: The user disappears from the Family and does not return after approval of the Form edits. Is that the way they are suppose to work?
If you require moderation, yes, the entry will not appear until the admin approves the entry again. This very closely matches how WP handles draft pages, they will not show up in the nav until published. Connections attempts to match WP functionality as close as possible in order to provide a familiar comfortable feel to its useage.
As for not reappearing… is the page that shows the families being cached? If it is, you’ll have to purge it from the page cache after you approve entries in moderation.
08/12/2015 at 3:45 pm #342879reyes
ParticipantI have followed this thread and want to ensure that I understand the resolution. I want to show only the Parent in my root directory. To do this I have to edit the wp-content/plugins/connections-cmap/cmap.php file to insert
‘include’ => array(2,3),
Where the numbers will be the category ID/s.
And the entire block of code should look like this after the edit:
$atts = array( ‘default’ => self::$atts[‘str_select’], ‘select_all’ => self::$atts[‘str_select_all’], ‘type’ => self::$atts[‘enable_category_multi_select’] ? ‘multiselect’ : ‘select’, ‘group’ => self::$atts[‘enable_category_group_by_parent’], ‘show_count’ => self::$atts[‘show_category_count’], ‘show_empty’ => self::$atts[‘show_empty_categories’], ‘parent_id’ => self::$atts[‘enable_category_by_root_parent’] ? self::$atts[‘category’] : array(), ‘exclude’ => self::$atts[‘exclude_category’], ‘include’ => array(2,3), );
Subsequently, I would have to make a page for each Parent to access the Child categories, correct? Is this the only way to only show the Parent and not the Child categories? What if I only want to show the Parent and Child but not the sub_Child? For example, Federal (parent) Agency (child) Cyber (sub-child) What shortcode would I use?
08/12/2015 at 4:49 pm #342881Steven Zahm
Keymaster@ reyes
re: Is this the only way to only show the Parent and not the Child categories?
Yes, the
include
parameter will limit the drop down to only the categories listed (by ID). This will not affect the actual entries shown. You still would use the category shortcode option for that. I mention that in case it is relevant to what you want to do.re: What if I only want to show the Parent and Child but not the sub_Child? For example, Federal (parent) Agency (child) Cyber (sub-child) What shortcode would I use?
You would use the
depth
parameter, setting it to3
, like so:$atts = array( 'default' => self::$atts['str_select'], 'select_all' => self::$atts['str_select_all'], 'type' => self::$atts['enable_category_multi_select'] ? 'multiselect' : 'select', 'group' => self::$atts['enable_category_group_by_parent'], 'show_count' => self::$atts['show_category_count'], 'show_empty' => self::$atts['show_empty_categories'], 'parent_id' => self::$atts['enable_category_by_root_parent'] ? self::$atts['category'] : array(), 'exclude' => self::$atts['exclude_category'], 'depth' => 3, );
Again, this will only affect the drop down, not the entries listed. Also, you can not use this together with the
include
parameter because when you useinclude
you are “cherry picking” select categories from the hierarchy so thedepth
will not apply.Hope that answers your questions.
08/12/2015 at 5:01 pm #342882reyes
ParticipantI understand but where do I add the category short code option?
[connections category='2,12,5' enable_category_by_root_parent=true]
Do I have to generate a a new page for each Parent category and add it to those pages or do I simply add the short code option to my main directory homepage?
08/12/2015 at 5:39 pm #342884Steven Zahm
Keymaster@ reyes
Yes, you would add a new page and add a new instance of the shortcode. This is how many others create multiple directories using Connections on their site.
08/12/2015 at 5:41 pm #342885Steven Zahm
Keymaster@ reyes
Oh, I should mention… if you edit the template files as described above, those changes will be universal across all instances of the shortcode where the cMap template is being used.
09/08/2015 at 5:28 pm #346040reyes
ParticipantSteven,
I have been trying to resolve this problem on my own but I’m now stumped.
I edited my ../wp-content/plugins/connections-cmap/ as suggested early in this thread to display only selected categories in my main directory listing drop down box. I then drafted new pages for each category that includes shortcodes, such as [connections category='2,12,5' enable_category_by_root_parent=true], on each category page. I also made the parent to these new category pages my main directory listing page.
However, when I select a category from my main directory listing drop down box it goes to a subcategory page, e.g. “Database Listings/Academia” (a page I did not create). In fact the drop down box category listings remains the same as my main directory drop down box on this subcategory page. It does not go to my new “Academia” page with the shortcode that shows the appropriate drop down categories as specified by the shortcode. I’m not even sure how to get to my new Academia page from the main directory listing page. What am I doing wrong? Thanks.
09/09/2015 at 10:07 am #346126Steven Zahm
Keymaster@ reyes
Ok, I’ve re-read this a few times… let just start over at the beginning…
First, restore cMap to its original code.
Second, please share links to the various pages on your site where you are using Connections. Also, let me know the exact shortcode you are using on each page.
Third, create a screenshot of each page and annotate which categories should be shown/not shown with a description of the expectation of what should happen when you select a category and when you click on an entry name.
This will help me fully understand what you’re attempting to do.
09/09/2015 at 3:21 pm #346188reyes
Participant09/09/2015 at 3:32 pm #346192reyes
ParticipantSteven,
I am having problems replying to your message. I cannot attach a file or write more than a few lines in this text box. How do I get you the information you requested otherwise?
Thanks.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.