[pmwiki-users] How to apply data-rel to an anchor?
mkerz at me.com
Wed Feb 1 14:44:20 CST 2012
I try to apply a data-rel attribute to an anchor tag. I did the following in a custommarkup.php file
SDV($WikiStyle['jqdialoglink'], array('data-rel'=>'dialog', 'apply'=>'a'));
And tried the following syntax on my page:
* %jqdialoglink%[[PageActionsDialog1|This Page ]]%%
What I want to achieve is something like this:
<a class="wikilink" data-rel="dialog" href="/Wiki/PageActionsDialog1">This Page</a>
Unfortunately, the data-rel="dialog" isn't showing up. What am I missing here?
Thanks, as always, for your help!
More information about the pmwiki-users