CMS MADE SIMPLE FORGE

News Module

 

[#11567] Please allow limiting min/max depth of News categories in output

avatar
Created By: Rimas Kudelis (rimas)
Date Submitted: Tue Sep 12 04:26:52 -0400 2017

Assigned To:
Version: None
CMSMS Version: None
Severity: None
Resolution: Invalid
State: Open
Summary:
Please allow limiting min/max depth of News categories in output
Detailed Description:
When calling News module, please allow limiting starting and ending depth of
News categories in output.

In my news page, I want to limit the categories shown in the category list to
just one particular level. I'm currently doing this by skipping undesired
category nodes in Smarty, but this is a sloppy approach as it makes it difficult
to track the amount of closing tags I should use. This isn't a big deal when
outputting just one level, but if I wanted to output two or more, it would be a
problem.

Thus I want to propose adding support for two additional optional parameters to
the News block: something like mincatlevel and maxcatlevel.


History

Comments
avatar
Date: 2017-09-12 09:47
Posted By: Robert Campbell (calguy1000)

This is not a bug report, and not the intended usage of News
      
avatar
Date: 2017-09-12 10:00
Posted By: Rimas Kudelis (rimas)

Yes, it's a feature request. Not sure where I was supposed to file it, but
usually such things go to the bugtracker along with biugs.

What do you mean by "not the indented usage" though? Do you think the use-case
of wanting to limit the amount of categories shown is not valid?
      
Updates

Updated: 2017-09-12 09:47
resolution_id: 5 => 9

Updated: 2017-09-12 04:27
summary: Please allow => Please allow limiting min/max depth of News categories in output
resolution_id: => 5