Page List Stack

Permalink
I have a stack that contains articles.
I would like to pull a block in the stack to another page.
I would also like to truncate the article and add a read more link to the end of the truncated section.

I basically want it to work the same as a Page List would but from a stack and not a page.

Any one got any ideas?

Thanks in advance.

madeforspace
 
madeforspace replied on at Permalink Reply
madeforspace
I seem to have solved part of my problem.
I have given the block a custom template name and called the block only using this:

<?php Block::getByName('MyBlockName')->display(); ?>


The text is now pulling through fine from my named block in my stack but I am still stuck with the truncation and Read More link.
JohntheFish replied on at Permalink Reply
JohntheFish
Have a look at the page list teasers addon/template. It contains the code you need.
madeforspace replied on at Permalink Reply
madeforspace
Thanks Johnthefish, I will grab a copy and check it out.

Alex