Cheers Mercer, Will get back to you with the results.
Thanks again V On Thu, Oct 27, 2011 at 12:09 PM, AJ Mercer <[email protected]> wrote: > try this > <cfset qGetParent = application.factory.oTree.getParentID(objectID = > stObj.objectID)> > <cfset urlRelated = application.fapi.getLink(objectid=qGetParent .objectID) > /> > > > On 27 October 2011 18:25, venkat reddy <[email protected]> wrote: > >> Hi Guys, >> >> I've just started looking into farcry core cms. >> I am trying to write a code in farcry cms; adding a link at the end of >> the page to its parent page. >> >> I'd do it in wordpress as follows: >> CODE: >> " >> <?php >> $this_page = get_post($id); >> $parent_id = $this_page->post_parent; >> if ($parent_id) { >> $parent = get_page($parent_id); >> echo '<a href="'.get_permalink($parent->ID).'" >> title="">'.get_the_title($parent->ID).'</a>'; >> } >> ?> >> " >> >> Please do let me know, how can this be achieved in coldfusion? >> >> Regards, >> Venkat >> >> -- >> You received this message cos you are subscribed to "farcry-dev" Google >> group. >> To post, email: [email protected] >> To unsubscribe, email: [email protected] >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry > > > > > -- > > *AJ Mercer* > <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org > community="Open" /> <http://webonix.org> > http://twitter.com/webonix > Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/> > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
