Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F12594760: D1172.id2994.diff
Tue, Nov 11, 20:48
F12594759: D1172.id2995.diff
Tue, Nov 11, 20:48
F12592867: D1172.id2996.diff
Tue, Nov 11, 19:23
F12592443: D1172.diff
Tue, Nov 11, 19:06
Unknown Object (File)
Mon, Nov 10, 12:25
Unknown Object (File)
Sat, Nov 8, 02:26
Unknown Object (File)
Thu, Nov 6, 19:01
Unknown Object (File)
Wed, Nov 5, 09:28
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