COMMUNITY FORUM
[SOLVED] K2 Links from Modules When SEF Enabled
- Enes
-
Topic Author
- Offline
- Moderator
- JoomlaBilgi.org
Less
More
11 years 9 months ago #115248
by Enes
we love K2...
Joomla Templates |
[SOLVED] K2 Links from Modules When SEF Enabled was created by Enes
When I enabled K2 SEF, modules that applied to that page can not be displayed with that code:Because URL comes like that: /component/k2/..../....
How to retrieve the K2 item with modules which are applied to that category's menu?
Thanks...
urldecode(JRoute::_(K2HelperRoute::getItemRoute($item->id.':'.urlencode($item->alias), $item->catid.':'.urlencode($item->categoryalias))));
How to retrieve the K2 item with modules which are applied to that category's menu?
Thanks...
we love K2...
Joomla Templates |
Please Log in or Create an account to join the conversation.
- Enes
-
Topic Author
- Offline
- Moderator
- JoomlaBilgi.org
11 years 9 months ago #115249
by Enes
we love K2...
Joomla Templates |
Replied by Enes on topic Re: K2 Links from Modules When SEF Enabled
Any response please?
Even in K2's default Content module, when you click on any item, it goes URL like /component/k2/item/TITLE
There is menu item for that item's Category.
Even in K2's default Content module, when you click on any item, it goes URL like /component/k2/item/TITLE
There is menu item for that item's Category.
we love K2...
Joomla Templates |
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 9 months ago #115250
by Krikor Boghossian
Do you mean K2's advanced SEF or Joomla!'s SEF?
Also which version of Joomla! and K2 are you using?
The default K2 Content modules uses <?php echo $item->link; ?>.
Have you checked your site with the default or the system template to make sure it is not a override issue?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: K2 Links from Modules When SEF Enabled
When I enabled K2 SEF
Do you mean K2's advanced SEF or Joomla!'s SEF?
Also which version of Joomla! and K2 are you using?
The default K2 Content modules uses <?php echo $item->link; ?>.
Have you checked your site with the default or the system template to make sure it is not a override issue?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Enes
-
Topic Author
- Offline
- Moderator
- JoomlaBilgi.org
11 years 9 months ago #115251
by Enes
we love K2...
Joomla Templates |
Replied by Enes on topic Re: K2 Links from Modules When SEF Enabled
Thank you Krikor for response...
I solved the problem.
I have a menu item (K2 Categories type) and applied the parent K2 category for that menu. So there was problem with that.
When I applied sub-categories it's solved.
I solved the problem.
I have a menu item (K2 Categories type) and applied the parent K2 category for that menu. So there was problem with that.
When I applied sub-categories it's solved.
we love K2...
Joomla Templates |
Please Log in or Create an account to join the conversation.