Include another page within CMSMS

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
puttitat
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 12:43 pm

Include another page within CMSMS

Post by puttitat »

Hi,

I'm playing around with a BMW DIY page.

As the E30 and E21 uses the same M20 engine, some of the tutorials for doing things by yourself on these engines, will be the same.

Instead of changing 2 pages every time I made a correction, I would like for the E30 page to just duplicate the E21 page - preferably by using "include" of some sort.

Does CMSMS support this? I know how to include some installed modules, like {cms_module module='album'}. There HAS to be a function in this clever CMS that can do this ;)

Greetings from Denmark,
Troels
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: Include another page within CMSMS

Post by lollipop27 »

Try the module ContentAliases.... if you wanna copy the whole page.

http://dev.cmsmadesimple.org/projects/contentaliases/
puttitat
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 12:43 pm

Re: Include another page within CMSMS

Post by puttitat »

I doesn't need it to copy - just to include, like php...?

as in {cmsms-page page="3.2.2"} or so?
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: Include another page within CMSMS

Post by lollipop27 »

so half of the page is different?

contentAliases works does as if there are 2 pages but displays the same.... isn't that what you want?
puttitat
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 12:43 pm

Re: Include another page within CMSMS

Post by puttitat »

Yeah, I wan't 2 different pages that contains exactly the same.

I don't want it to copy the page so that I will have to click "Copy" everytime I update the page with the actual content.

That's why I'm talking about "include" function. It should be just like a PHP file with only.
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: Include another page within CMSMS

Post by lollipop27 »

But then the module is exactly what you wnat... did you try it out?? Did you see what it is doing? Did you read the description???

Its basicly an include.
puttitat
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 12:43 pm

Re: Include another page within CMSMS

Post by puttitat »

My bad :( Got it working now, and it seems to solve my problem.

Thank you very much!
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: Include another page within CMSMS

Post by lollipop27 »

[SOLVED] ???
puttitat
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 12:43 pm

Re: Include another page within CMSMS

Post by puttitat »

Yeah.
Solved.
Vin

Re: Include another page within CMSMS

Post by Vin »

No, no, no, that's not the thing you were asked. Did you notice the sticky topic "TO ALL - Please add [solved] to subject of first post if problem is solved !" ? You should modify the first post now that the problem is solved.
Pierre M.

Re: Include another page within CMSMS

Post by Pierre M. »

Hello Troels from Denmark,

if you don't have too much editors, here is an idea :
-factor things like M20 in GCB.
-use them on as many E30, E21, and so pages as you want.
-when you modify the GCB, all pages including it reflect the changes.

Have fun with CMSms

Pierre M.
Post Reply

Return to “CMSMS Core”