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)
Mon, Mar 30, 12:51
Unknown Object (File)
Sun, Mar 29, 13:40
Unknown Object (File)
Sun, Mar 29, 04:50
Unknown Object (File)
Sat, Mar 28, 22:46
Unknown Object (File)
Sat, Mar 28, 14:48
Unknown Object (File)
Sat, Mar 28, 13:59
Unknown Object (File)
Fri, Mar 27, 05:11
Unknown Object (File)
Fri, Mar 27, 02:34
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
No Lint Coverage
Unit
No Test Coverage
Branch
master
Build Status
Buildable 1843
Build 2091: arc lint + arc unit