2012-02-16, 04:07:07
Missing feature
Mikeh,
There doesn't seem to be a way to grab an items category for the item record from imdisplay class GetField()
I had to hack it in ( same way you did the title )
It would be nice to get the title and category with $tags when the class is contructed, so these extraneous xml calls aren't needed.
Mikeh,
There doesn't seem to be a way to grab an items category for the item record from imdisplay class GetField()
I had to hack it in ( same way you did the title )
Code:
IMclassDisplay()
getField()
+++ elseif($tag == "category")
+++ { $post_item = $_GET['item'];
+++ $category_data = getXML(ITEMDATA.$post_item.'.xml');
+++ return $category_data->category;
+++ }
It would be nice to get the title and category with $tags when the class is contructed, so these extraneous xml calls aren't needed.