Page List / Blog-Problem - Thumbnail and preview
Permalink
I have a problem to handle the "Page List". Can someone help me?
I wanna start a new blog; some sites are still existing.
If I use the sample-blog, the postings are with a thumbnail. Where can I change that picture?
But what I realy wish for was a simple preview of my blog-posts with the text in the Main-Area.
In the old C5-version it was possible. The sample-C5-version I installed with the system, contained a perfect modified Page List.
For examplehttp://www.kai-meyer.de/cms/index.php/home-de/...
Here I changed nothig and it works perfekt.
I have the text from the Main-Area including pictures.
The new one seems to work different.
Can someone let me know, how who to modify the Page List like I explained obove?
The non-working Page List is here:
http://thomaselbel.de/index.php/blog/...
(Because the site is still in work, you need this:
Username: thomasonline, pass: flyingstyle)
On the top there is the sample (with the thumbnails), the second version (under the social-media-buttons) is a new created Page List.
I realy hope, someone can help me, because the blog is very importand for this page.
I wanna start a new blog; some sites are still existing.
If I use the sample-blog, the postings are with a thumbnail. Where can I change that picture?
But what I realy wish for was a simple preview of my blog-posts with the text in the Main-Area.
In the old C5-version it was possible. The sample-C5-version I installed with the system, contained a perfect modified Page List.
For examplehttp://www.kai-meyer.de/cms/index.php/home-de/...
Here I changed nothig and it works perfekt.
I have the text from the Main-Area including pictures.
The new one seems to work different.
Can someone let me know, how who to modify the Page List like I explained obove?
The non-working Page List is here:
http://thomaselbel.de/index.php/blog/...
(Because the site is still in work, you need this:
Username: thomasonline, pass: flyingstyle)
On the top there is the sample (with the thumbnails), the second version (under the social-media-buttons) is a new created Page List.
I realy hope, someone can help me, because the blog is very importand for this page.
If you choose the "Blog Index" custom page list template then you get the content from your "main" area. But if you choose the "Blog Index Thumbnail" then you get a picture and the content from the description.
If you are even a little handy with html code this is a pretty easy fix. Open both of these page list templates so you can see them side by side.
copy this line of code from the thumbnail template :
$imgHelper = Loader::Helper('image');
and put it in the non-thumbnail template between the $link and $firstClass lines.
Then copy lines 21-33 of the thumbnail template:
and paste it where you want it in the index template.
Now save the index template AS Something else and save it in your root/blocks/page_list/templates/my_custom_template.php
now you need to open you theme's blog_entry.php file and add the editable area called "Thumbnail Image". This is the block that the image is coming from in the page list template.
This should get you pointed in the right direction.