Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
F34898304: D1172.id.diff
Fri, Jul 3, 18:38
F34891491: D1172.diff
Fri, Jul 3, 16:31
F34850051: D1172.diff
Fri, Jul 3, 10:42
F34769006: D1172.id2994.diff
Thu, Jul 2, 23:58
Unknown Object (File)
Thu, Jul 2, 08:48
Unknown Object (File)
Thu, Jul 2, 07:41
Unknown Object (File)
Wed, Jun 24, 02:35
Unknown Object (File)
Wed, Jun 24, 00:37
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