Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F12038067: D1172.id7009.diff
Sun, Sep 28, 08:44
Unknown Object (File)
Thu, Sep 25, 20:24
Unknown Object (File)
Tue, Sep 23, 08:03
Unknown Object (File)
Tue, Sep 23, 02:49
Unknown Object (File)
Tue, Sep 23, 02:48
Unknown Object (File)
Mon, Sep 22, 18:42
Unknown Object (File)
Mon, Sep 22, 17:37
Unknown Object (File)
Fri, Sep 19, 08:15
Subscribers
None

Details

Summary

There is no strong rationale to treat differntly the homepage,
especially as we need to load _documents.xml configuration.

When there is a need to print the current URL, get_current_url()
can be used. Or to know if the homepage, $document->is_homepage()
can be called by the code needing that instead to define the homepage
as a no topic, no article document.

Test Plan

Tested on Dwellers

Diff Detail

Repository
rTOOLS Nasqueron Tools
Lint
Lint Not Applicable
Unit
Tests Not Applicable