We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1331
    • 129 Posts
    One of my biggest issues since the beginning is that the Manager tree uses the pagetitle as the name instead of menutitle. The problem with this is that once you start adding your SEO-ready page titles, they get very long and are no longer easily recognizable as the page that you’re referencing.

    In Evolution, I’ve always simply changed the manager code to ask for menutitle and my problem was solved. In Revo, however, this has been a challenge.

    Does anyone know where or how to make this type of change in Revo?

    I would also like to make a motion that this be formally changed in the core, because I can’t imagine a situation where pagetitle would ever be a better choice than menutitle when referencing a page *in the menu*.
      • 36416
      • 589 Posts
      Quote from: abelafonte at Oct 01, 2010, 11:24 AM

      I would also like to make a motion that this be formally changed in the core, because I can’t imagine a situation where pagetitle would ever be a better choice than menutitle when referencing a page *in the menu*.

      I can - site tree is not "the menu"...
        • 28215
        • 4,149 Posts
        splittingred Reply #3, 16 years ago
        Making it a setting would be nice. Can you file that as a feature request in: http://bugs.modx.com/ ?
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 10720
          • 26 Posts
          Quote from: abelafonte at Oct 01, 2010, 11:24 AM

          In Evolution, I’ve always simply changed the manager code to ask for menutitle
          where about? I’ve long been wanting this...
            • 1331
            • 129 Posts
            Quote from: Gertrud at Oct 22, 2010, 09:10 AM

            Quote from: abelafonte at Oct 01, 2010, 11:24 AM

            In Evolution, I’ve always simply changed the manager code to ask for menutitle
            where about? I’ve long been wanting this...

            I haven’t done it in a couple of versions since I’m on Revo now, but these notes should still apply:
            File: /manager/frames/nodes.php
            Line: 115 or 118
            Mod: Changed $pagetitle to $menutitle - Manager menu now shows pages’ menutitle instead of pagetitle.
              • 10720
              • 26 Posts
              works!! thx!!!!!!!!!!
              well, actually I changed the
              $sql = "SELECT DISTINCT sc.id, pagetitle, parent,

              (line 118)
              and not
              while(list($id,$pagetitle,$parent,$isfolder,$published,$deleted,$type,$menuindex,$hidemenu,$alias,$contenttype,$privateweb,$privatemgr,$hasAccess) = mysql_fetch_row($result))
                      {
                          $pagetitle = htmlspecialchars($pagetitle);

              (line 134ff)
              $pagetitle is used afterwards... (and I’m obviously not a coder...)