Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F10948223: D1172.diff
Wed, Aug 6, 22:56
Unknown Object (File)
Tue, Aug 5, 17:50
Unknown Object (File)
Sun, Aug 3, 15:51
Unknown Object (File)
Fri, Aug 1, 16:09
Unknown Object (File)
Fri, Aug 1, 00:56
Unknown Object (File)
Thu, Jul 31, 08:32
Unknown Object (File)
Thu, Jul 31, 03:44
Unknown Object (File)
Wed, Jul 30, 00:31
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