This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
tutorials:design_adv:add_help_boxes [2011/08/03 15:47] jonyo created |
tutorials:design_adv:add_help_boxes [2014/09/25 16:55] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{indexmenu_n> | ||
| ====== Add More Help Boxes ====== | ====== Add More Help Boxes ====== | ||
| - | This tutorial will describe one way to add more "help boxes", | + | <tip c h> |
| + | |||
| + | This tutorial will describe one way to add more "help boxes", | ||
| <tip c w> | <tip c w> | ||
| Line 10: | Line 13: | ||
| - | - In your admin, go to **Design > Manager** and in your template set, inside the main_page section, create a new folder **help_pages**.< | + | - In your admin, go to **Design > Manager** and in your template set, inside the main_page section, create a new folder **help_pages**. The full path will be something **similar to** my_templates/ |
| - Go into this folder, and create a new template named **test.tpl**. | - Go into this folder, and create a new template named **test.tpl**. | ||
| - Now navigate to **main_page/ | - Now navigate to **main_page/ | ||
| - Edit the new **help_pages.tpl** file, and make sure you are on the **< | - Edit the new **help_pages.tpl** file, and make sure you are on the **< | ||
| <code html> | <code html> | ||
| - | |||
| - | {capture assign=' | ||
| - | |||
| {capture assign=' | {capture assign=' | ||
| - | {include file=$template_file} | + | {include file=" |
| {/capture} | {/capture} | ||
| {include file=' | {include file=' | ||
| Line 41: | Line 41: | ||
| - Note that if you specify an invalid value for the help= (for instance if the file does not exist), it will show a template error. < | - Note that if you specify an invalid value for the help= (for instance if the file does not exist), it will show a template error. < | ||
| - Also note that the templates you create in the **help_pages/ | - Also note that the templates you create in the **help_pages/ | ||
| - | |||