How Do I Remove the 'Filter' Box From NewsFeed Pages?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Mar 01, 2011 7:43 am
How Do I Remove the 'Filter' Box From NewsFeed Pages?
I turned off everything for the feeds, so only the links to the feed pages are displayed, but this box and the word 'Filter' remain. Anyone know how to hide that or remove it?
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: How Do I Remove the 'Filter' Box From NewsFeed Pages?
I don't have nything like that showing. Can you please show a fuller page view and also a screen shot of your menu settings? Is this the single newsfeed view?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Mar 01, 2011 7:43 am
Re: How Do I Remove the 'Filter' Box From NewsFeed Pages?
You only see this box on Single Category pages, not on Feed or Category List pages. This is what remains after you uncheck all the boxes under List Layout:
The same thing happens in the Single Category page for Weblinks also.
Here is the solution, if you want to remove it permanently. You have to edit /components/com_newsfeeds/views/category/tmpl/default_items.php. Remove the following lines:
This will you remove the Filter box entirely. You can do the same thing for Weblinks by removing the same lines from /components/com_weblinks/views/category/tmpl/default_items.php.
The problem occurs because unchecking the box for Display Select does not remove the box, only the dropdown menu inside the box.
The same thing happens in the Single Category page for Weblinks also.
Here is the solution, if you want to remove it permanently. You have to edit /components/com_newsfeeds/views/category/tmpl/default_items.php. Remove the following lines:
Code: Select all
<form action="<?php echo JFilterOutput::ampReplace(JFactory::getURI()->toString()); ?>" method="post" name="adminForm" id="adminForm">
<fieldset class="filters">
<legend class="hidelabeltxt"><?php echo JText::_('JGLOBAL_FILTER_LABEL'); ?></legend>
<?php if ($this->params->get('show_pagination_limit')) : ?>
<div class="display-limit">
<?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?> 
<?php echo $this->pagination->getLimitBox(); ?>
</div>
<?php endif; ?>
</fieldset>
The problem occurs because unchecking the box for Display Select does not remove the box, only the dropdown menu inside the box.
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: How Do I Remove the 'Filter' Box From NewsFeed Pages?
First, never edit lines like that, copy that to your template html folder and make thechanges there.
Second, I had n problem checking Hide fod Display Select and making the filter disappear although I did not get the word filter anywhere. You may need to check the options n the menu item which may be set to show instead of use global.
Second, I had n problem checking Hide fod Display Select and making the filter disappear although I did not get the word filter anywhere. You may need to check the options n the menu item which may be set to show instead of use global.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Mar 01, 2011 7:43 am
Re: How Do I Remove the 'Filter' Box From NewsFeed Pages?
I tried that first. After I disabled the Filter in both the Global and the Newsfeed settings, it still didn't remove the box. Possibly it could be due to the Artisteer template I'm using, although try as I might, I couldn't find any settings in the program that could be related to that one box. I'll do as you recommend however. That way, the file doesn't get overwritten during upgrades.
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun Feb 03, 2008 4:59 pm
Re: How Do I Remove the 'Filter' Box From NewsFeed Pages?
Same problem here. Joomla 2.5.4, Display Select set to hide both in the Newsfeed Manager Options and in the Menu Manager List Options, and the box is gone but the word "Filter" remains hanging out there. Any suggestions? Using a Rockettheme template.
I will try that override if I can't find it in these various settings.
I will try that override if I can't find it in these various settings.