Add the possibility to give fields a default value in
the template.
Something like
{BGIMAGE="/images/bg_top_ju.gif"}
instead of the following plugin
if(!isset($PageContent->BGIMAGE[0]))
{
$PageContent->BGIMAGE[0] = "/images/bg_top_ju.gif";
}
Logged In: YES
user_id=330633
cya jacquez
;)
Logged In: YES
user_id=504414
Sounds like a good idea. Would be something to be sheduled
for the next majour version of phpCMS where we want to add
the syntax anyway.
It probably will be something like that:
<phpcms:insert field="bgimage"
default="/images/bg_top_ju.gif" />
ciao.. Iggi