hello ... I have just launched a portfolio site. There are 9 work categories - each represented by a dynamic folder. I am using cms:folders to generate the sub-navigation. In addition I have a 10th link - which is a random selection / lucky dip from all the work items set up. The link for this is:
When the randomly picked page is displayed the url in the browser address bar is not the right url for the page ... it'll be some other work item altogether.
This isn't exactly the end of the world, but now I've noticed it, I'm curious to know if there's a way to correct it?!
- Code: Select all
<cms:pages masterpage='my-work.php' orderby="random" limit='1' >
<li><a href="<cms:show k_page_link />"<cms:if k_is_folder><cms:else /> class="current"</cms:if>>Lucky Dip <img style="margin: 5px;" src="<cms:show k_site_link />img/redo.png" alt="Lucky Dip" width="15" height="15" /></a></li></cms:pages>
When the randomly picked page is displayed the url in the browser address bar is not the right url for the page ... it'll be some other work item altogether.
This isn't exactly the end of the world, but now I've noticed it, I'm curious to know if there's a way to correct it?!