-
Notifications
You must be signed in to change notification settings - Fork 7
Doc.Module Initialization
AFTER install module, some initialization should be done to make your module more useful, this include:
- Install navigation
- Config module
- Config form of draft edit page
THE module have define a default front navigation for users, but it only contains URL link to article homepage, therefore, users do not know how to use this module.
THIS module provides a custom navigation for users, it can lead users to all pages module has. Just log in the admin section, and go to navigation page to set the article site navigation global:
THEN navigation of front edit will like this:
SECOND thing you should to do is to un-check the enable tag
checkbox because tag module is not provided at moment.
ARTICLE module define some basic elements of an article such as: subject
, subtitle
, summary
, content
etc, and other extended elements such as slug
, seo title
, seo keywords
and seo description
.
BUT in some case, some elements may not necessary, then you can config in the admin section to decide which elements to display in draft edit page.
Elements provided by normal
mode are:
- subject
- subtitle
- summary
- content
- image
- author
- source
- category
- tag
Elements provided by extended
contain all elements normal
mode has, and more elements are:
- related
- slug
- seo_title
- seo_keywords
- seo_description
THE extended mode contain all elements article module has ever provided. Users can also choose custom mode to add whatever element they want, remember the subject
, content
and category
elements is required.
If you config the page like the figure above do, the draft edit page will like: