-
AuthorPosts
-
October 1, 2014 at 1:46 pm #201753
how can I remove the filter that shows up in Weblink Category page?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 1, 2014 at 3:15 pm #551370Hi there,
You can customize com_weblinks by follow Joomla! component override flow.
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
Thank you,
Viet VuOctober 1, 2014 at 3:47 pm #551374Thank you but can you tell me what file to customize?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 2, 2014 at 7:53 am #551512Hi there,
Would you mind give me exactly ( by screenshot ) which element you want to remove / hide.
I’ll reply with correct code.Thank you,
Viet VuOctober 2, 2014 at 8:36 am #551522jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 3, 2014 at 3:56 am #551615Good morning,
Just inform you that i’m checking on your site.Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 3, 2014 at 4:00 am #551616Hi there,
I have checked into component code
<?php if ($this->params->get('filter_field') != 'hide') :?>
<div class="btn-group">
<label class="filter-search-lbl element-invisible" for="filter-search"><span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span><?php echo JText::_('COM_WEBLINKS_FILTER_LABEL') . '*'; ?></label>
<input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="inputbox" onchange="document.adminForm.submit();" title="<?php echo JText::_('COM_WEBLINKS_FILTER_SEARCH_DESC'); ?>" placeholder="<?php echo JText::_('COM_WEBLINKS_FILTER_SEARCH_DESC'); ?>" />
</div>
<?php endif; ?>
It’s mean this field is allowed to hide via backend configure. Please check this config at your component backend and turn it off.
https://www.dropbox.com/s/vlybwnwryqll8h6/2014-10-03_11-00-08.png?dl=0
Thank you,
Viet VuOctober 3, 2014 at 6:40 am #551677jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 3, 2014 at 7:00 am #551680Hi there,
Than now we need to work with template override.
Please check
pluginssystemt3basehtmlcom_weblinkscategorydefault_items.php
And remove
<?php if ($this->params->get('filter_field') != 'hide') :?>
<div class="btn-group">
<label class="filter-search-lbl element-invisible" for="filter-search"><span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span><?php echo JText::_('JGLOBAL_FILTER_LABEL').'*'; ?></label>
<input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="input" onchange="document.adminForm.submit();"<?php if(version_compare(JVERSION, '3.0', 'ge')) : ?> title="<?php echo JText::_('COM_WEBLINKS_FILTER_SEARCH_DESC'); ?>" placeholder="<?php echo JText::_('COM_WEBLINKS_FILTER_SEARCH_DESC'); ?>"<?php endif; ?> />
</div>
<?php endif; ?>
Or customize it as your needed.
Thank you,
Viet VuOctober 3, 2014 at 7:27 am #551689didn’t work but I found the correct file now, it was in the path:
plugins/system/t3/base-bs3/html/com_weblinks/category/default_items.phpjooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 3, 2014 at 7:32 am #551691Hi there,
Just wonder if you have managed your issue at your side ?Thank you,
Viet VuOctober 3, 2014 at 7:38 am #551692Yes, I did.
but is was another file that needed a fix:plugins/system/t3/base-bs3/html/com_weblinks/category/default_items.php
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
October 3, 2014 at 7:56 am #551693Hi there,
Glad to hear that 🙂
But actually you are touching into “core” file. It’s not suggested. but it’s oki if your issue was resolved.
Thank you,
Viet VuAuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 2 voices, and was last updated by jooservices 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum