Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F27281313: D1172.id2994.diff
Sat, May 2, 22:19
Unknown Object (File)
Fri, May 1, 20:52
Unknown Object (File)
Fri, May 1, 03:16
Unknown Object (File)
Thu, Apr 30, 16:28
Unknown Object (File)
Thu, Apr 30, 14:04
Unknown Object (File)
Thu, Apr 30, 09:26
Unknown Object (File)
Sun, Apr 19, 11:24
Unknown Object (File)
Tue, Apr 14, 11:32
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