Base URL Same-Page-Link Fix 1.1.0

Base URL Same-Page-Link Fix 1.1.0

Released Apr 17, 2008 by paulb
This plugin fixes the problem with links that refer to anchors (e.g. <a href="#anchor">Anchor</a>) on the same page when using the <base> url element in the document's <head>. Without this fix, you have to add code like this:

<a href="[~[put page id here]~]#anchor">Anchor</a>

which is a pain. With this fix, your links look normal:

<a href="#anchor">Anchor</a>

Download 1kb (2760 downloads)
Downloads: 2,756
License: GPL - GNU Public
Discuss Extra
Requires Evolution 1.0.x or greater
Supports mysql
Makes it so that links to anchors on the same page behave normally when using the base url tag

Installation Instructions

1. Download the plugin file.
2. Create a new plugin called Base URL Same-Page-Link Fix
3. Add this to the description: "<strong>1.0</strong> Makes it so that links to anchors on the same page behave normally"
4. Insert the text from the downloaded file into the body of the plugin.
5. Select the onWebPagePrerender box from the System Events tab.
6. Save the plugin

Updates

Added a method to check for URLs included in &lt;input&gt; elements, for example when a drop down form element is used as navigation.