-
AuthorPosts
-
7of9 Friend
7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
October 26, 2015 at 8:15 am #731804Hi,
I am trying to hide the checkboxes of the search component, since I want to search everywhere.
I went to the search component oprions and switched “Use Search Areas” option to no, but it is not working, for I can still see the checkboxes.Please advise.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 27, 2015 at 9:00 am #752924Hi,
In this case, I need to check that problem directly on your site, you can pm me the credentials info.
Regards
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
October 27, 2015 at 3:01 pm #752958PM send. Thanks for your help.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 28, 2015 at 9:13 am #753024<em>@7of9 499557 wrote:</em><blockquote>PM send. Thanks for your help.</blockquote>
It’s very strange with the problem on your site but you can use this way to fix the problem on your site
+ Create templates/ja_fixel/html/com_search/search/ folder
+ Copy plugins/system/t3/base/html/com_search/search/default_form.php file
+ Paste to templates/ja_fixel/html/com_search/search/ folder
+ Open default_form.php file find and remove script below
<?php if ($this->params->get('search_areas', 1)) : ?>
<fieldset class="only">
<legend><?php echo JText::_('COM_SEARCH_SEARCH_ONLY');?></legend>
<?php foreach ($this->searchareas['search'] as $val => $txt) :
$checked = is_array($this->searchareas['active']) && in_array($val, $this->searchareas['active']) ? 'checked="checked"' : '';
?>
<label for="area-<?php echo $val;?>" class="checkbox">
<input type="checkbox" name="areas[]" value="<?php echo $val;?>" id="area-<?php echo $val;?>" <?php echo $checked;?> >
<?php echo JText::_($txt); ?>
</label>
<?php endforeach; ?>
</fieldset>
<?php endif; ?>
Let me know if it helps
1 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by 7of9 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum