-
AuthorPosts
-
April 11, 2011 at 1:23 pm #162642
Hi There. I recently joined the extensions club and downloaded the K2 Filter/Search. If you look at the attached screenshot enabling Categories Drop Down in the Module does not allow you to select Categories. Also when the search is clicked on the module I just want the results to appear in the main text area not another search dialogue ? Please help.
Regards
Peter
April 12, 2011 at 9:05 am #385904Hi There, please can I get some feedback on this. I did by my $50. Regards Peter
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 13, 2011 at 11:30 am #386161You can change some code my suggestion may be helpful for you
In plugin params config set “show categories drop-down” to “Yes” value.
Goto ja_k2filter.php in plugins/seach/ folder and set default value for categories drop-down to your specific category as syntax
$value ='{your extrafield group id}_{your specific category id}’; ex: group id is 1 and category id is 1 => $value = ‘1_1’ ;
before code<blockquote>$out = JHTML::_(‘select.genericlist’, $mitems, ‘catid’, ‘class=”inputbox” style=”width:95%;” size=”1″ onchange= ‘.$onchange, ‘value’, ‘text’, $value );</blockquote>
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by Ninja Lead 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Category Drop Down does not work
Viewing 3 posts - 1 through 3 (of 3 total)