embed a template in a template

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
a.cioffari
Posts: 58
Joined: Fri 4. Jun 2004, 22:20
Location: Coconut Grove (FL)

embed a template in a template

Post by a.cioffari »

hi...

is possible to embed a template in a other template???

for example:

I create a template and in the header area I put my "header" for all my pages...

then in another template I put in the header area a "link" to the "header" template

I hope any understand what I mean :wink:

thanks in advance!!!!

angelo
Pappnase

Post by Pappnase »

hello

i think i understand what you mean! but this is not possible execpt you create 2 different templates.
naabu
Posts: 29
Joined: Thu 12. Aug 2004, 15:08

Post by naabu »

I have two identical templates barring some js to load and some on load in another.

i have some rollover images i use on the frontpage, but for some reason the new template i made is not showing up in the article section.

how do you change an articles template.

all that is available is - default or sample.tmpl
mmjaeger
Posts: 8
Joined: Sun 15. Aug 2004, 23:43

Re: embed a template in a template

Post by mmjaeger »

a.cioffari wrote:hi...

is possible to embed a template in a other template???

for example:

I create a template and in the header area I put my "header" for all my pages...

then in another template I put in the header area a "link" to the "header" template

I hope any understand what I mean :wink:

thanks in advance!!!!

angelo
I certainly second that - e.g. Expression Engine over at pmachine.com supports embedding templates and it is very useful for all stuff that is common to a website - would be a nice feature for the next release!!??
Post Reply