How to show " menu text" instead of "title" in " recently updated"?

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.
Locked
madaha

How to show " menu text" instead of "title" in " recently updated"?

Post by madaha »

"Title" is usually longer than "menu text". Long titles make the 'recently updated" hard to read. I want to use short "menu text" in "recently updated". Anyone help me to modify the file "function.recently_updated.php" in plugins folder?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: How to show " menu text" instead of "title" in " recently updated"?

Post by tsw »

This should probably be coded as a parameter, but as a quick fix on line 75 change:

    $output .= 'GetURL().'">'.$updated_page['content_name'].'';

to

    $output .= 'GetURL().'">'.$updated_page['menu_text'].'';

hope this helps
madaha

Re: How to show " menu text" instead of "title" in " recently updated"?

Post by madaha »

Works well ! Thanks a lot!
Locked

Return to “CMSMS Core”