- Posts: 10
COMMUNITY FORUM
K2 tools Archive redirects to homepage. How to fix?
- Michael
- Topic Author
- Offline
- New Member
Less
More
5 years 2 months ago #173185
by Michael
K2 tools Archive redirects to homepage. How to fix? was created 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
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 1 month ago #173209
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
5 years 1 month ago #173214
by Michael
Replied by Michael on topic K2 tools Archive redirects to homepage. How to fix?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 1 month ago #173218
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.