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)
Wed, Apr 2, 19:19
Unknown Object (File)
Wed, Apr 2, 03:07
Unknown Object (File)
Tue, Apr 1, 00:29
Unknown Object (File)
Mon, Mar 31, 22:25
Unknown Object (File)
Mon, Mar 31, 20:45
Unknown Object (File)
Mon, Mar 31, 19:48
Unknown Object (File)
Sun, Mar 30, 16:12
Unknown Object (File)
Wed, Mar 26, 17:58
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