Differences

This shows you the differences between two versions of the page.

english:navigation:little-helper:micro-navigation [2009/04/25 08:06]
127.0.0.1 external edit
english:navigation:little-helper:micro-navigation [2018/06/03 18:09] (current)
Line 13: Line 13:
<a href="[PHP]echo FE_CURRENT_URL[/PHP]#top" class="footer-tools-top" title="@@nach oben@@"></a> <a href="[PHP]echo FE_CURRENT_URL[/PHP]#top" class="footer-tools-top" title="@@nach oben@@"></a>
<a href="[PHP]echo FE_CURRENT_URL[/PHP]&amp;print=1" class="footer-tools-print" title="@@diese Seite drucken@@"></a> <a href="[PHP]echo FE_CURRENT_URL[/PHP]&amp;print=1" class="footer-tools-print" title="@@diese Seite drucken@@"></a>
 +</code>
 +
 +===== Some more =====
 +
 +You can use this within text to link to anchors:
 +<code>
 +[a=dahin.html#anker]LinkText[/a]
 +</code>
 +===== And Some more =====
 +Anchor
 +<code>
 +    {a:#jump}
 +</code>
 +
 +will generate
 +<code>
 +<a id="jump"></a>
 +</code>
 +
 +Relative URL in current page
 +<code>
 +    <a href="{a:REL#jump}">
 +</code>
 +
 +Absolute URL
 +<code>
 +    <a href="{a:ABS#jump}">
 +</code>
 +
 +And a little FE-render script
 +<code>
 +<?php
 +// -----------------------------------------------------------------------------
 +// Anchor-Link den "neueren" phpwcms-Versionen "anpassen"
 +//  + andere Sprung-Anker
 +// -----------------------------------------------------------------------------
 +
 +   $content["all"] = str_replace("a href='#", "a href='".rel_url()."#", $content["all"]);
 +   // oder
 +   // $content["all"] = str_replace("a href='#", "a href='".abs_url()."#", $content["all"]);
 +?>
</code> </code>
english/navigation/little-helper/micro-navigation.1240639563.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0