Hello all,
I searched for this, but couldn't find it anywhere. How does one find the parent ID of a node (if child)?
Here's what I need to do:
Please have a look at http://insearchofsound.com/index.php
First, unless the parent is "join", I need to show only the children of "artists" and "labels" in the left menu (using collapse="1" for "join").
Second, the left and right buttons need to show only for the children of "artists" and "labels".
Any ideas?
Many thanks,
Shmoyks
[SOLVED] Finding node's parent ID
[SOLVED] Finding node's parent ID
Last edited by shmoyko on Wed May 05, 2010 7:42 am, edited 1 time in total.
Re: Finding node's parent ID
Thank you.
CGSimpleSmarty {$cgsimple->get_parent_alias()} does the trick.
CGSimpleSmarty {$cgsimple->get_parent_alias()} does the trick.