Page 1 of 1

HasUsableLink() for PageLink

Posted: Thu May 27, 2010 10:18 am
by tobre
Hi CMSMS Community,

I just added a simple pagelink to the menu which however only generated as plain-text in the sitemap. So I figured that I want to change...

Code: Select all

    function HasUsableLink()
    {
      return false;
    }
....on line 39 in \lib\classes\contenttypes\PageLink.inc.php to...

Code: Select all

    function HasUsableLink()
    {
      return true;
    }
Shouldn't that rather be the default behaviour? After all, though reduntant, it's a link.