User Tools

Site Tools


admin_menu:pages_management:extra_pages:start

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
admin_menu:pages_management:extra_pages:start [2012/07/23 23:29]
127.0.0.1 external edit
admin_menu:pages_management:extra_pages:start [2014/09/25 16:55] (current)
Line 49: Line 49:
 ==== How Do I Set Individual Title and Meta Data For Extra Pages? ==== ==== How Do I Set Individual Title and Meta Data For Extra Pages? ====
  
-You would need to do this through the page template and/or body template set for your extra pages.  There are two ways to go here and probably more which is up to our clients imaginations +This [[tutorials:v5_meta_tag_management:extra_pages_meta_tags|place meta tags into extra page]] tutorial within the Tutorials > Meta Tag Management section of this support wiki should explain how to do this.
  
-The first is to create page templates for each individual extra page.  At installation all of the extra pages use the "basic_page.tpl" as their page templates and that template includes the "head.tpl" template to include the complete "<head>" portion of the page.  If you follow this suggested method you would need to create one extra page template for each extra page from the "basic_page.tpl" template and make additional changes to each of those templates.  You would need to copy the contents of the "head.tpl" template into each extra page template (each a copy of the basic_page.tpl) where the "head.tpl" include statement currently is overwriting/removing that head.tpl include statement.  The include statement you will overwrite with the contents of that file looks like: 
- 
-  {include file="head.tpl"} 
-   
-Now within each of these "extra page" specific templates that include their own individual <head> statement you would insert specific <title> and <meta> information for that extra page.  The last step would be to assign that extra page temlate to that extra page in the following admin tool: 
- 
-  DESIGN > PAGE ATTACHMENT  
-   
-The second method would entail creating one page template that would be used across all extra pages and then move the <head> statement used in those into the body template used on a specific page.  This method requires a little more html knowledge than the other step as you have to move html elements currently used in the page template into the body template on each extra page and then creating a page template to "match" those body templates. 
- 
-We are assuming that you will still want the same footer across all extra page templates and if so you would need to include that footer in the page template used for extra pages.  The page template used for extra pages would basically only include the footer as all other elements "above" the main body will be in the body template for each extra page.  So using the default basic_page.tpl as a start you would create a page template that only included everything after the {body_html} tag.  All other elements of the default basic_page.tpl would be moved into the body template for each extra page.  Then for each extra page body template you would paste the contents of the head.tpl template over the "include statement" as instructed above.  This will leave each extra page body template with it's own distinct <head> statement that you can customize for that extra page.  As a last important note any module tags appearing/pasted within the extra page body template will not appear.  You will need to replace those tags with content.  This is not a problem if using the default design templates as you will be replacing the title module used in the head.tpl template with individualized titles for each extra page.   
admin_menu/pages_management/extra_pages/start.1343086173.txt.gz · Last modified: 2014/09/25 16:55 (external edit)