Page 1 of 1

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

Posted: Mon May 07, 2007 2:33 pm
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?

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

Posted: Mon May 07, 2007 3:14 pm
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

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

Posted: Mon May 07, 2007 3:23 pm
by madaha
Works well ! Thanks a lot!