Ascending
Ascending
Sorry. Sometimes I miss some posts.
I'm not completely sure where the Sort Ascending button is...
I'm not completely sure where the Sort Ascending button is...
-
TNTH
Screenshot
No problem, it's getting busy here. Even I'm not able anymore to read all the posts
The Sort Ascending button is at Content Management >> News (if you'll have a newspage and at Content Type chose News)
Here is a screenshot (49 kb, 1024x660px, gif).
Hope you can help me, I currently am using 0.8.2 at the website.
The Sort Ascending button is at Content Management >> News (if you'll have a newspage and at Content Type chose News)
Here is a screenshot (49 kb, 1024x660px, gif).
Hope you can help me, I currently am using 0.8.2 at the website.
-
TNTH
Re: Ascending
Jeah... i solved my problem....here's what i changed
Within the cmsmadesimple\modules\news\News.module.php file
CMS version: 0.9.2
old 274:
new 274:
old 1010:
new 1010:
I looked at a similar option(Show Category)...at least i think it workes the same, i edited the above lines while thinking of the similar option.
and it worked for me.
I would like to have feedback on this code if anyone has problems.
In version 0.8.2 the following file has to be changed: cmsmadesimple\modules\news\modulefunctions.php
old 134:
new 134:
It should work now in 0.8.2 too.
good luck
Within the cmsmadesimple\modules\news\News.module.php file
CMS version: 0.9.2
old 274:
Code: Select all
if (isset($params["sortasc"]))Code: Select all
if ($params["sortasc"]==0)Code: Select all
if (isset($params['sortasc']) && $params['sortasc'] == 1)Code: Select all
if (isset($params['sortasc']))and it worked for me.
I would like to have feedback on this code if anyone has problems.
In version 0.8.2 the following file has to be changed: cmsmadesimple\modules\news\modulefunctions.php
old 134:
Code: Select all
if (isset($params["sortasc"]))Code: Select all
if ($params["sortasc"]==0)good luck
Last edited by TNTH on Thu Mar 03, 2005 11:12 am, edited 1 time in total.
-
Sjors
Re: Ascending
I am using version 0.9.2 and I was able to find the code
Sjors
(although only once and not at the same line number), but notif (isset($params["sortasc"]))
. So I changed the first part, but this doesn't have any effect.if (isset($params['sortasc']) && $params['sortasc'] == 1)
Sjors
-
Nicke
Re: Ascending
The bug still hasnt been fixed!
I have the lates version and the code looks like this:
Could someone fix this soon?
I have the lates version and the code looks like this:
Code: Select all
if (isset($params["sortasc"]))
{
$query .= "asc";
}
else
{
$query .= "desc";
}
