combining content from 2 pages in print version

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
metajason
New Member
New Member
Posts: 2
Joined: Fri Jan 21, 2011 6:43 pm

combining content from 2 pages in print version

Post by metajason »

I urgently need to create a printable version of a page which shows the list of meetings in a table (see link) and pulls in additional detail for each row - the address for each meeting from its sub-page. (so the final print version would have an additional column for addresses)

You can see the setup via the temp page url: http://79.170.44.148/coda-uk.org/?page=all

Is there a way I can do this with smarty tags? Really stuck, It would be huge help if anyone could advise or suggest a way forward with this.

Thanks

J
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: combining content from 2 pages in print version

Post by spcherub »

CGSimpleSmarty is a module that allows you to get content from other pages into one location. The actual smarty code will depend on how your page hierarchies and content blocks are setup. Assuming the addresses (in your examples) are stored in specific content blocks in sub-pages, it should be relatively easy to pull the data and format it in your page or template.

Check the module documentation for examples.

Hope that helps
-S
Post Reply

Return to “CMSMS Core”