This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
admin_menu:page_modules:start [2008/11/11 00:19] jonyo created |
admin_menu:page_modules:start [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Page Modules ====== | ====== Page Modules ====== | ||
- | TODO: Finish this page. | + | Page Modules are the "bells & whistles" |
- | Assigned | + | To have a module show up on a page you will need to place the desired module’s {...} tag into the html template associated with that page. Each module' |
+ | |||
+ | After inserting each desired tag into the appropriate page template(s), | ||
+ | |||
+ | ===== Deprecation of HTML Modules in v5 ===== | ||
+ | |||
+ | There used to be HTML modules within versions earlier than v5. Within the v5 implementation of the Smarty template system you can create as many templates and sub-templates to use in those page templates as you want. Within the default v5 design the head.tpl template just such a sub-template. | ||
+ | |||
+ | <code html> | ||
+ | |||
+ | To show text only if a user is logged in or not logged in, you can use the following in any template: | ||
+ | |||
+ | <code html> | ||
+ | {if not $logged_in} | ||
+ | You are NOT Logged in! | ||
+ | {else} | ||
+ | Welcome! | ||
+ | {/if} | ||
+ | </ | ||
+ | |||
+ | ===== Module Attachments ===== | ||
+ | |||
+ | Within each modules admin tool page you will see a section at the bottom of the page that contains all of the page templates that specific modules placement tag is found. | ||
+ | |||
+ | <tip c n>Note that page to module attachment is automatically done by the software. | ||
+ | |||
+ | DESIGN > TEMPLATE SETS | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Page Module Font Controls ===== | ||
+ | |||
+ | Page module fonts, like other fonts in the system, are controlled by css documents within the system. |