What are the areas called?

Permalink Browser Info Environment
Hello!

First of all, i would like to congrat you for this add-on, its damn good and useful! now, my doubt... i think its pretty easy to solve.

By now i have everything configured how i like, only there's a problem when i click a news and it takes me to its whole story. I can just view the content, the title and summary dissapears. I have noticed that its because the page-type has only a block called "Main", that refers to the content...so i suppose i need to know what the title and summary blocks are called to add them on the page-type and get it going...im a right?

Thanks!

Type: Discussion
Status: New
suso
View Replies: View Best Answer
hanicker replied on at Permalink Best Answer Reply
hanicker
Actually they are not added in any block and used only in news list block, but title is set as news page title so you can retrieve it with
<h1><?php echo $c->getCollectionName() ?></h1>

you can get summary with
<div class="summary"><?php echo $c->getCollectionDescription(); ?></div>


If you have problems try replacing $c with $cobj

Hope this helps.
Thanks for everything!

Nick
suso replied on at Permalink Reply
suso
Damn! you are too good! thanks a lot, really. Just copied your lines, and it appeared. And the best thing is that i can style them with CSS however i want.

Thanks again!

Suso ;)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.