Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F23995209: D1172.id2995.diff
Sun, Feb 8, 12:39
F23989202: D1172.id2996.diff
Sun, Feb 8, 10:50
F23989183: D1172.id2994.diff
Sun, Feb 8, 10:50
F23983007: D1172.diff
Sun, Feb 8, 09:01
F23966238: D1172.id2995.diff
Sun, Feb 8, 05:34
Unknown Object (File)
Sat, Feb 7, 06:27
Unknown Object (File)
Fri, Feb 6, 15:34
Unknown Object (File)
Thu, Feb 5, 05:56
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