mosbreak and changing images problem I made the my own module which is changing pictures in the right module. It works fine and it checks Itemid number and changes the picture.
Then i made mosbreak and I found out one problem. I tried to change the picture when switching from one mosbreak page to another. But the picture is not changing. I tried to use thos limitstart, but some how it is not changing the picture with the mosbreak. What I am doing wrong now.
Here is the code of my module...
<img src="
<?php
switch($Itemid) {
case ($Itemid == 2):
echo("images/stories/pic2.jpg");
break;
case (($Itemid == 3) AND ($limitstart == 0)):
echo("images/stories/pic1.jpg");
break;
case (($Itemid == 3) AND ($limitstart == 1)):
echo("images/stories/pic2.jpg");
break;
default :
echo ("images/stories/pic0.jpg");
break;
}
?>
" border="0" name="picture" alt=""> |