Skip to content

Doc.Module Initialization

linzongshu edited this page Aug 30, 2013 · 1 revision

Introduction

AFTER install module, some initialization should be done to make your module more useful, this include:

  1. Install navigation
  2. Config module
  3. Config form of draft edit page

Install Navigation

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:

install navigation

THEN navigation of front edit will like this:

front navigation

Config Module

SECOND thing you should to do is to un-check the enable tag checkbox because tag module is not provided at moment.

config module

Config Form of Draft Edit Page

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.

config form

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:

draft edit page