- Posts: 3
COMMUNITY FORUM
item links in category list are showing intro text
- Inge Huizenga
-
Topic Author
- Offline
- New Member
Less
More
8 years 11 months ago #154442
by Inge Huizenga
item links in category list are showing intro text was created by Inge Huizenga
Dear support team,
I have been using K2 on several websites and I am very happy with the component. However, now I am facing a problem after upgrade to 2.7.
The item links in the category list are also showing intro text of the item. Before the update it was only showing the title link. I tested it with the template protostar and beez as well, and also with these templates the links are showing up with intro text. It concerns the news page, in which 2 items are configured to show title, intro text and image in 2 columns. Then a few links should be showed. See www.svn69.nl
Your support would be appreciated.
Thanks in advance
Best regards
Inge Huizenga
I have been using K2 on several websites and I am very happy with the component. However, now I am facing a problem after upgrade to 2.7.
The item links in the category list are also showing intro text of the item. Before the update it was only showing the title link. I tested it with the template protostar and beez as well, and also with these templates the links are showing up with intro text. It concerns the news page, in which 2 items are configured to show title, intro text and image in 2 columns. Then a few links should be showed. See www.svn69.nl
Your support would be appreciated.
Thanks in advance
Best regards
Inge Huizenga
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 11 months ago #154476
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic item links in category list are showing intro text
Hello Inge,
Are you using any overrides in your site?
Are you using any overrides in your site?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Inge Huizenga
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
8 years 11 months ago #154577
by Inge Huizenga
Replied by Inge Huizenga on topic item links in category list are showing intro text
Hello Krikor,
I am not using any overrides in this site, except for some style things in CSS
I am not using any overrides in this site, except for some style things in CSS
Please Log in or Create an account to join the conversation.
- Javi Mata
-
- Offline
- Senior Member
8 years 11 months ago #154578
by Javi Mata
Twitter: @Javi_Mata
Web: www.javimata.com
Replied by Javi Mata on topic item links in category list are showing intro text
Twitter: @Javi_Mata
Web: www.javimata.com
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 11 months ago #154609
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic item links in category list are showing intro text
Read this post on how to override K2's templates.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Duplicate the category_item and rename it to category_item_links.php
Open the newly cretated file and remove the introtext.
Now open the category.php file and in line 238 (the last of its kind) locate
and replace it with
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Duplicate the category_item and rename it to category_item_links.php
Open the newly cretated file and remove the introtext.
<?php if($this->item->params->get('catItemIntroText')): ?>
<!-- Item introtext -->
<div class="catItemIntroText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
Now open the category.php file and in line 238 (the last of its kind) locate
echo $this->loadTemplate('item');
and replace it with
echo $this->loadTemplate('item_links');
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Inge Huizenga
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
8 years 10 months ago #154655
by Inge Huizenga
Replied by Inge Huizenga on topic item links in category list are showing intro text
Hi Krikor,
thanks a lot for your support. I managed it according to your instruction. It works and I am happy.
Best regards
Inge
thanks a lot for your support. I managed it according to your instruction. It works and I am happy.
Best regards
Inge
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 10 months ago #154674
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic item links in category list are showing intro text
You 're welcome :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.