How to remove Article Filtering in Joomla! 1.5.* when having a menu item with type “Display a list of Categories in a Section” or “Section Layout”

H

If you have a menu item with type “Category List” then it’s under the Basic Parameters options. More on this click here

Unfortunately there isn’t an easy option for this yet in type “Section Layout“. To remove the Article Filtering option you need to do some code modifications.

  1. Locate the following filecomponents\com_content\views\category\tmpl\default_items.php
  2. Replace the following line <?php if ($this->params->get(‘filter’) || $this->params->get(‘show_pagination_limit’)) : ?> with <?php if (!$this->params->get(‘filter’) || !$this->params->get(‘show_pagination_limit’)) : ?> it should be on line 16
  3. Save the file
  4. Reload the page and the problem should be solved.

NOTE: Maybe in future this will be possible via the Joomla! Administrator backend. When article was published our current Joomla! version was 1.5.10

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me