If there is a group with the same name as an author, instead of returning Profiles.
$Author as the $AuthorPage, it returns Profiles.HomePage if there is a
$Author.HomePage page. From debugging:
SMS Message: author.php @37 MakePageName(pagename,Author): Tamara.HomePage SMS Message: author.php @39 AuthorPage: Profiles/HomePage SMS Message: author.php @65 Author: tamara SMS Message: author.php @66 AuthId: tamara SMS Message: author.php @67 AuthorPage: Profiles/HomePage SMS Message: author.php @68 AuthorLink: [[~tamara]]
This variable is not used anymore by the core, as far as I know. In version 2.2.51 the variable will contain the correct page if the page exists, otherwise it will still point to the group; this is considered a feature, see
$PagePathFmt and Cookbook:PagePaths. In case you find a better way to define this variable, you can just do it in config.php, this will override the default one. --Petko May 08, 2013, at 06:44 AM