Page List Teaser in Concrete5.5.2.1
Permalink Browser Info Environment
I have installed the package but nothing shows up of the Page list teasers when I put a page list on the page. Is there something I am missing?
Type: | Discussion |
---|---|
Status: | New |
I just tested it in 5.5.0 and it works but not in the newest update. Is there something that is a quick change to make it work with 5.5.2.1 or do I need to roll back to the older version? I am loath to do that - it has caused problems in the past.
It should work in 5.5.2.1. Are you saying that you've installed the package via the dashboard, and then you've added a Page List block to a page, then clicked on the block and chosen "Custom Template" from the popup menu, but then you don't see "Teasers" in the list of available templates there?
Or you do have the template successfully chosen but nothing shows up on the page? Or something else?
Or you do have the template successfully chosen but nothing shows up on the page? Or something else?
Sorry, I wasn't clear. I installed Page List Teaser in the Dashboard, and I would like to have the first block of each block appear, so I put a Page list on the page and checked "truncated" but without putting in a number and then chose "teasers" as the template but all that appears on the page are the titles of the pages. When I did exactly the same process with a version off 5.5.0 the pages show up the way I would like them to.
Here is the proto-site if you want to look at it:http://www.soulfever.de/fbg/index.php?cID=129...
Its not ready for the client yet.
Here is the proto-site if you want to look at it:http://www.soulfever.de/fbg/index.php?cID=129...
Its not ready for the client yet.
Try clearing the site cache (via the Dashboard). Also, is this just a normal block on the page, or are there Global Areas or scrapbooks or Area Layouts involved?
It's very strange that you're choosing the template but it's not showing anything, and I'm not sure why it isn't working.
It's very strange that you're choosing the template but it's not showing anything, and I'm not sure why it isn't working.
It is just a normal block on a normal page. I am stumped. I am trying now to make something work with the blog index template.
That is super weird. Did you clear the cache? (Sorry to keep asking this but sometimes that does fix the problem, if you haven't done it already)
Yes I did but without any change. I agree it is super wierd. Thanks for taking your time!
I'm really sorry but I have no idea what the problem could be and I don't know how I could investigate it either.
Exactly same issues here, only the blog title appears, but no article content whatsoever. Very weird.
Is the area on your page that has the content called 'Main'? (That is, does it say "Add to Main" in the dotted line when you're on the page and go into edit mode)?
On my page the column is called "Content" and it says Add to Content under it.
By default, the addon looks for blocks in the 'Main' area. Since your area is called 'Content', then you need to tell the addon to look there instead of 'Main'.
If you're using the latest version of the addon (1.2), you can do this by overriding the custom template to tell it about your 'Content' area, like so:
1) On your server, copy this file:
...to here:
2) Edit that new copy of the file, and find this line (should be around line #17):
...and change it to this:
(Note that the only thing changed was from 'Main' to 'Content' -- everything else in that line should remain the same).
-Jordan
If you're using the latest version of the addon (1.2), you can do this by overriding the custom template to tell it about your 'Content' area, like so:
1) On your server, copy this file:
SITEROOT/packages/page_list_teasers/blocks/page_list/templates/teasers.php
...to here:
SITEROOT/blocks/page_list/templates/teasers.php
2) Edit that new copy of the file, and find this line (should be around line #17):
$teaser = $plth->getPageTeaser($page, 'Main', $teaserBlockCount, $teaserTruncateChars);
...and change it to this:
$teaser = $plth->getPageTeaser($page, 'Content', $teaserBlockCount, $teaserTruncateChars);
(Note that the only thing changed was from 'Main' to 'Content' -- everything else in that line should remain the same).
-Jordan