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
Question about process_pagedata
Re: Question about process_pagedata
Is there nobody who can tell how to use the {process_pagedata}-tag????
Re: Question about process_pagedata
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".
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".
Last edited by meiriem on Fri Jan 23, 2009 12:22 pm, edited 1 time in total.