- Posts: 11
COMMUNITY FORUM
[Problem] K2 component / item list in item error
- Patrick
- Topic Author
- Offline
- New Member
I have a problem with a component K2 once to display the list of articles / news on the site.
I made TOP MENU to link to a specific article in K2 named "News" and in that article, this component is displayed.
www.bikebydgoszcz.pl/aktualnosci
When I enter that in any sample article
www.bikebydgoszcz.pl/aktualnosci/test-artykul-k2
As you can see above the article (headline of the article) you can see a list of articles / news
How do I turn it off to in the articles do not show it?
At the below given link. K2 component is added to an article in Joomla, not in the component K2. It's okey.
www.bikebydgoszcz.pl/team
the difference is that he changed the URL (/ somponent/k2 /)
www.bikebydgoszcz.pl/component/k2/test-artykul-k2
Attachment not found
Best regards and im waiting for quick replay.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
You need to alter your template's index.php and exclude the position in which the module renders from items.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Patrick
- Topic Author
- Offline
- New Member
- Posts: 11
Thank you for your answer. Could you explain little bit more how can i solve it ?
Should i paste here index.php my template ?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
You might have to alter a couple of files depending on your template.
You need some variables (look if they are already defined in your template)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Patrick
- Topic Author
- Offline
- New Member
- Posts: 11
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
You need to alter your template's index.php and exclude the position in which the module renders from items.
You can find which module position to hide from the backend. Just see in which position this module is rendered.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Patrick
- Topic Author
- Offline
- New Member
- Posts: 11
I have user2 position in my template
wklej.org/id/1063825/
I don't know where type your code... Could you help me, navigate where ?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
Then go to the module position you want (user 2 in this case) and change
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Patrick
- Topic Author
- Offline
- New Member
- Posts: 11
Still the same ...
www.bikebydgoszcz.pl/aktualnosci/test-artykul-k2
In article i can see items list on top
wklej.org/id/1064052/
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
Insert the variables $option and $view at line 29 approx. and before the closing ?> tag.
Seems you forgot that part.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.