On Thu, Sep 15, 2011 at 9:06 AM, John Jetmore <[email protected]> wrote: > Olemis, thank you for your response... >
:) > On Thu, Sep 15, 2011 at 8:53 AM, Olemis Lang <[email protected]> wrote: >> On Mon, Sep 12, 2011 at 4:39 PM, John Jetmore <[email protected]> wrote: >>> >>> - short of going and editing the source, is there any knob I can turn >>> to get Wiki Macros in type=text custom fields? >>> - taking a step back, is there a solution to my desire to create a >>> link based on a case number that avoids Macros that would work better >>> here? >>> >> >> If the goal is just to generate a link to your CRM, then I suppose a >> Macro is not the right way to do it . It should be implemented as a >> TracLinks provider instead and pasted like this [mycrm:etc:etc:etc any >> text you want] ... nonetheless if you cannot change the plugin source >> code then I guess the only thing left is to live with it ... > > I actually agree with you here. I ended up using InterWiki links > instead of a macro. it's not perfect because my macro generated > different links based on the ID passed to is, but I just replaced it > with two InterWiki links and moved on with my life. > You can do the same (i.e. rendering a link ;) by implementing `get_link_resolvers` method of `trac.wiki.api.IWikiSyntaxProvider` interface ;) > I did open a ticket on this issue after I sent the email. The more I > thought about the issue, it seemed clear that there was definitely a > bug - either the fields should work the same, or the docs for custom > fields should explain the difference. The ticket is > http://trac.edgewall.org/ticket/10352 and it appears to have at least > been considered for future refinement. > Discussion here is beyond custom fields themselves but rather about WikiFormatting and one-liners, and ... so, honestly I guess that documenting this in CF wiki page will be the most recommended approach. -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: Appeartowork - Use Facebook while you appear to work - http://simelo-en.blogspot.com/2011/07/appeartowork-use-facebook-while-you.html Appeartowork - Enmascarando el uso de Facebook - http://simelo-es.blogspot.com/2011/07/appeartowork-enmascarando-el-uso-de.html -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
