- Posts: 6
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Adding "More" in the Latest items on homepage
[SOLVED] Adding "More" in the Latest items on homepage
- Abdul Sattar
- Topic Author
- Offline
- New Member
Less
More
11 years 2 weeks ago - 11 years 2 weeks ago #118230
by Abdul Sattar
[SOLVED] Adding "More" in the Latest items on homepage was created by Abdul Sattar
Hello everyone!
Can anyone please help me on this.
How can i add "more" after the list of the links which would direct to the respective category on homepage in "Latest items from (one or more) users or categories"...............
Please see below link
buddysinstitute.com/images/homepage.jpg
Thanks for your time
Can anyone please help me on this.
How can i add "more" after the list of the links which would direct to the respective category on homepage in "Latest items from (one or more) users or categories"...............
Please see below link
buddysinstitute.com/images/homepage.jpg
Thanks for your time
Please Log in or Create an account to join the conversation.
- Abdul Sattar
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 2 weeks ago #118231
by Abdul Sattar
Replied by Abdul Sattar on topic Re: Adding "More" in the Latest items on homepage
Really appreciateif someone could reply on this.....thanks!
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
- Offline
- Platinum Member
- Joomla Developer
11 years 2 weeks ago #118232
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic Re: Adding "More" in the Latest items on homepage
I think if you configure a category to display specific number of links and you have more items in this category, K2 will display the more link automatically.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Abdul Sattar
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 2 weeks ago #118233
by Abdul Sattar
Replied by Abdul Sattar on topic Re: Adding "More" in the Latest items on homepage
just saw the post..let me give a quick try.....
Jazakallah Khaira
Jazakallah Khaira
Please Log in or Create an account to join the conversation.
- Abdul Sattar
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 2 weeks ago #118234
by Abdul Sattar
Replied by Abdul Sattar on topic Re: Adding "More" in the Latest items on homepage
Im sorry but nt able to figure out how......can you please let me know..how can i achieve this.....
I just want a more button below the links....whic when clicked will take to the respective category...
Thanks
I just want a more button below the links....whic when clicked will take to the respective category...
Thanks
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
11 years 2 weeks ago #118235
by Yiota
Replied by Yiota on topic Re: Adding "More" in the Latest items on homepage
You will have to modify the latest.php file a bit in order to achieve this.
First you will have to use K2 template overrides if not using already. Read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates on how the K2 overrides are used.
Then edit the latest.php file and in the bottom of this block
<div class="latestItemList">
add
This will show a more link button right under the list of items in this view.
First you will have to use K2 template overrides if not using already. Read here getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates on how the K2 overrides are used.
Then edit the latest.php file and in the bottom of this block
<div class="latestItemList">
add
<a class="latestItemMore" href="<?php echo $category->link; ?>"><?php echo JText::_('K2_VIEW_ITEMS'); ?></a>
This will show a more link button right under the list of items in this view.
Please Log in or Create an account to join the conversation.
- Abdul Sattar
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 2 weeks ago #118236
by Abdul Sattar
Replied by Abdul Sattar on topic Re: Adding "More" in the Latest items on homepage
Thanks Yiota.....will try today.....and update!
Please Log in or Create an account to join the conversation.
- Abdul Sattar
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 2 weeks ago #118237
by Abdul Sattar
Replied by Abdul Sattar on topic Re: Adding "More" in the Latest items on homepage
Thank you so much........worked!
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Adding "More" in the Latest items on homepage