Nice trick!
Not being able to reset column ordering once I'd clicked on a column header was driving me mad :-)
⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 02 January 2014 - 14:47 PM
Nice trick!
Not being able to reset column ordering once I'd clicked on a column header was driving me mad :-)
Posted 20 August 2014 - 16:50 PM
As solution you can add the uncial hash-segment to url in your menu.
for example:
<div id="left menu"> <a href="...">articles</a> <a href="....">categories</a> <a href="your_controller/function/<?=time()?>">YOUR PROBLEM </a> </div>
This is a great HTML tip for forcing a page to always reload because it guarantees that the page won't be rendered from the browser cache. As a web developer that has been the bane of my life while trying to debug web pages - browsers may say they've cleared the cache but they lie!
It works for image links as well, if you're in a position where images change and need to be reloaded - e.g.
<img src="/somewhere/pic.jpg?x=<?php echo rand(); ?>">