Wednesday 29 November 2006 4:54:20 am
Hi folks, here's the thing: I have a folder named "Themes" and sub-folders like "Sports" "People" "News" to categorize all articles I publish. Only Main Nodes. To differentiate between current issues and older ones I have a folder named "Current" where I store all articles I want to display in the "Current Issues" <div>. The folder is practically functioning as a flag. Now. On another <div> I want to display all articles, excluding those articles who have a second location, namley the "Current Issue" folder/location. SO:
--------------------------------------------------------------------------------------------------------------------------------
Is there any attribute or other way to find out, if an object has more than one locations?
In this case I would just loop through all articles, excluding those who have a location named "Current Issues"? -------------------------------------------------------------------------------------------------------------------------------- The other way, would probably be a nested loop, the outer loops all articles, the inner only those who are in the folder "Current Issues", and then compare the nodes if they match. If yes, I could just issue an {continue} in the loop. This solution is not preferred though, for the processing time. Any answer is appreciated.
thanks..
|