- Posts: 16
COMMUNITY FORUM
Remove Introtext from primary count
- The White Alchemist S.L.
-
Topic Author
- Offline
- New Member
Less
More
13 years 5 months ago #59831
by The White Alchemist S.L.
Remove Introtext from primary count was created by The White Alchemist S.L.
Hi,
how can i remove introtext from primary count so introtext only appears on leading counts in category view?
thanks!
how can i remove introtext from primary count so introtext only appears on leading counts in category view?
thanks!
Please Log in or Create an account to join the conversation.
- Jiliko.net
-
- Offline
- Platinum Member
Less
More
- Posts: 567
13 years 5 months ago #59832
by Jiliko.net
Replied by Jiliko.net on topic Re: Remove Introtext from primary count
Hi,
For K2 2.4.1, you have to update the category_item.php, line #138 :
becomes
Olivier
For K2 2.4.1, you have to update the category_item.php, line #138 :
<?php if($this->item->params->get('catItemIntroText')): ?>
becomes
<?php if($this->item->params->get('catItemIntroText') && $this->item->itemGroup != 'primary'): ?>
Olivier
Please Log in or Create an account to join the conversation.
- The White Alchemist S.L.
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 16
13 years 5 months ago - 13 years 5 months ago #59833
by The White Alchemist S.L.
Replied by The White Alchemist S.L. on topic Re: Remove Introtext from primary count
Great! Thanks!
It also works for 2.5.
And to change title position on primary count?
It also works for 2.5.
And to change title position on primary count?
Please Log in or Create an account to join the conversation.
- Jiliko.net
-
- Offline
- Platinum Member
Less
More
- Posts: 567
13 years 5 months ago #59834
by Jiliko.net
Replied by Jiliko.net on topic Re: Remove Introtext from primary count
Just get the code about item title and cut/paste it where you want...
The code begins with :
and ends with :
Olivier
The code begins with :
<?php if($this->item->params->get('catItemTitle')): ?>
and ends with :
<?php endif; ?>
Olivier
Please Log in or Create an account to join the conversation.
- The White Alchemist S.L.
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 16
13 years 5 months ago #59835
by The White Alchemist S.L.
Replied by The White Alchemist S.L. on topic Re: Remove Introtext from primary count
But it change all titles, leading and primary.
I need Title of leading article above the image and title of the primary at the right side of the image.
I need Title of leading article above the image and title of the primary at the right side of the image.
Please Log in or Create an account to join the conversation.