Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-18 22:22:58

quickestpastor
New Member
Registered: 2007-03-18
Posts: 3

how do I call for another page within the textpattern database

I have similar content on several pages that i would like to use a single source for. The content on those pages is different enough that i need to use a different page for each section. I have similar things on those pages (like menu’s and headers exc.) that i would like to use one source for so i don’t have to update each page to update the same menu on each page.

I know how to use the include function in php for a page outside textpattern but I would like to keep everything within textpattern so that the client could change the content more easily. I would rather not create new sections if at all possible.

So is there a way to call up a page from the textpattern database to include on another textpattern page?

that might not be as clear as I would have liked, but if you ask questions then I try to explain myself better…

ps I have been using textpatten on nearly all of my recent website designs and upgrades and it has been great. My clients are excited that they can update the pages and work with the text on their own with out having to pay some one to do it for them. Great Job!

Last edited by quickestpastor (2007-03-18 22:24:25)

Offline

#2 2007-03-18 22:27:29

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: how do I call for another page within the textpattern database

Put it in a form (type: misc) and call it on the page like this: <txp:output_form form="menu" />.

Offline

#3 2007-03-18 22:39:00

quickestpastor
New Member
Registered: 2007-03-18
Posts: 3

Re: how do I call for another page within the textpattern database

Thanks that will work great. I would have never thought of that. You guys are so smart…

Offline

Board footer

Powered by FluxBB