Welcome, Guest. Please Login
Tinderbox
  News:
IMPORTANT MESSAGE! This forum has now been replaced by a new forum at http://forum.eastgate.com and no further posting or member registration is allowed. The forum is still accessible via read-only access for reference purposes. If you wish to discuss content here, please use the new forum. N.B. - posting in the new forum requires a fresh registration in the new forum (sorry - member data can't be ported).
  HomeHelpSearchLogin  
 
Pages: 1
Send Topic Print
LinkTo parent of the original of an alias (Read 3213 times)
Paul Walters
Ex Member




LinkTo parent of the original of an alias
Mar 17th, 2009, 9:39am
 
I have an agent that collects notes from throughout the document (i.e., from a number of containers) based on the boolean state of a user attribute.  I am creating an export template for that agent and its children - the aliases of the original notes.  I would like to "linkTo" the parent of the original.

In other words, in this example structure I would like the HTML output of alias of note 1 to contain a link to Original Container.  

I understand "linkTo(parent)" (results in a link to the agent), and "linkTo(original)", but is there syntax such as "linkTo(original(parent))"?

Original Container
  • original note 1
  • original note 1


Agent
  • alias of note 1
  • alias of note 2



Back to top
 
 
  IP Logged
Mark Bernstein
YaBB Administrator
*
Offline

designer of
Tinderbox

Posts: 2871
Eastgate Systems, Inc.
Re: LinkTo parent of the original of an alias
Reply #1 - Mar 17th, 2009, 10:26am
 
You want the argument of linkTo to be the parent of the original note.

    ^linkto(parent(original))

Back to top
 
 
WWW   IP Logged
Pages: 1
Send Topic Print