PostBackAction
I've been trying to understand the concept of what PostBackAction is and how to use it. I'm using the Pimped add-on as a model. I want to add a link in the side panel that will build a page of information. The link I have is:
$wws .= '<div align="right"><a href="'.GetUrl($Configuration, 'index.php', '', '', '', '', 'PostBackAction=BlogTags').'">View All Tags >></a></div>';
This link works fine when I am logged in, with the link translating to:
http://localhost/Vanilla.1/?PostBackAction=BlogTags
However, it doesn't work at all when I'm not logged in because the link then translates to:
http://localhost/Vanilla.1/?ReturnUrl=http://localhost/Vanilla.1/?PostBackAction=BlogTags
I've tried different ways of building the link reference, but none seem to work when I am not logged in. Can anyone explain why the url link is built differently and how I can get around this?
Thank you, jim
0
This discussion has been closed.
Comments