How to add another Group By option
5 posts
• Page 1 of 1
How to add another Group By option
Hello, I would like to know how to add another Group By option, specifically have the option be "No Grouping".
I am a novice programmer and am hoping some people with more experience can speak up and help me.
in the xml file I added the option for no grouping
Now I go into the actual programming of the module (the helper.php file) and I see the if statements for section and category -> if (global == 'c')
It doesn't seem like it would be that hard to do an if global=n statement which is not grouped...if you know what you are doing, which I do not. Or maybe I am wrong and it is not so simple.
Anyway, global news is my favourite module by far and it has allowed me to do various things on my site, things it was not made for but which no other module would do and this is the one thing missing because I want to be able to automatically list all the newest articles, with their images without being grouped by category. I haven't found another module that does this...they all miss one thing. Either you have to specify the articles yourself, or they do not show the image.
I am a novice programmer and am hoping some people with more experience can speak up and help me.
in the xml file I added the option for no grouping
- Code: Select all
<param name="global" type="radio" default="s" label="Group by" description="Choose how to group the lists">
<option value="s">Section</option>
<option value="c">Category</option>
<option value="n">No Grouping</option>
</param>
Now I go into the actual programming of the module (the helper.php file) and I see the if statements for section and category -> if (global == 'c')
It doesn't seem like it would be that hard to do an if global=n statement which is not grouped...if you know what you are doing, which I do not. Or maybe I am wrong and it is not so simple.
Anyway, global news is my favourite module by far and it has allowed me to do various things on my site, things it was not made for but which no other module would do and this is the one thing missing because I want to be able to automatically list all the newest articles, with their images without being grouped by category. I haven't found another module that does this...they all miss one thing. Either you have to specify the articles yourself, or they do not show the image.
- anniejackson
- Fresh Boarder

- Posts: 7
- Joined: Sun Sep 13, 2009 10:41 am
Re: How to add another Group By option
Hello,
I would suggest you try Filtered News Module which offers very similar layouts for many different News Display criteria. You can see a live demo here:
http://joomla.vargas.co.cr/demos/22-con ... tered-news
Thank you!
I would suggest you try Filtered News Module which offers very similar layouts for many different News Display criteria. You can see a live demo here:
http://joomla.vargas.co.cr/demos/22-con ... tered-news
Thank you!
-

chus - Administrator

- Posts: 455
- Joined: Thu Sep 13, 2007 2:21 am
- Location: Costa Rica
Re: How to add another Group By option
chus wrote:Hello,
I would suggest you try Filtered News Module which offers very similar layouts for many different News Display criteria. You can see a live demo here:
http://joomla.vargas.co.cr/demos/22-con ... tered-news
Thank you!
Yes I saw this before but this is exactly the problem. I don't want it filtered at all. The filtered news shows newest articles from the current category. Not what I want. I want global news except I want it to not group the items together by category, just show the newest articles organized by date in ALL categories. It can't be that hard, can it?
- anniejackson
- Fresh Boarder

- Posts: 7
- Joined: Sun Sep 13, 2009 10:41 am
Re: How to add another Group By option
You can actually disable the filtering options from Filtered News.
-

chus - Administrator

- Posts: 455
- Joined: Thu Sep 13, 2007 2:21 am
- Location: Costa Rica
Re: How to add another Group By option
chus wrote:You can actually disable the filtering options from Filtered News.
Oh, perfect! Than that may work. I did not see that in the description. Thanks
- anniejackson
- Fresh Boarder

- Posts: 7
- Joined: Sun Sep 13, 2009 10:41 am
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest