[Solved] Get Content of another page by passing the page ID?

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
mwy

[Solved] Get Content of another page by passing the page ID?

Post by mwy »

Does anyone out there know the syntax for getting the {content} of a different page to the one you are on, where you know the content ID of the page content you want?

Thanks in advance
Last edited by mwy on Tue Jul 13, 2010 2:34 pm, edited 1 time in total.
nhaack

Re: Get Content of another page (not the one you are on) by passing the page ID?

Post by nhaack »

Hi,

you could also try the Content Dump Plug-in. Read more about it here: http://wiki.cmsmadesimple.org/index.php ... ntent_dump

Best regards
Nils
mwy

Re: Get Content of another page (not the one you are on) by passing the page ID?

Post by mwy »

My most humble thanks to you both. A long day/night resulted in my "seeing" the first suggestion at 1am, but not being able to see it was the answer to my prayers. Plus, like many of my coding problems, my lack of knowledge means I don't always know what words to use to search with, so I didn't find the second solution.

I now have some lovely tabbed sub-pages generated by my menu-manager script and hidden/shown as required.

So, many, many thanks again.
nhaack

Re: Get Content of another page (not the one you are on) by passing the page ID?

Post by nhaack »

A pleasure :) - please put a [Solved] in front of the title of your first post :)

Best
Nils
Post Reply

Return to “Developers Discussion”