2014-08-07, 20:18:35
Hey there ,
I am trying to create a header with the nanoslider-Plugin. I want it to be displayed on every page with different photos..
However, if I create a component "slideshowheader" and do a get_component in the template file, the code for embedding the slider
(%nanoslider
kind=url
&Width=1000px
&listImagesBaseURL=bilder/
&listImages=DSC_7544.jpg
&nivoOptions={"effect":"random","pauseOnHover":false,"randomStart":true,"pauseTime":4000}
&theme=dark
%)
will be displayed as text instead of being interpreted... How can i solve that?
In order to change the images displayed on a page I would like to work with a php opendir in combination with the page slug and a readdir() command to get the image folder's url for each page and the image names . Does anyone have advices for this, too?
Thanks in advance,
Franz
I am trying to create a header with the nanoslider-Plugin. I want it to be displayed on every page with different photos..
However, if I create a component "slideshowheader" and do a get_component in the template file, the code for embedding the slider
(%nanoslider
kind=url
&Width=1000px
&listImagesBaseURL=bilder/
&listImages=DSC_7544.jpg
&nivoOptions={"effect":"random","pauseOnHover":false,"randomStart":true,"pauseTime":4000}
&theme=dark
%)
will be displayed as text instead of being interpreted... How can i solve that?
In order to change the images displayed on a page I would like to work with a php opendir in combination with the page slug and a readdir() command to get the image folder's url for each page and the image names . Does anyone have advices for this, too?
Thanks in advance,
Franz