impresspages - Every page a random picture with ipSlot -
i have problem. every page gets same header image. use following code:
<?php $options = array('id' => 'image', 'width' => '500', 'class' => 'cssclass(optional)'); echo ipslot('image', $options); ?>
i choose a![enter image description here][1]
random image on each page without using blocks.
thanks!
add current page id image id , have separate image each page. eg.:
$options = array('id' => 'image' . ipcontent()->getcurrentpage()->getid(), 'width' => '500', 'class' => 'cssclass(optional)'); echo ipslot('image', $options);
Comments
Post a Comment