check the demo
Download The Last Version
Instructions
Vote:
1 2 3 4 5
- 11/06/06: Added multiline and case insensitive heading parsing.
- 13/06/06: version 0.21: Remove the back button bug.
The [tt]$_SERVER[’HTTP_REFERER’] [/tt]var contain strange [tt]http//mydomain.com/page.html [/tt]
- 22/06/06: version:0.22: Changed top and home link correctly ! (work in my snippet but not in this plugin)
- 25/06/06: version:0.23: Rechanged top and home link correctly ! (tested with friendly url with alias suffix and prefix)
- 26/06/06: version:0.24: Rechanged back correctly ? (tested with friendly url with alias suffix and prefix)
- 11/08/06: version:0.25: Scriptaculous Scroll Effect added.
- 20/08/06: version:0.26: Add or disable navbar heading with <!--navbar-->.
- 22/08/06: version:0.27: Add a title in the call with <!--sommaire|<b>My SommaireTitle</b>|-->.
I know now why I have broken link: posted in
this topic
Bug posted :
http://modxcms.com/bugs/task/497
The /index.php strip the ’:’ char from the url so:
in system var $_SERVER[’HTTP_REFERER’]
http://localhost:85/modx/recherche.html
become:
http//localhost85/modx/recherche.html
I think the same problem occurs for these type of url:
http//login:password@localhost85/modx/recherche.html
The two char ’:’ and ’@’ must not be stripped from the url
I changed the line 54 of /index.php from:
$_SERVER[$outside] = isset($_SERVER[$outside]) ? preg_replace("/[^A-Za-z0-9_\-\,\.\/\s]/", "", $_SERVER[$outside]): ’’;
to:
$_SERVER[$outside] = isset($_SERVER[$outside]) ? preg_replace("/[^A-Za-z0-9_\-\,\:\@\.\/\s]/", "", $_SERVER[$outside]): ’’;
I need your feed back to be sure my code is right for everyone.
I hope you like this little plugin.
Ask anything and I try to help you.