Newbie concrete5 question

Permalink
I created a custom block with three fields for storing text. Title, Summary and Details. On the view section of the block I display just the title and summary. I want to link this to a page that shows the details on a new page.

I am not sure how to go about doing this.
I thought I may need to pass the id of the saved block data to another page and pull from the database, Is this the correct approach or am I too .jsp centric.

Thanks.

ewaite
 
jordanlev replied on at Permalink Reply
jordanlev
I think a more "concrete5-centric" way to approach this situation is to flip the workflow around -- instead of creating a block and then having a page come from that block's details, you could create a PAGE and then the block pulls the title and summary from there.
The page list block that is included with concrete5 pretty much already does this (using the page's "description" as the summary). You can also customize this -- for example, I made some modifications to it so it worked more like a blog index:
http://c5cookbook.com/recipes/make_a_blog...

HTH

-Jordan
ewaite replied on at Permalink Reply
ewaite
Thanks, I will give it a try.