Broken template
Posted: Sun Aug 15, 2010 6:22 pm
Hi all,
The person I'm designing the website for has asked me to make the website black, so I've done it and this is the result:
http://www.e3propertyservices.co.uk/index.php
For some reason, the formatting behind the menu is lost and I can't seem to change the Home colour to white instead of what it is now.
The code for the template is below.
Any help would be greatly appreciated.
Cheers
Mark
{process_pagedata}
{* Change lang="en" to the language of your site *}
{* note: anything inside these are smarty comments, they will not show up in the page source *}
{if isset($canonical)}{elseif isset($content_obj)}GetURL()}" />{/if}
{title} | {sitename}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{cms_stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{* IE6 png fix *}
{literal}
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
{/literal}
{* start accessibility skip links *}
{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
{* end accessibility skip links *}
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Header, with logo image that links to the default start page *}
{* logo image that links to the default start page. Logo image is changed in the style sheet "Layout: NCleanBlue" *}
{cms_selflink dir="start" text="$sitename"}
{* Start Search, the input "Submit" is using an image, CSS: div#search input.search-button - now removed*}
{* End Search *}
{* Start Navigation, style sheet "Layout: NCleanBlue", starting at Menu ROOT *}
Navigation
{* anything class="accessibility" is hidden for visual browsers by CSS *}
{menu template='cssmenu_ulshadow.tpl'}
{* End Navigation *}
{* End Header *}
{* Start Content (Navigation and Content columns) *}
{* Start Bar *}
{* End Bar *}
{* Start left side *}
{* Start Navigation, stylesheet "Navigation: Simple - Vertical" *}
Menu
Navigation
{menu template='simple_navigation.tpl' collapse='1'}
{* End Navigation *}
{* End left side *}
{* Start Content Area, right side *}
{* main top, holds top image and print image *}
{print showbutton=true}
{* main content *}
{title}
{content}
{* Start main bottom and relational links *}
{anchor anchor='main' text='^ Top'}
{cms_selflink dir="previous" label="Previous page: "}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{cms_selflink dir="next"}
{* End relational links *}
{* End main bottom *}
{* End Content Area, right side *}
{* End Content *}
{* end pagewrapper *}
{* Start Footer *}
{* edit the footer in the Global Content Block called "footer" *}
{global_content name='footer'}
{* End Footer *}
{* End Div *}
The person I'm designing the website for has asked me to make the website black, so I've done it and this is the result:
http://www.e3propertyservices.co.uk/index.php
For some reason, the formatting behind the menu is lost and I can't seem to change the Home colour to white instead of what it is now.
The code for the template is below.
Any help would be greatly appreciated.
Cheers
Mark
{process_pagedata}
{* Change lang="en" to the language of your site *}
{* note: anything inside these are smarty comments, they will not show up in the page source *}
{if isset($canonical)}{elseif isset($content_obj)}GetURL()}" />{/if}
{title} | {sitename}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{cms_stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{* IE6 png fix *}
{literal}
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
{/literal}
{* start accessibility skip links *}
{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
{* end accessibility skip links *}
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Header, with logo image that links to the default start page *}
{* logo image that links to the default start page. Logo image is changed in the style sheet "Layout: NCleanBlue" *}
{cms_selflink dir="start" text="$sitename"}
{* Start Search, the input "Submit" is using an image, CSS: div#search input.search-button - now removed*}
{* End Search *}
{* Start Navigation, style sheet "Layout: NCleanBlue", starting at Menu ROOT *}
Navigation
{* anything class="accessibility" is hidden for visual browsers by CSS *}
{menu template='cssmenu_ulshadow.tpl'}
{* End Navigation *}
{* End Header *}
{* Start Content (Navigation and Content columns) *}
{* Start Bar *}
{* End Bar *}
{* Start left side *}
{* Start Navigation, stylesheet "Navigation: Simple - Vertical" *}
Menu
Navigation
{menu template='simple_navigation.tpl' collapse='1'}
{* End Navigation *}
{* End left side *}
{* Start Content Area, right side *}
{* main top, holds top image and print image *}
{print showbutton=true}
{* main content *}
{title}
{content}
{* Start main bottom and relational links *}
{anchor anchor='main' text='^ Top'}
{cms_selflink dir="previous" label="Previous page: "}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{cms_selflink dir="next"}
{* End relational links *}
{* End main bottom *}
{* End Content Area, right side *}
{* End Content *}
{* end pagewrapper *}
{* Start Footer *}
{* edit the footer in the Global Content Block called "footer" *}
{global_content name='footer'}
{* End Footer *}
{* End Div *}