User Tools

Site Tools


tutorials:design_adv:add_help_boxes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:design_adv:add_help_boxes [2012/07/23 23:29]
127.0.0.1 external edit
tutorials:design_adv:add_help_boxes [2014/09/25 16:55] (current)
Line 1: Line 1:
 +{{indexmenu_n>90}}
 ====== Add More Help Boxes ====== ====== Add More Help Boxes ======
  
-<tip c h>**Note:** Due to a bug in Smarty 3.1.8 (packaged with Geo 6.0.8 and a few prior versions)this does not work. In a future release of the Geo software, we'll be able to update to a more recent version of Smarty, which is known to correct the issue and will restore the steps described here as a viable option.</tip>+<tip c h>**Note:** Due to a bug in Smarty 3.1.8 which was packaged with previous releasesthese instructions may not work correctly in older versions of the software.</tip>
  
 This tutorial will describe one way to add more "help boxes", like you have on the listing placement process, by re-purposing one of the extra pages as a page to show help contents. This tutorial will describe one way to add more "help boxes", like you have on the listing placement process, by re-purposing one of the extra pages as a page to show help contents.
Line 17: Line 18:
   - Edit the new **help_pages.tpl** file, and make sure you are on the **<..> Source Code Editor** tab.  For the contents, enter the following:   - Edit the new **help_pages.tpl** file, and make sure you are on the **<..> Source Code Editor** tab.  For the contents, enter the following:
 <code html> <code html>
- 
-{capture assign='template_file'}help_pages/{$smarty.get.help|escape:'url'}.tpl{/capture} 
- 
 {capture assign='explanation'} {capture assign='explanation'}
-{include file=$template_file}+{include file="help_pages/{$smarty.get.help|escape:'url'}.tpl"}
 {/capture} {/capture}
 {include file='help_popup.tpl' g_type='system' g_resource='other'} {include file='help_popup.tpl' g_type='system' g_resource='other'}
Line 43: 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/** folder should not try to use modules or addon tags, as any attachments in that template will not be loaded due to how it dynamically includes that template. <   - Also note that the templates you create in the **help_pages/** folder should not try to use modules or addon tags, as any attachments in that template will not be loaded due to how it dynamically includes that template. <
- 
  
  
tutorials/design_adv/add_help_boxes.1343086174.txt.gz · Last modified: 2014/09/25 16:55 (external edit)