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

Reply via email to