This is the sort of thing that Hobo is good at.

I don't completely understand what you're asking, but you might want
something like:

<def tag="view" for="PersonLink">
  <a href="&this.url"><view:name /></a>
</def>

The other tag that you might want to redefine/extend similarly would
be the "card" tag.

cheers,
Bryan


On Apr 16, 1:37 pm, skeemer <[email protected]> wrote:
> I have a Person and PersonLink models. The PersonLink has :name
> and :url. What I would like to do is anytime that :name is displayed,
> it is turned into a real link. Like on the page for editing people, it
> lists the link names, but I want those names to be real links to the
> associated :url. I don't want to change it for just that page, though.
> Basically, anytime that a PersonLink is displayed, :name will be a
> link.
>
> Maybe this is simple, but I'm a Hobo noob and still trying to wrap my
> mind around DRYML and Rapid.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to