> On Jul 27, 3:02 pm, yoheeb <yoh...@gmail.com> wrote:
>
> > would this be possible?  I guess I could actually do it the other way
> > by using a text area field, and using include macro to link to wiki
> > text, however what I would like to do:
>
> > include in the wiki something like:
>
> > ticket X has an estimated hours value of [[GetTicketField
> > (X ,estimatedhours)]]  where X is a ticket number
>
> > What would be the best place to start for a macro like this?
> > IncludeMacro?
>
> > Thanks
[moved to bottom post]
On Jul 28, 4:46 pm, RJOllos <ry...@physiosonics.com> wrote:
> Would one of the SQL macros [1], [2] help you?  Perhaps you can just
> pull from the ticket_custom table.
>
> [1]http://trac-hacks.org/wiki/SqlQueryMacro
> [2]http://trac-hacks.org/wiki/WikiTableMacro
>

Yes, thanks, the WikiTableMacro plugin added support for scalars. (1x1
result sets)  I will probably wrap that so that i can use my sample
format in the OP, as right now I to include the sql directly, but,
that's no biggie.

It's a nice piece of the puzzle for what I am trying to do with the
wiki at the moment.  man I love this tool.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to