Code: Select all
{content block='title' oneline='true'}
{content block='description'}
{content block='Image'}
Code: Select all
{content block='title' oneline='true'}
{content block='description'}
{content block='Image'}
Code: Select all
{content block='title' oneline='true'}
{content block='description'}
{content block='Image'}
Code: Select all
{Start get content from childpages of ID 12}
{content block='title' oneline='true'}
{content block='description'}
{content block='Image'}
{End}
This wouldn't be an audacious hack, the ability to iterate through specific blocks of content found in children of X parent would be very useful, and would negate the need for many of the existing modules that only serve a single purpose.Pierre M. wrote: Maintained modules may last longer than audacious hacks.
Use the CGSimpleSmarty module.pupppet wrote: Ok how about this- I have a portfolio template with the custom fields-
I then add a new page for each portfolio item. Is there any way for the parent page to somehow iterate through the individual childpages, importing their content into the parent page, i.e.Code: Select all
{content block='title' oneline='true'} {content block='description'} {content block='Image'}
Code: Select all
{Start get content from childpages of ID 12} {content block='title' oneline='true'} {content block='description'} {content block='Image'} {End}