Page 1 of 1

[Solved] CGBlog: change default entries order in Admin

Posted: Fri Feb 08, 2013 10:57 am
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

Re: CGBlog: change default entries order in Admin

Posted: Fri Feb 08, 2013 11:34 am
by psy
Create a temple in module_custom that displays the list as you want to see it in the admin section.

Re: CGBlog: change default entries order in Admin

Posted: Fri Feb 08, 2013 12:02 pm
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

Re: CGBlog: change default entries order in Admin

Posted: Fri Feb 08, 2013 12:33 pm
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.

Re: CGBlog: change default entries order in Admin

Posted: Fri Feb 08, 2013 12:51 pm
by cb2004
Click 'View Filter Form:' for options.

Re: CGBlog: change default entries order in Admin

Posted: Fri Feb 08, 2013 2:51 pm
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

Re: CGBlog: change default entries order in Admin

Posted: Fri Feb 08, 2013 3:07 pm
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

Re: CGBlog: change default entries order in Admin

Posted: Sat Feb 09, 2013 2:36 am
by henris17
Thanks for the info Rolfs (Dank U wel)

Henri

Re: CGBlog: change default entries order in Admin

Posted: Sun Feb 10, 2013 2:55 pm
by Rolf
In CGBlog 1.9.12 fixed!

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

Posted: Wed Nov 13, 2013 11:01 pm
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

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

Posted: Wed Nov 13, 2013 11:20 pm
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).