Randy Brown <ra...@brownragfilms.com> Wrote in message:
> I?d like to create custom markup to display a link followed by a page text 
> variable of the target page, with the PTV sized slightly smaller. The markup 
> would look like this: [[target|$]] and it would generate this: [[MyPage|My 
> page title]] [-{MyPage$:MyPTV}-]
> The PTVLinkText recipe comes closest to doing this, but I haven?t been able 
> to tweek that to produce what I want. In particular, I don?t know how to 
> attach text after the link in the returned value.
> # This doesn?t work Markup_e('[[|$?, '<[[|',   
> "/(?>\\[\\[([^|\\]]+))\\|\\s*\\$\\s*]]/?,    "Keep(MakeLink(\$pagename, 
> \$m[1],     PageVar(\$pagename, '\$Title')     
> ),?L?)?.?[-PageTextVar($pagename, MyPTV)-]?.); 
> Suggestions? 
> Randy

Not sure if this is a problem, but I notice that some of your
 quotes and approstophes are oblique versions. You might try
 setting your program editor charset to ascii.

Chuck G


-- 


----Android NewsGroup Reader----
http://usenet.sinaapp.com/


_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to