3
Quote:
btesec wrote:
Thanks for the fix. Also, I noticed that when I used the search block the categories appear in alphabetical order and not showing categories with subcategories...
Yes, I had a bit of a problem with that.
I agree the category select menu in the submit form is nicer because it show sub-cats. The original search menu was similar:
ob_start();
$xt->makeMySelBox('topic_title','topic_title ASC',0,0, 'topic_id');
$search_form->addElement(new XoopsFormLabel(_MD_CATADS_SEARCH_CATEGORY, ob_get_contents()));
ob_end_clean();
However, the script that processes the search query (adslist.php) needs to get the 'topic_id' from that select menu and the above method doesn't seem to pass that data. That's why I reverted to an old method which passes both 'topic_title' and 'topic_id' to the script.
I'm kinda learning as I go along. It will be fixed before the final version
I have released an RC today which now correctly asks for a key-word in the search form. Blocks, RSS and search also respect category permissions. SEO is improved too with dynamically generated meta tags.
Thx for the feedback.
A thread is for life. Not just for Christmas.