PDA

View Full Version : programmatically change the metadata


lady_teacher
November 20th, 2007, 04:11
Hey,
Does anyone know if mambo has a function that can programmatically change the metadata...?
Something like: "changeMetaData('keywords','this,that,etc');"

Thank you :-)
_____________

lady_teacher
November 21st, 2007, 14:21
anyone pleasee

lady_teacher
November 23rd, 2007, 03:51
Ok i did some digging around and I found the following:
global $mainframe;
$mainframe->appendMetaTag( 'description', 'some description');
$mainframe->appendMetaTag( 'keywords', 'some keywords');

that should do it, though it seems am the only one who wanted to know this hehe :-)