Custom Template Reference

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
(Uploading your Template)
Line 1: Line 1:
 +
This section covers the creation and integration of custom templates for use with the Soholaunch Pro Edition, and is intended for graphic designers and site developers. As such, a working knowledge of Adobe Photoshop and HTML programming is recommended.
  
 +
==How the Pro Edition interprets template information==
 +
Within the maintenance platform, users will only have access to the page “content” area for editing. This means that each site must have a template design that maintains continuity throughout the site. Automatic menu generation is built in to the Soholaunch management tool so that Menu Display buttons and sub-page buttons can be defined within the template (using special [[Pound Variables]]. This gives you the option of placing Menu Display systems vertically, on the left or right of the page layout, or horizontally, across the top or bottom of your pages.
  
==Pound Variables==
+
You may also wish to custom-design your main navigation system and not use the Menu Display feature at all. This allows you to have total control over font, colors and sizes of your navigation structure. For even greater flexibility in design, different templates may be assigned to individual site pages throughout your site.
'''Pound Variables:''' unique variables that tell Pro Edition where to place specific “client changeable” headers, Menu Display buttons, and automatic text menus within your layout. These are not case sensitive, and can be placed visually within your HTML editor as text, so long as they contain the pound sign.
+
  
<nowiki>#CONTENT#</nowiki> - Tells the system where to display the table that will hold all the content created within the Pro Edition’s Page Editor.
+
Your template designs can take on any level of complexity that you wish them to have. However, please note that the user, via the management tool, cannot change any images, text, or links built into the template. This should always be planned and noted well ahead of the build process.
Note: User will not be able to manage page content unless this variables is placed somewhere in your html template file (i.e. index.html).
+
  
<nowiki>#LOGO#</nowiki> - Replaced with data from "Template Manager > Template header line". Inserts an editable Header line that can be changed by the user via the Soholaunch Pro Edition's Template Manager feature.
+
In order for your template to work, you will be producing a series of images and an HTML template file to be uploaded via the Pro Edition’s File Upload module.
 
+
<nowiki>#LOGOIMG#</nowiki> - Custom Logo variable added which inserts a logo which is chosen in the Template Manager Module.
+
 
+
<nowiki>#VMENU#</nowiki> - Replaced with vertical menu navigation (main and sub pages) as configured via the Menu Display module.
+
 
+
<nowiki>#HMAINS#</nowiki> - Main page links only, arranged horizontally (links managed via the Menu Display module; must set "Auto-Menu Display Type" to "Text Links").
+
<nowiki>
+
#VMAINS#</nowiki> - Main page links only, arranged vertically (links managed via the Menu Display module; must set "Auto-Menu Display Type" to "Text Links").
+
 
+
<nowiki>#HSUBS#</nowiki> - Sub page links only, arranged horizontally (links managed via the Menu Display module; must set "Auto-Menu Display Type" to "Text Links").
+
 
+
<nowiki>#VSUBS#</nowiki> - Sub page links only, arranged vertically (links managed via the Menu Display module; must set "Auto-Menu Display Type" to "Text Links").
+
 
+
<nowiki>#TMENU#</nowiki> - Inserts a horizontal, text based menu system that matches the “setup” of the Main and Sub menu system as configured via the Menu Display feature. Typically used for footer links.
+
 
+
<nowiki>#PAGENAME#</nowiki> - Replaces with name of current page (underscores converted into spaces).
+
 
+
<nowiki>#PAGETITLE#</nowiki> - Unique page name. Replaced with text defined via Edit Pages > Page Properties > Page Title
+
 
+
<nowiki>#USERSONLINE#</nowiki> - Replaced with the number of visitors currently browsing your website. This particular variable may be also be used within the Text Editor.
+
 
+
<nowiki>#AUTODATESTAMP#</nowiki> - Replaced the current weekday, month, day, and year.
+
 
+
<nowiki>#PROMOTXT1#/#PROMOTXT2#</nowiki> - Text variables added which inserts the first 255 characters of blog_data pulled from random blog_content entry (under special "Promo Box 1/2" blog categories)
+
 
+
<nowiki>#PROMOHDR1#/#PROMOHDR1#</nowiki> - Promo entry title. Works with --- the blog_title associated with blog_content entry pulled for <nowiki>#PROMOTXT1#/#PROMOTXT2#</nowiki>
+
 
+
<nowiki>#NEWSBOX#</nowiki> - Newsbox variable added which inserts text arranged by date, blog_title, and if desired a few lines of blog_data.
+
 
+
<nowiki>#CUSTOMINC#</nowiki> - Replaced with output of "includethis.inc" (if found), which should be placed in the template's folder along with index.html, custom.css, etc.
+
 
+
<nowiki>#CUSTOMINC2#</nowiki> - Replaced with output of "includethis2.inc" (if found), which should be placed in the template's folder along with index.html, custom.css, etc
+

Revision as of 18:35, 10 April 2006

This section covers the creation and integration of custom templates for use with the Soholaunch Pro Edition, and is intended for graphic designers and site developers. As such, a working knowledge of Adobe Photoshop and HTML programming is recommended.

How the Pro Edition interprets template information

Within the maintenance platform, users will only have access to the page “content” area for editing. This means that each site must have a template design that maintains continuity throughout the site. Automatic menu generation is built in to the Soholaunch management tool so that Menu Display buttons and sub-page buttons can be defined within the template (using special Pound Variables. This gives you the option of placing Menu Display systems vertically, on the left or right of the page layout, or horizontally, across the top or bottom of your pages.

You may also wish to custom-design your main navigation system and not use the Menu Display feature at all. This allows you to have total control over font, colors and sizes of your navigation structure. For even greater flexibility in design, different templates may be assigned to individual site pages throughout your site.

Your template designs can take on any level of complexity that you wish them to have. However, please note that the user, via the management tool, cannot change any images, text, or links built into the template. This should always be planned and noted well ahead of the build process.

In order for your template to work, you will be producing a series of images and an HTML template file to be uploaded via the Pro Edition’s File Upload module.

Personal tools