This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
admin_menu:page_modules:start [2008/11/11 18:30] james |
admin_menu:page_modules:start [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Page Modules ====== | ====== Page Modules ====== | ||
- | Page Modules are the "bells & whistles" | + | Page Modules are the "bells & whistles" |
- | To have a module show up on a page you will need to place the desired module’s | + | To have a module show up on a page you will need to place the desired module’s |
- | After inserting each desired tag into the appropriate | + | After inserting each desired tag into the appropriate |
- | Also note that you can place module placement tags within html modules. | + | ===== Deprecation of HTML Modules in v5 ===== |
- | <tip c n>Note that the while the attachment | + | There used to be HTML modules within versions earlier than v5. Within |
- | <tip c n>Category specific templates are not parsed for module placement tags. You will need to manually attach page modules that can only be found in category specific page designs</tip> | + | <code html>{include file=' |
- | At the bottom of each page's admin page in the PAGES MANAGEMENT admin tool you will find the modules attached to that page. You will also find if the script has found a specific module placement tag within the html modules or page templates attached to that page. This is a convenient way to find out if you have placed a module' | + | To show text only if a user is logged in or not logged in, you can use the following in any template: |
- | <tip c n>Please check "not found" modules attached to page in the PAGE MANAGEMENT admin tool. Since page modules need to be manually removed from pages you may find many "not found" modules attached to pages. | + | <code html> |
+ | {if not $logged_in} | ||
+ | You are NOT Logged | ||
+ | {else} | ||
+ | Welcome! | ||
+ | {/if} | ||
+ | </code> | ||
- | Page modules run independently of the (!MAINBODY!) tag and have their own settings within each modules administration page. In fact, you can remove the (!MAINBODY!) tag altogether in some of your html templates and instead only use only Page Modules. Be careful, however, that you don’t unintentionally remove necessary tables or links that the user needs to navigate your site. | + | ===== Module Attachments ===== |
- | One example of using Page Modules instead of the (!MAINBODY!) tag, for instance, would be if you wanted to change up the format | + | Within each modules admin tool page you will see a section at the bottom |
- | Additionally, | + | <tip c n>Note that page to module attachment is automatically done by the software. |
- | < | + | DESIGN > TEMPLATE SETS |
+ | |||
+ | </tip> | ||
+ | |||
+ | ===== Page Module Font Controls ===== | ||
+ | |||
+ | Page module fonts, like other fonts in the system, are controlled by css documents within |