How to display an image in page list [blog index], but hide it in the blog entry

Permalink
Hi to all,

Thanks for your patience in advance. I have this tricky situation and not sure how to go about.

I want to display an image in page list [blog index template], but to hide the same image in blog entry. Initially, this image would be displayed in the section MAIN of the blog entry.

Your help is much appreciated.

 
Adreco replied on at Permalink Reply
Adreco
Hi Mellow,
Examples I've seen of this use a page attribute for a thumbnail display so the image does not need to be displayed on the physical blog page. I think an add-on likehttp://www.concrete5.org/marketplace/addons/blog-thumbnail/... might help you in that direction.

Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting....................
Mellow replied on at Permalink Reply
Thanks for your reply. I tried this add-on, but the thumbnail gets displayed in the blog entry too. Any ideas what I am doing wrong here?
Mellow replied on at Permalink Reply
How about writing a PHP condition to hide an image in a blog entry, but display it in blog index page? I am researching this option, but can't find anything useful. This is perhaps due to my poor PHP skills.
Adreco replied on at Permalink Best Answer Reply
Adreco
Hi Mellow,
I'm pretty sure you can comment out the section of php that calls up the image for the blog page instead of writing more. Also: don't rule out other Page List templates in the marketplace. I've used some of the paid ones to this end with very minor modification but other free ones might work without additional work for what you're looking for (I think Ryan's page list add-on http://www.concrete5.org/marketplace/addons/page-list-title/... generates the page list thumbnails without adding the blog page image)

Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting....................
Mellow replied on at Permalink Reply
Thanks for a good resource! I have managed to solve this situation with CSS. I used [display none] and [display block important] properties and it worked just fine with a couple of lines of code.

This tweak is not an ideal solution, but it works well in my situation.

Thanks for your help.