[dokuwiki] Re: preventing instruction level caching

  • From: James Lin <guanfenglin@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 29 Apr 2009 21:31:06 +1200

> If I were you I'd used either TPL_ACT_RENDER or TPL_CONTENT_DISPLAY,
> because in
> those two you can modify the actual page XHTML without the cache getting in
> your way at all. Rendering just one piece of plugin syntax could be done
> using
> p_render(), in your case the syntax of the indexmenu.


great, that sounds awesome, I was pulling my hair how to make use of the
indexmenu syntax in TPL_CONTENT_DISPLAY or TPL_ACT_RENDER events,

could you please give me some code sample on how to use the p_render()
method?

Cheers!

James

Other related posts: