Page 1 of 1
Insert content from other pages
Posted: Tue Apr 17, 2007 1:34 pm
by khyros
Hi, I'd like to know if this is possible
-> I have a page X with some content
-> I have a page Y with some content
I'd like to make another page, inserting both the contents of Y and X within the same page.
Is this possible? Maybe a global_content call or something I'm not aware of?
Thanks!
Re: Insert content from other pages
Posted: Tue Apr 17, 2007 1:44 pm
by cyberman
Re: Insert content from other pages
Posted: Tue Apr 17, 2007 4:21 pm
by khyros
I just tried but that doesn't do exactly what I want..
Maybe I'll use the global content stuff .. but that introduces complexity when it comes to others editing the site
Re: Insert content from other pages
Posted: Sat Jun 09, 2007 7:17 pm
by kevin360
I would like to find something similar too The contentalias works a little different then what we're looking for. Contentalias just makes another "page" that really just points to a different page.
What we're looking for is something that works just like global_content_blocks, but instead of going into 'Content'->'Global Content Blocks' to edit the info, you'd just edit the page with all the other pages. So on page X you could add something like:
{insert_page_content page='Y'}
And the content of page Y would be inserted into page x where that tag is located. Is there anything like that available?
Re: Insert content from other pages
Posted: Tue Jun 12, 2007 12:12 am
by calguy1000
No, there's no current way of doing that, but it shouldn't be hard to write with a UDT or a plugin.
You'd just need functionality like what the detailpage stuff does (to resolve a name into a page id), then a bit of code to fetch the page contents.