Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F24988473: D1172.diff
Mon, Mar 23, 16:08
F24988436: D1172.id2994.diff
Mon, Mar 23, 16:02
F24986858: D1172.id.diff
Mon, Mar 23, 13:14
F24980525: D1172.id2995.diff
Mon, Mar 23, 01:22
F24978818: D1172.diff
Sun, Mar 22, 22:15
F24977060: D1172.id2996.diff
Sun, Mar 22, 18:59
Unknown Object (File)
Sat, Mar 21, 01:20
Unknown Object (File)
Wed, Mar 18, 19:55
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