I couldn't figure out how to do with function. But
in config.php
if(BOLTvars("$pageLink::metadescription"))
{
$BOLTvar['$metadescription'] = BOLTvars
("$pageLink::metadescription");
$BOLTvar['$metakeywords'] = BOLTvars("$pageLink::metakeywords");
//can;t change title???
//$BOLTvar['$title'] = BOLTvars("$pageLink::metatitle");
}
and in page at top of page:
/*
metadescription: lalalala alala alalala lalalal
metakeywords: key1,key2,key3
metatitle: the new title
*/
That seems to work fine, except for title.
I'd really like to be able to do that with a function like you suggest
[(meta description "the description of page)]
I thought this would work but it does not. The function works, but
seems like to late in page generation to affect the values shown in
the header???
function BOLTFmeta($args, $zone)
{
global $pageLink, $BOLTvar;
$v = '$'.'meta'.$args[1];
$BOLTvar[$v] = $args[2];
return;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---