Keyword

K2 tools Archive redirects to homepage. How to fix?

  • Michael
  • Michael's Avatar Topic Author
  • Offline
  • New Member
More
4 years 6 months ago #173185 by Michael
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.

More
4 years 6 months ago #173209 by JoomlaWorks
Replied by JoomlaWorks on 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?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Michael
  • Michael's Avatar Topic Author
  • Offline
  • New Member
More
4 years 6 months ago #173214 by Michael
Hi, Fotis.

c-eho.info/

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

ibb.co/fH52Qcx

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

More
4 years 6 months ago #173218 by JoomlaWorks
Replied by JoomlaWorks on 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum