[Solved] CGBlog: change default entries order in Admin

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
henris17
Forum Members
Forum Members
Posts: 70
Joined: Sun Feb 06, 2011 11:11 pm

[Solved] CGBlog: change default entries order in Admin

Post by henris17 »

Hello,

Is there a way to change the default order of the entries in content>blog-module>entries ?

Actually (on cgblog 1.9.11) in admin the articles are sorting alphabetically on title and a page sorting on reverse post-date. I would really prefer to see (like it was on cgblog 1.8) all the articles in reverse post date order (from last to first).

I know we can now click on the columns to get that, but it would be simpler to have it as default. How can I do that ?

Cheers

Henri
Last edited by henris17 on Mon Feb 11, 2013 1:17 am, edited 3 times in total.
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: CGBlog: change default entries order in Admin

Post by psy »

Create a temple in module_custom that displays the list as you want to see it in the admin section.
henris17
Forum Members
Forum Members
Posts: 70
Joined: Sun Feb 06, 2011 11:11 pm

Re: CGBlog: change default entries order in Admin

Post by henris17 »

Create a temple in module_custom that displays the list as you want to see it in the admin sectio
n.

Sorry, it does not make much sense to me (i am rather a beginner in programming) , where is module_custom located ?
I assume that "temple" is a template, which change should I do / based on which existing template ? Isn't there any settings to change this from the back-office side ?

Henri
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: CGBlog: change default entries order in Admin

Post by psy »

It's late and I'm a bit tired so my typing is not up to scratch. Yes, I meant template.

module_custom is a directory you create to override the default admin files. See http://docs.cmsmadesimple.org/customizi ... -templates for more info.

You need to find the module template you want to change, copy it to module_custom including the identical file path then make your changes.
cb2004
Power Poster
Power Poster
Posts: 317
Joined: Wed Jul 04, 2007 3:39 pm

Re: CGBlog: change default entries order in Admin

Post by cb2004 »

Click 'View Filter Form:' for options.
henris17
Forum Members
Forum Members
Posts: 70
Joined: Sun Feb 06, 2011 11:11 pm

Re: CGBlog: change default entries order in Admin

Post by henris17 »

Thank you,

Yes this is what I did and it is not working, selecting the post date descending is not rearranging the articles correctly. I think there might be a bug in the latest CGBlog version as it was working OK with previous versions. I use PHP 5.2 (maybe this might be the cause
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: CGBlog: change default entries order in Admin

Post by Rolf »

You mean the order of articles in the admin bloglist?
It is ordered by blog title now instead of postdate...

I mentioned this to Calguy1000 a few days ago. As far as I know he changed it in the SVN, so will be shipped in next release.

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
henris17
Forum Members
Forum Members
Posts: 70
Joined: Sun Feb 06, 2011 11:11 pm

Re: CGBlog: change default entries order in Admin

Post by henris17 »

Thanks for the info Rolfs (Dank U wel)

Henri
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: CGBlog: change default entries order in Admin

Post by Rolf »

In CGBlog 1.9.12 fixed!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
wazman21
Forum Members
Forum Members
Posts: 24
Joined: Wed Jul 07, 2010 1:52 pm

Re: [Solved] CGBlog: change default entries order in Admin

Post by wazman21 »

Hi all,

Hate to dredge this up, but I'm having this issue in CGBlog 1.10.3 running version 1.11.9 - my articles appear to be sorted randomly, but what's strange is when the CGBlog admin page first loads, the articles are sorted correctly for a brief moment before becoming jumbled. SO much so that the alternating rows are highlighted grey, but then they rearrange and the highlights are all over the place. I've attached a screenshot so you can see what I mean - any assistance or pointers would be greatly appreciated!

Also FYI, I'm having this error on one CMSMS site but not another one with the same configuration, so I'm a bit stuck!

EDIT: Sort order on the front end works perfectly.
Screenshot 2013-11-14 09.29.59.png
wazman21
Forum Members
Forum Members
Posts: 24
Joined: Wed Jul 07, 2010 1:52 pm

Re: [Solved] CGBlog: change default entries order in Admin

Post by wazman21 »

Update - after trying to set times using multiple methods (htaccess, php.ini and more), it appears changing the date format string in user preferences did the trick (changing from %x %X as it had been before to %m/%d/%Y).
Post Reply

Return to “Modules/Add-Ons”