Member:
Markus ⋅
Date: January 30, 2010, 11:35 PM
⋅ Subject: "Re: Creating new PAGES"
I'm recording a builder orientation tutorial right now, so that'll answer some of your further questions concerning page creation. Should be out within the hour or so. First off, a bit of background information on the content hierarchy.
The general principle is that each URL on your site should have the following:
- index.php?module=whatever&show=your_page_name
There has to be a "module context", because everything is accessed through a module. Module is, then, the highest-level "container" in the iWiccle system hierarchy, right next to the core. The full hierarchy for custom content is:
- Core > Module > Layout > (Row) > Column > Unit
And the general hierarchy for dynamic content is:
- Core > Module > Parent > Category > (Thread) > Post
These structures are in place to ensure that everything belongs somewhere, and that everything is accessible and cross-referenced. You'll be all the happier for this when we roll out our Content Tree Builder and some other related tools.
---
So you want to link a custom page directly from the main menu tabs. In general, the main menu is editable in Admin CP > Modules > Menu Builder under Main Menu. Out-of-the-box, it only allows you to choose tabs from the modules you have active. This is on my immediate list of feature defects to fix, as there should be an easy way to add new tabs with any links. In the meantime, this hack is still valid.
If you want to add your custom pages to the submenus under each module, this is a whole lot simpler. Go to Admin CP > Modules > Module Menu Builder, and it should be straight-forward enough from there onwards; just look at the ready menus for the simple syntax reference for internal and external pages. (You have already been here with the "Visit Wiccle" button.)