>
> If you by "main page" mean the template

Yes

>(which I will assume) then it
> will IMHO not be fine grained enough for most purposes. As I understand
> EmbperlObjects, it can be used as a template to make a common look&feel
> for your site. So you will place all the common stuff there, and have
> the variable in the individual files. But the title (and maybe more
> <HEAD> tags) will vary with the individual files.
>

Yes, of course. EmbperlObject is new and I have much more ideas to enhance
it.

> > What do you think of something like this:
> > <titel>[- title -]</titel>
> > and in the page you have
> > [$ sub title $] My Title [$endsub$]
> > would this solve your problem?
>
> This would be great! Maybe it is wise to consider something like this
> for other <HEAD> tags as well (e.g. <META>), but <TITLE> is the most
> important.
>
>

You could try the following (I didn't have tried it, but I think it should
work. Further version of EmbperlObject will have such a mechanisem build in)

In the Template:

[- Execute ({inputfile => '*', import => 0}) -]
<titel>[- Execute ('*#title') -]</titel>


and inside your pages

[$ sub title $] My Title [$endsub$]


You can do this for more subroutines of course.

Let me know if it works

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to