Page MenuHomeDevCentral

Treat homepage like a regular page
ClosedPublic

Authored by dereckson on Nov 4 2017, 04:05.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 28, 15:57
Unknown Object (File)
Sun, Apr 27, 09:26
Unknown Object (File)
Wed, Apr 23, 15:12
Unknown Object (File)
Wed, Apr 23, 11:47
Unknown Object (File)
Sun, Apr 20, 17:54
Unknown Object (File)
Sun, Apr 20, 12:17
Unknown Object (File)
Sun, Apr 20, 09:30
Unknown Object (File)
Sun, Apr 20, 06:16
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