-
AuthorPosts
-
timmiller Friend
timmiller
- Join date:
- August 2008
- Posts:
- 169
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 3 times in 1 posts
March 23, 2011 at 1:40 am #161800Hey Guys,
I’m not sure if this a Joomla question or a template question…
I’d like to remove ordering and all the check boxes…see image.
Not sure how to do it. I tried changing a few files but nothing really.
Thanks!Tim
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 23, 2011 at 7:40 am #382833Hello,
Go to this path componentscom_searchviewssearchtmpldefault_form.php
Remove this code for ordering in default_form.php
<tr>
<td colspan="3">
<label for="ordering">
<?php echo JText::_( 'Ordering' );?>:
</label>
<?php echo $this->lists['ordering'];?>
</td>
</tr>And also remove this code for checkbox in default_form.php
<?php if ($this->params->get( 'search_areas', 1 )) : ?>
<?php echo JText::_( 'Search Only' );?>:
<?php foreach ($this->searchareas['search'] as $val => $txt) :
$checked = is_array( $this->searchareas['active'] ) && in_array( $val, $this->searchareas['active'] ) ? 'checked="checked"' : '';
?>
<input type="checkbox" name="areas[]" value="<?php echo $val;?>" id="area_<?php echo $val;?>" <?php echo $checked;?> />
<label for="area_<?php echo $val;?>">
<?php echo JText::_($txt); ?>
</label>
<?php endforeach; ?>
<?php endif; ?>
1 user says Thank You to chavan for this useful post
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
timmiller Friendtimmiller
- Join date:
- August 2008
- Posts:
- 169
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 3 times in 1 posts
March 23, 2011 at 2:09 pm #382896Chavan,
Thanks much- that was it. I can’t believe so many levels of directories to get to that page…
thanks again!
khoand- there is nothing in Search Component except Statistics.
Tim
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 23, 2011 at 4:46 pm #382919you are most welcome Timmiller
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 3 voices, and was last updated by chavan 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Search Component Adjustment
Viewing 5 posts - 1 through 5 (of 5 total)