Two templates, same content...?!?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
hovardo
Posts: 16
Joined: Mon 21. Jun 2004, 08:28

Two templates, same content...?!?

Post by hovardo »

Hi!

I am working on a site that got two different headings.... If I wanted the content of the contact-page to appear in both the templates how does I do that?

I'm using "{NAV_TABLE_COLUMN:27}" for one part of the page and "{NAV_TABLE_COLUMN:21}" for the other part... so I have to make contact-page and two other pages twice to get what I want...

Is there a way to "mirror" the content of a page? That would be really nice, so I don't have to update in two places...
-Hovardo
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hallo hovado,

Add a second Navi under the existing Navi of each template.

Where xx is the Cat-ID of the contact page. Which must be switches to hidden in the ADMIN section.


{NAV_TABLE_COLUMN:27}
{NAV_TABLE_COLUMN:xx}


{NAV_TABLE_COLUMN:21}
{NAV_TABLE_COLUMN:xx}
hovardo
Posts: 16
Joined: Mon 21. Jun 2004, 08:28

Post by hovardo »

Yes, but the two parts of the page uses different templates... if I just wanted the content, and keep the active template that I see when I click "contact"... is that possible?

If not, I will have to go for your solution... :lol:
-Hovardo
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hi hovardo,

for your contact-page use a special template, only with the {CONTENT} in the mainfield, which uses a special layout with only 100% width, nothing else.

Put in a hidden category an article with your contact-form. Connect it with the new template.

Put into your 2 existing contact Artikles (each with its own headerimage) an iFrame-call to your contactpage.

Thats it.
Post Reply