I have two sections: One for events and one for a directy of event locations.
I have a tv (venue) which uses the @select binding to generate a list of possible venues to select from. The list is directly pulled from the directory.
This is then fed into a template and the (venue) is appropriately displayed.
eg: Event Name, (content of the venue TV) and the category its listed in.
That works just fine, but now I would like that (content of the venue TV) do be a link to that page in the directory....
Like Event name, <a href="link to the venue tv">Venue TV name</a>
Since I have the venues in subcategories (eg restaurants --> venue TV name) I am trying to figure out the way to get the association between the two established.
I can get it to the directory (a href="/places/{+venue+} which is one step closer, but I need to get it to both the venue name and its parent.
Which I think maybe a snippet of some sort which would evaluate the venue name to its parent and then somehow return that value back to the template.
But I am wicked confused, see
beta.akronicity.com/this-week for a little clearer representation of what I am trying to accomplish. Each venue in blue should link to the venue in the "places to go" section.
So I guess I am trying to do something like this...
Take the venue name (friendly Version) and associate it with its document alias & its parent document alias.
Return that to the href string.
documentAlias = (value of the venue TV)
document parent alias = (venueTV's parent)
complete string returned = documentParentAlias + /document alias
this would be the template code:
<a href="/places/(complete string returned">[+venueTV+]</a>
sorry just typing out loud here...thanks again