- Posts: 71
- Thank you received: 1
Kunena 6.1.3.2 Released
The Kunena team has announce the arrival of Kunena 6.1.3.2 [K 6.1.3] which is now available for download as a native Joomla extension for J! 4.2.x/4.3.x. This version addresses most of the issues that were discovered in K 6.1.0 and issues discovered during the last development stages of K 6.1
Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the
download
page.
If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.
If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.
Question Menu item pointing to a category uses the alias and not the URL I expect
3 years 10 months ago #1
by shoulders
Hi,
Setup
I created the support link with the following details:
If I navigate from quantumwarp.com/forum to the QWcrm category the URL is also quantumwarp.com/support . It is like this menu item is overriding Kunena rather than inheriting URL structure.
Is the new menu item overriding Kunena?
Is this expected behaviour or is there an issue?
Joomla: 3.9.13
Kunena: 5.1.15
Thanks as always
Setup
- I have a forum at quantumwarp.com/forum and within this I have several categories for my various projects.
- Each of my projects have their own page (joomla article) and on that page I have a menu module with various links. One of them is a support link and I want this to point to the relevant category in the forum. As an example I am using quantumwarp.com/projects/qwcrm
- I currently have a standard Kunena menu setup as per the instructions
I created the support link with the following details:
- menu type: Kunena/Show Category
- alias: support
- category ID: QWcrm
If I navigate from quantumwarp.com/forum to the QWcrm category the URL is also quantumwarp.com/support . It is like this menu item is overriding Kunena rather than inheriting URL structure.
- The menu ID of 'forum' is 736
- The menu Id of 'Support' is 1113
Is the new menu item overriding Kunena?
Is this expected behaviour or is there an issue?
Joomla: 3.9.13
Kunena: 5.1.15
Thanks as always
Please Log in or Create an account to join the conversation.
3 years 10 months ago #2
by rich
1. The correct address would be websiteaddress.com/forum/support not websiteaddress.com/support
2. The Alias for the website address and the Menu Item Alias are two different things.
Move the Menu item "menu type: Kunena/Show Category" from the Projects menu to the Kunena menu. Choose as param item "Forum".
Now you have a new tab named QWcrm. You can hide this tab in the menu setting "Link Type -> tab Display in Menu".
Now create in the menu Projects a menu item to the category (Menu Item Type -> System Links -> Menu item Alias ) and select the new Kunena menu item. You can use the same name QWcrm for this menu and it's no matter what you enter in the field Alias. It goes always to the target /forum/support
Replied by rich on topic Menu item pointing to a category uses the alias and not the URL I expect
Yes, it's this expected behaviour if you the menu items not correct creates.Is this expected behaviour or is there an issue?
1. The correct address would be websiteaddress.com/forum/support not websiteaddress.com/support
2. The Alias for the website address and the Menu Item Alias are two different things.
Move the Menu item "menu type: Kunena/Show Category" from the Projects menu to the Kunena menu. Choose as param item "Forum".
Now you have a new tab named QWcrm. You can hide this tab in the menu setting "Link Type -> tab Display in Menu".
Now create in the menu Projects a menu item to the category (Menu Item Type -> System Links -> Menu item Alias ) and select the new Kunena menu item. You can use the same name QWcrm for this menu and it's no matter what you enter in the field Alias. It goes always to the target /forum/support
Please Log in or Create an account to join the conversation.
3 years 10 months ago - 3 years 10 months ago #3
by shoulders
Replied by shoulders on topic Menu item pointing to a category uses the alias and not the URL I expect
thanks for the info
Using menu aliases is not really a great solution. It has problems associated with it, like the extra level of management you need to do if you rename a category.
Will this be fixed in Kunena 6 so it has a proper router? These additional menu items should be able to use the forum 'parent' menu item to build the correct URL. i.e. set the forum parent and then all items will be children of it. This would prevent the need for using menu alias for displaying a category etc..
You could create a new menu typer called 'Forum Parent' or 'Forum Base'. Akkeeba release system uses this method.
NB: Aliases are not required. I will post my solution here shortly and this might be easily fixed/improved in kunena menu items.
Using menu aliases is not really a great solution. It has problems associated with it, like the extra level of management you need to do if you rename a category.
Will this be fixed in Kunena 6 so it has a proper router? These additional menu items should be able to use the forum 'parent' menu item to build the correct URL. i.e. set the forum parent and then all items will be children of it. This would prevent the need for using menu alias for displaying a category etc..
You could create a new menu typer called 'Forum Parent' or 'Forum Base'. Akkeeba release system uses this method.
NB: Aliases are not required. I will post my solution here shortly and this might be easily fixed/improved in kunena menu items.
Last edit: 3 years 10 months ago by shoulders. Reason: solution found
Please Log in or Create an account to join the conversation.
3 years 9 months ago - 3 years 9 months ago #4
by shoulders
Replied by shoulders on topic Menu item pointing to a category uses the alias and not the URL I expect
How to Create menu Items without aliases
NB: This assumes you have Kunena and it's menu setup as recommended.
Can Kunena Menu Items be fixed/Upgraded
Because I know I can manually create these menu items that respect my forum structure it should be relatively easy for the Kunena Team to upgrade/fix the menu items.
Requirements:
Your thoughts
NB: This assumes you have Kunena and it's menu setup as recommended.
- Disable Joomla SEF in Global Configuration
- On the front end browse to the category (or item) you want a link for
- In the address bar copy the URL, but only index.php onwards e.g.
Code:index.php?option=com_kunena&catid=5&view=category&defaultmenu=736&layout=default&Itemid=736
- Go back to the Joomla admin and create a new menu item of type: System Links / URL
- Fill in the link box with the URL you saved above
- Give the menu a title. The alias will be filled in automatical and lgnored.
- Turn Joomla SEF back on
- Done
Can Kunena Menu Items be fixed/Upgraded
Because I know I can manually create these menu items that respect my forum structure it should be relatively easy for the Kunena Team to upgrade/fix the menu items.
Requirements:
- There needs to be a base forum menu item that is mandatory (Akeeba Release System does this). This can be the parent item in the Kunena menu. There seems to be references to it at places with the variable defaultmenu=736
- If the menu items then have the variable of Itemid=736 added then they seems to be routed as if they were a child of the forum parent item.
Your thoughts
Last edit: 3 years 9 months ago by shoulders.
Please Log in or Create an account to join the conversation.
3 years 9 months ago #5
by shoulders
Replied by shoulders on topic Menu item pointing to a category uses the alias and not the URL I expect
posted an issue on github
github.com/Kunena/Kunena-Forum/issues/6602
Please Log in or Create an account to join the conversation.
Time to create page: 0.295 seconds