Adding thumbnail to pagelist
Permalink 1 user found helpful
Hi can anyone point me in the right direction on how to add a thumbnail to the pagelist block, I understand a new template will be needed just wondered how easy it would be to add this as option
Cheers
Cheers
I just installed the page filter for a client site, it worked great, exactly what they wanted and easy to install
I think Remo has a tutorial about this here:
http://www.codeblog.ch/category/concrete5/...
http://www.codeblog.ch/category/concrete5/...
I think Remo has a tutorial about this here:
http://www.codeblog.ch/category/concrete5/...
http://www.codeblog.ch/category/concrete5/...
Thanks everyone as always for your help
this is what I did, added a image attribute to each page in the list, with the properties screen. then added this the view.php ( I made a custom templete ):
works great for me.
you need to add this to the top of view.php
$ih = Loader::helper("image");
<?php ] $logo = $cobj->getCollectionAttributeValue('customer_logo'); if($logo){ $ih->outputThumbnail($logo, 60,60, $title); } ?>
works great for me.
you need to add this to the top of view.php
$ih = Loader::helper("image");
Here is an example of pages list thumbnail.
Its a modification fromhttp://www.codeblog.ch/2009/03/concrete5-templates/comment-page-1/... and shows only the pages with the thumbnail attribute.
works fine on Concrete5 5.4.1
thanks Remo!!!
Its a modification fromhttp://www.codeblog.ch/2009/03/concrete5-templates/comment-page-1/... and shows only the pages with the thumbnail attribute.
works fine on Concrete5 5.4.1
thanks Remo!!!
One small small problem is left.
The template shows only 10 pages in thumbnails. Why?
The template shows only 10 pages in thumbnails. Why?
http://www.concrete5.org/marketplace/addons/thumbview-template/...
Think that might do the trick for you - or at least review the code and modify for what you need!
-Phil