Keyword

K2 tools Archive redirects to homepage. How to fix?

  • Michael
  • Michael's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 6 days ago #173185 by Michael
Michael created the topic: K2 tools Archive redirects to homepage. How to fix?
There's a topic with the same theme: www.joomlaworks.net/forum/k2-en/36125-k2-tools-archive-redirects-to-homepage,-how-to-fix

But the advice from there did not help me. It's been five years.

Does anyone have any idea what else to do?

Joomla! 3.9.11 & K2 2.9.0

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 3 days ago #173209 by Fotis
Fotis replied the topic: K2 tools Archive redirects to homepage. How to fix?
What's the URL to your site and more specifically the page with K2 Tools (Archive) module on?

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Michael
  • Michael's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 3 days ago #173214 by Michael
Michael replied the topic: K2 tools Archive redirects to homepage. How to fix?
Hi, Fotis.

c-eho.info/

Right column, last module named "+ Архивы"

ibb.co/fH52Qcx

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 2 days ago #173218 by Fotis
Fotis replied the topic: K2 tools Archive redirects to homepage. How to fix?
I think you're missing <jdoc:include type="component" /> from your template's index.php file, that's why it appears as though nothing happens. If you do have it, then there must be a check that detects if the current menu item is the homepage and if so, it disables loading <jdoc:include type="component" />. In that case, when you click a link in the K2 Tools module, because these links don't have a menu item assigned to them, Joomla simply re-uses the homepage menu item ID. In which cases it's like you're reloading your frontpage. To bypass that, simply create a menu item in a hidden Joomla menu (=a menu that does not necessarily show up in the frontend of your site) that points to all K2 categories and use a generic menu item alias like "content". This way, provided you're not missing the <jdoc:include type="component" /> tag in your template's index.php file, K2 content will be loaded just fine.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum