Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 29, 15:16
Unknown Object (File)
Tue, Sep 29, 11:30
Unknown Object (File)
Tue, Sep 29, 10:26
Unknown Object (File)
Mon, Sep 28, 18:02
Unknown Object (File)
Sun, Sep 27, 14:12
Unknown Object (File)
Sat, Sep 26, 23:21
Unknown Object (File)
Fri, Sep 25, 12:45
Unknown Object (File)
Thu, Sep 24, 20:27
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