I have been struggling to put the parent term id of the node's term in views argument. Let me explain why am I trying to do such a weird thing. Well, on the term page I am showing a block with list of all the nodes under that term. But the moment one clicks at any node, that block disappears as the default argument (for term id) in the view is: if (arg(0) == 'taxonomy' && arg(2) != '') { return arg(2); } That is for the taxonomy arrangements like team>>Country>>Australia>> features, Articles etc. Here: vocabulary is Team: Country is main term, Australia is Child term and Feature, Articles etc. are child's children terms That is okay. But since I want to show the Block on that term's node pages also, I want to pull that node's term's parent term'ID [because node is (say) an article under Feature and the block of list of nodes I am showing is Under Australia term.] so that I could add further argument like: elseif(arg(0) == 'node') { then ...... Plz help.