Re: search plugin problem
Posted: 15 Apr 2009, 07:13
hi,
Nice to hear that finally your problem is solved...but with some problems..well i can help you in solving one of your problem..
for showing categories you can addresult it will produce will be in this form category2: img1 (name of the category:image name) I hope this is what you want. You can ad it in the required position.
I am not getting what item-id you are talking about..coz in my case i have used this and it is generating the correct output. No problem is there. I think item-id you are talking about the id of a category like if you have 2 categories cat 1 and cat2 then cat1 will have some id and i dont know how to add it even in my case i have not used item-id and its not creating any problem whther you have 1 category or more then one..
I dont know how to add it
Nice to hear that finally your problem is solved...but with some problems..well i can help you in solving one of your problem..
for showing categories you can add
Code: Select all
<?php echo $result->title; ?>
I am not getting what item-id you are talking about..coz in my case i have used this
Code: Select all
$list1[$key]->href = JRoute::_('index.php?option=com_phocagallery&view=detail&catid='.$item->catslug.'&id='.$item->slug.'&tmpl=component');
I dont know how to add it