I'm trying to display the metadata keywords associated with a content item when I
display the content item itself.
Currently, I get the content item than do the following in the display handler:
if(not StructIsEmpty(article.stKeywords)) {
for (thisItem in article.stKeywords) {
if(thisItem is not "lcategories")
writeOutput("#thisItem#<br>");
}
}
This works but it seems dumb to have to filter out the ever present "lcategories" key.
What is the better way to accomplish this?
While I'm at it...if I want to hotlink that keyword I see that the keyword ID is not
stored in the content item. Is the best way to get that to query the parent category
then loop through the structure trying to find a string match then grab the oID?
thanks
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.