remove "name"-link userlist

12 years 4 months ago - 12 years 4 months ago #188191 by PHPMB
Replied by PHPMB on topic Re: remove "name"-link userlist
I have made a new test website in Joomla 2.5.
I have got the same problem with Joomla SEF as mentioned below.

I would like to have menu (tree) with users lists on the left side of the page.
- Country1
-- State1
-- State2
-- State3
-- etc.
- Country 2
etc.

Have done this by menu item type: External URL.

- Country1 External URL = index.php?option=com_comprofiler&task=usersList&listid=6
-- State1 External URL = index.php?option=com_comprofiler&task=usersList&listid=10
-- State2 External URL = index.php?option=com_comprofiler&task=usersList&listid=11
-- State3 External URL = index.php?option=com_comprofiler&task=usersList&listid=13
-- etc.
- Country2 External URL = index.php?option=com_comprofiler&task=usersList&listid=8
etc.

This works fine until I enable Search Engine Friendly URLs.
Then I don't get any submenu items any more when I click on a menu item.

How can I solve this?

What I like to have is the dropdown user lists(on the right) as a menu on the left.

Please Log in to join the conversation.

12 years 4 months ago #188254 by krileon
Replied by krileon on topic Re: remove "name"-link userlist
Joomla 1.6+ doesn't like Itemids for external menu links. So when you enable SEF it will immediately strip those Itemids. The only solution is to run a database query and force an internal menu link so you can assign modules or so menu highlighting for example can be used. Please see below example query.
INSERT INTO `jos_menu` ( `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `ordering`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id` ) VALUES ( 'MENUTYPE_HERE', 'TITLE_HERE', 'ALIAS_HERE', '', 'ALIAS_HERE', 'index.php?option=com_comprofiler&task=userslist&listid=LIST_ID_HERE', 'component', 1, 1, 1, COMPONENT_ID_HERE, 0, 0, '0000-00-00 00:00:00', 0, 1, '', 0, '{"menu-anchor_title":"","menu-anchor_css":"","menu_image":"","menu_text":1,"page_title":"","show_page_heading":0,"page_heading":"","pageclass_sfx":"","menu-meta_description":"","menu-meta_keywords":"","robots":"","secure":0}', 297, 298, 0, '*', 0 );

The above has a lot of replacements that would need taken care of such as menu type, title, alias, list id, and component id. However, it will give you an Internal menu link where Itemid can then be used while SEF is enabled. With CB 2.0 we'll be fixing the menu creation issues on J1.6+.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 4 months ago #188257 by PHPMB
Replied by PHPMB on topic Re: remove "name"-link userlist
Thanks.
When is CB 2.0 expected?
I have to build some other websites.
When it's released soon, I'll build the other ones first.

Please Log in to join the conversation.

12 years 4 months ago #188264 by krileon
Replied by krileon on topic Re: remove "name"-link userlist

When is CB 2.0 expected?

This year.

I have to build some other websites.
When it's released soon, I'll build the other ones first.

You can use the above workaround for the time being. I certainly wouldn't delay sites for CB 2.0s sake as we don't have a release date or even an expected release date. Our plans thus far are to simply release something by end of this year.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.171 seconds

Facebook Twitter LinkedIn