Page 1 of 1
Question about process_pagedata
Posted: Sun Aug 17, 2008 9:55 am
by chris..
Hi all,
just : can someone tell me how exactly use {process_pagedata} ?
I feel it's a great plugin and that I need it, but it lacks some doc..
Thanks in advance
Re: Question about process_pagedata
Posted: Fri Aug 29, 2008 7:16 pm
by jonnybijlsma
Is there nobody who can tell how to use the {process_pagedata}-tag????
Re: Question about process_pagedata
Posted: Fri Jan 23, 2009 12:19 pm
by meiriem
In your template you can put tags like {title} or {content}.
For as far as I understand it right, {process_pagedata} works the same way.
So, when you put {title} in your template it prints at that position the title of the requested page. And when your put {process_pagedata} in your template in prints (at that position) the content of the pagedata block of the requested page.
An example:
Let's say your html template is:
...
...
Then, put in the pagedata block of every page something like "/uploads/images/myheader1.jpg". When you wants to show an different image on a given page, you only have to change the pagedata block of that page into "/uploads/images/mydifferentheader.jpg".