Log in | Register | Lost password

Bottom
pnpageaddvar, inline-list and cache
  • Posted: 23.11.2008, 20:48
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hello everyone !

    Inside an inline list template, i am calling a plugin to add a stylesheet to the header of my page. I need to avoid that call to be cached otherwise the stylesheet is not included... so i am using the following :

    Code

    <!--[nocache]--><!--[pnpageaddvar name="stylesheet" value="themes/CoolWater/templates/modules/pagesetter/style/Organismes-style.css"]--><!--[/nocache]-->

    Since the template is an inline list, it is used many times in the page. The first element of the list appears ok but the following line is inserted before each element : {nocache:3bac176f4600f6d71c67c5f241e188cb#0}

    Any idea ?
    Thanks for your help !

    guitch

Template courtesy of Designs By Darren.