Using # in RELATIVE_URL

Get help developing custom BBCodes or request one.
Post Reply
jtaubman
Registered User
Posts: 17
Joined: Thu Aug 09, 2012 3:16 pm

Using # in RELATIVE_URL

Post by jtaubman »

I have the following BB custom code

Code: Select all

[kb]{RELATIVE_URL}|{TEXT2}[/kb]

which converts using
<a href="../wiki/doku.php?id={RELATIVE_URL}" class="postlink">Knowledge Base {TEXT2}</a>
This works fine unless someone want's go to to a section on a page at which point it does not resolve.

e.g
This Works

Code: Select all

[kb]how_to:report_content_multimedia_format_layout|Book Free Page Content[/kb]
This does not resolve

Code: Select all

[kb]how_to:report_content_multimedia_format_layout#book_free_page_content|Book Free Page Content[/kb]
I assume {RELATIVE_URL} is not accepting the # but it's a valid url, how can I get it to do so please.

I am currently running 3.1.10
Post Reply

Return to “Custom BBCode Development and Requests”