Keyword

[SOLVED] K2 Links from Modules When SEF Enabled

  • Enes
  • Enes's Avatar Topic Author
  • Offline
  • Moderator
  • JoomlaBilgi.org
More
11 years 3 months ago #115248 by Enes
When I enabled K2 SEF, modules that applied to that page can not be displayed with that code:
urldecode(JRoute::_(K2HelperRoute::getItemRoute($item->id.':'.urlencode($item->alias), $item->catid.':'.urlencode($item->categoryalias))));
Because URL comes like that: /component/k2/..../....

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
  • Enes's Avatar Topic Author
  • Offline
  • Moderator
  • JoomlaBilgi.org
More
11 years 3 months ago #115249 by Enes
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.

we love K2...
Joomla Templates |

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 3 months ago #115250 by Krikor Boghossian
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
  • Enes's Avatar Topic Author
  • Offline
  • Moderator
  • JoomlaBilgi.org
More
11 years 3 months ago #115251 by Enes
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.

we love K2...
Joomla Templates |

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum