By Nitya Mallikarjun on Tuesday, 15 April 2014
Posted in General Issues
Replies 3
Likes 0
Views 713
Votes 0
Hello,

I am customizing EasyBlog with my own theme. Our designer has mocked up a front page view and a category page view (see attached).

Within my theme folder, I have customized blog.item.php to replicate the front page layout. The featured items are set up 2 across with large images above the copy, with the regular posts in a listing at full-width below.

For the category view, these featured item should be shown full width, with a 2 column layout.

However, blog.item.php is the same file which is used for both. How can I create another similar page that will be used for the category listing page?

I hope this makes sense.

Thanks
Hello Nitya,

For Category view, you can use this file instead: ../components/com_easyblog/themes/default/blog.category.php . Hope this helps.
·
Tuesday, 15 April 2014 10:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes but it still fetches blog.item which is the one with the other layout.

I think I figured it out. I createa a copy of blog.item and named it blog.filtered. Then I can change that page to the new layout.

In category.php line 89, I just fetch that one instead. So far it seems to be working.
·
Tuesday, 15 April 2014 21:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nitya,

Hm, this is weird. Glad it is working by the way.
·
Wednesday, 16 April 2014 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post