a simple back button
Posted: Tue Jan 26, 2010 8:49 pm
I love this software, I'm not so crazy about the docs. I've searched for this and looked through the default install for an example.
I'm trying to build a simple "back" link to go at the bottom of a page, when clicked, it takes you back to the last page.
I've reviewed the tag library, deciding I have to use cms_selflink. End up trying a variety of set ups, finishing with this:
{cms_selflink dir="prev" label="" text="Back"}
It works, but I think it's taking you back to the previous item in the menu, not the previous page you were on.
The "back" button in the detailed news template is what I want....but that tag - {$return_url} doesn't seem to be in my list of tags under extentions???, and it doesn't work if I place it in the document myself.
Also, I was looking to see if the wysiwyg editor breaks tags....even if placed in with it turned off, then later opened with tiny wysiwyg on. This info seems pretty critical. not much luck looking for that either.
I'm trying to build a simple "back" link to go at the bottom of a page, when clicked, it takes you back to the last page.
I've reviewed the tag library, deciding I have to use cms_selflink. End up trying a variety of set ups, finishing with this:
{cms_selflink dir="prev" label="" text="Back"}
It works, but I think it's taking you back to the previous item in the menu, not the previous page you were on.
The "back" button in the detailed news template is what I want....but that tag - {$return_url} doesn't seem to be in my list of tags under extentions???, and it doesn't work if I place it in the document myself.
Also, I was looking to see if the wysiwyg editor breaks tags....even if placed in with it turned off, then later opened with tiny wysiwyg on. This info seems pretty critical. not much luck looking for that either.