Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F33223163: D1172.id2995.diff
Mon, Jun 15, 23:14
F33219838: D1172.id2994.diff
Mon, Jun 15, 22:29
F33201774: D1172.diff
Mon, Jun 15, 18:55
F33186394: D1172.diff
Mon, Jun 15, 16:03
Unknown Object (File)
Sat, Jun 13, 04:19
Unknown Object (File)
Sat, Jun 6, 07:52
Unknown Object (File)
Sat, Jun 6, 04:43
Unknown Object (File)
Sat, Jun 6, 02:40
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 1844
Build 2092: arc lint + arc unit