Eventum:Manage Link Filters

Eventum Menu: Home - Documentation - FAQ - Help

Link filters are used to replace text with an automatic link to some external resource. It uses regular expressions to replace the text.

Specify the search pattern in the pattern field without delimiters. Specify the entire string you would like to use as a replacement to the matched text.

[edit] Useful link filters

[edit] linking to eventum attachment

pattern:

attachment(?:_id)? #?(\d+)

replacement:

<a class="link" href="/download.php?cat=attachment&id=$1">$0</a>

description:

eventum attachment

note id you can grab by copying link url.

[edit] linking to eventum note

pattern:

note[_ ]id[= ]#?(\d+)

replacement:

<a title="view note details" href="javascript:void(null);" onClick="javascript:viewNote($1, 0);" class="link">$0</a>

description:

eventum note

note id is little complicated, you have to copy the id from link of the popup window.

Retrieved from "http://forge.mysql.com/wiki/Eventum:Manage_Link_Filters"

This page has been accessed 1,467 times. This page was last modified 12:29, 23 June 2009.

Find

Browse
MySQLForge
Main Page
Current events
Recent changes
Random page
Help
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Special pages
New pages
File list
Statistics
Bug reports
More...