Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F57027524: D1172.diff
Fri, Nov 13, 04:57
F56734502: D1172.id2996.diff
Sun, Nov 8, 19:04
F56650737: D1172.id2996.diff
Sun, Nov 8, 00:13
F56650698: D1172.id2994.diff
Sun, Nov 8, 00:13
F56650687: D1172.id2995.diff
Sun, Nov 8, 00:13
F56650660: D1172.id.diff
Sun, Nov 8, 00:12
F56417349: D1172.id2994.diff
Fri, Nov 6, 00:00
F56400639: D1172.id2995.diff
Thu, Nov 5, 19:43
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