how to edit recently_updated tag behavior?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

how to edit recently_updated tag behavior?

Post by zeroality »

I posted something here, in the General Discussion forums regarding the recently_updated tag.

To sum it up, it shows pages as updated when they aren't - for instance, if a page is re-ordered after creation then it will show the pages that it jumps over as being updated. Hopefully this will be fixed in a future version.

In the meantime, I am comfortable with editing the files for the tags (but am not fluent in PHP) so if anybody could tell me what php code to change/remove in the function.recently_updated.php file to stop this behavior, I would really appreciate it!

I've actually already edited that file myself, to change some things design-wise (regarding the UL/div/classes, etc) so no worries about "hey you should leave it alone" or anything like that.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: how to edit recently_updated tag behavior?

Post by M@rtijn »

zeroality wrote:...change/remove in the function.recently_updated.php file to stop this behavior, I would really appreciate it!

I've actually already edited that file myself, to change some things design-wise (regarding the UL/div/classes, etc) so no worries about "hey you should leave it alone" or anything like that.
You *should* leave the php files alone. Design-wise there is nothing to change there!

Changing, removing or adding things to php files are considered as 'core-hacks' and are not allowed/supported on this forum.
Make your community a better place!
User avatar
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

Re: how to edit recently_updated tag behavior?

Post by zeroality »

Should I post in the Developer forum instead?

I mean, moving pages to re-order them in the page listing for the sake of convenience is not updating them...

Besides, it's not like I can't grab the CMSMS package and re-upload the file if needed.

And yes, there was something to change. The div wrapping the list was unnecessary (as far as my design was concerned). There was no other way to change that other than editing the file, as far as I could tell.

All I'm trying to do is fix something and you guys are the best people to ask since you know the software.

Sorry if that came out sounding rude but it's almost my bedtime. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: how to edit recently_updated tag behavior?

Post by Dr.CSS »

You could always fork it and make your own 'tag' to do what you want...
User avatar
zeroality
Forum Members
Forum Members
Posts: 64
Joined: Mon Aug 14, 2006 10:41 am

Re: how to edit recently_updated tag behavior?

Post by zeroality »

Thanks.

My apologies. I wasn't aware of the notice posted 4 months ago disallowing the posting of hacks of CMSMS/modules, which I suppose this squarely falls under.

I'll try and muck my way through best as I can. Thanks again.
Post Reply

Return to “CMSMS Core”