Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • vandereyde Friend
    #201753

    how can I remove the filter that shows up in Weblink Category page?

    jooservices Friend
    #551370

    Hi 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 Vu

    vandereyde Friend
    #551374

    Thank you but can you tell me what file to customize?

    jooservices Friend
    #551512

    Hi 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 Vu

    vandereyde Friend
    #551522

    no problem, hereby the requested screenshot

    thank you


    1. Schermafbeelding-2014-10-02-om-10.35
    jooservices Friend
    #551615

    Good morning,
    Just inform you that i’m checking on your site.

    Thank you,
    Viet Vu

    jooservices Friend
    #551616

    Hi 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 Vu

    vandereyde Friend
    #551677

    I’m affraid this is not the solutions. The parameter was already turned of – see screenshot


    1. Schermafbeelding-2014-10-03-om-08.36.54
    jooservices Friend
    #551680

    Hi 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 Vu

    vandereyde Friend
    #551689

    didn’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.php

    jooservices Friend
    #551691

    Hi there,
    Just wonder if you have managed your issue at your side ?

    Thank you,
    Viet Vu

    vandereyde Friend
    #551692

    Yes, I did.
    but is was another file that needed a fix:

    plugins/system/t3/base-bs3/html/com_weblinks/category/default_items.php

    jooservices Friend
    #551693

    Hi 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 Vu

Viewing 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