best way to get page Content
Posted: Sun Apr 10, 2005 4:01 pm
hi,
i'm doing some plugin which gets current page id and grabs its alias, menu text. problem is, i also need the data from the other table content_props, to make it clear the data is in the Content column. I've looked through the code, i assume that probably the new variable (new from 0.8.2 version) $loadprops set to TRUE in GetAllContent method is for what i need. but i can't figure it out how to write the code correctly?
if i can get the menutext by $onecontent->MenuText() then is it possible to grab what i need with $onecontent->Properties().. what next?
thanx.
i'm doing some plugin which gets current page id and grabs its alias, menu text. problem is, i also need the data from the other table content_props, to make it clear the data is in the Content column. I've looked through the code, i assume that probably the new variable (new from 0.8.2 version) $loadprops set to TRUE in GetAllContent method is for what i need. but i can't figure it out how to write the code correctly?
if i can get the menutext by $onecontent->MenuText() then is it possible to grab what i need with $onecontent->Properties().. what next?
thanx.