can you show menu text instead of title in content admin page

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
dont

can you show menu text instead of title in content admin page

Post by dont »

Image

Why do you see the title of the page and not the menu text?

Can I change this?
dont

Re: can you show menu text instead of title in content admin page

Post by dont »

I edit admin/liscontent.php

line 660   
      $thelist .= "Id()."&page=".$page."\">".$one->Name()."\n";

replaced with

          $thelist .= "Id()."&page=".$page."\">".$one->MenuText()."\n";


give's the right effect,


But I want to change it also when you order the page's
I now it this line 414:
$output .= '('.$contentops->CreateFriendlyHierarchyPosition($content->mHierarchy).') '.$content->mName;

How can I change it sow it also give's the menu text instead of the title text
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: can you show menu text instead of title in content admin page

Post by Dr.CSS »

Did you try replacing this with MenuText...

$output .= '('.$contentops->CreateFriendlyHierarchyPosition($content->mHierarchy).') '.$content->mName;
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: can you show menu text instead of title in content admin page

Post by Ted »

$content->MenuText() should work.
Post Reply

Return to “Developers Discussion”