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.
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.
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, 5 months ago by Steven Zahm.
10/01/2015 at 9:34 pm #349120
Here’s the article, let me know if you have any questions.
http://connections-pro.com/2015/10/01/quicktip-custom-field-redirect-on-category-select/10/05/2015 at 2:49 pm #349447
It appears that my redirects are no longer working despite the snippet being activated. All Parent and Child Categories are showing in the category drop down box. I have only been editing the category pages and nothing else. Can you check this out to determine what happened? My main directory page is http://www.b-seatednow.com/?page_id=2797
Thanks,10/05/2015 at 3:00 pm #349449
My cmap.php file contains the desired categories as shown below:
$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(16,4,2,31,42,411,32,29,33,3,21,105,41,18,19,20,95,17,246,22,262,1),
So I am not sure why my entire category list is showing.10/05/2015 at 3:14 pm #349452
I just visited the site… all the redirects seems to be working just fine.10/05/2015 at 3:17 pm #349453
In the category drop down box only categories 16,4,2,31,42,411,32,29,33,3,21,105,41,18,19,20,95,17,246,22,262,1 should be showing. that is not the case. All of the categories and their children are showing. Then upon selection they redirect. I have checked my cmap.php file as I indicated above and have only the desired categories listed. What am I missing?10/05/2015 at 3:19 pm #349454
The connections code on the main Database Listings page is
[connections str_bio_show='' str_note_show='More Details' str_note_head='' str_select_all='']
I do not believe I need to add the selected categories to that page since I made the selection in the cmap.php file. Is this correct?10/05/2015 at 3:26 pm #349459
For example, on the main directory page http://www.b-seatednow.com/?page_id=2797 only Academia, Government, Federal, Advisory Boards, Agencies, etc. should be showing not the children – Colleges, Universities, Executive Office etc.
This is the problem I was trying to resolve initially by the custom redirects. Un-clutter the drop down box and redirect only specific pages. Has there been some update that impacts the cmap.php file or something else that has changed?10/05/2015 at 3:39 pm #349462
Oh… so the redirection happens just like it should (which is what I am seeing).
The is is actually the drop down on the main directory is not showing the correct categories, correct? When I visit the
cmap.phpfile, this is not there:
'include' => array(16,4,2,31,42,411,32,29,33,3,21,105,41,18,19,20,95,17,246,22,262,1),
I can not remember which version you had of cMap, but if you just updated it to the new version 5.0 you would have lost any changes you made to the
cmap.phpfile. This is not an issue with Connections or cMap, this is how WordPRess processes plugin updates, the old files are deleted and the new ones copied it their place.
If you had that
includeline for the category drop down options, you are going to have to add it again.
Wait… I see, you create multiple version of the
cmap.phpfile. You can’t do that. Remove the
cmap3.phpfiles. Put them in a backup folder or something. Leave only the
cmap.phpfile. You’ll like have to reactivate the template afterwards.10/05/2015 at 3:55 pm #349486
You are correct with your assessment of the problem. I did update to 5.0 and moved the cmap1.php and cmap3.php files to a backup folder. I also updated my connections to 8.4 and reactivated my cmap template. All your suggestions fixed the problem.
Many thanks!10/05/2015 at 4:17 pm #349488
Great to hear it’s sorted!
You cannot reply to this support topic. Please open your own support topic.