Thanks for all of your help so far. I am slowly but surely learning about all of this.
I am trying to design a site that is very clean and simple. I put a global title in my template but I cannot get rid of the home page and site name that come up automatically. I have tried to style the header to get the sitename to look like the global title but it doesn't change. Can you help me?
My site is maryjaneparkerart.com/cmsms.
Here is my template so far:
{* Change lang="en" to the language of your site *}
{title}-{sitename}
{global_content name='Title'}
{stylesheet}
{menu number_of_levels="1" template="minimal_menu.tpl"}
home
{cms_selflink dir="start" text="$sitename"}
{content}
title problems (SOLVED)
title problems (SOLVED)
Last edited by maryjane on Tue Dec 21, 2010 10:00 pm, edited 1 time in total.
Re: title problems
Your tag is at the wrong spot and a tag is missing.
Try this:
Try this:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>{title}-{sitename}</title>
{stylesheet}
</head>
</__body>
{global_content name='Title'}
<div id="navcontainer">
{menu number_of_levels="1" template="minimal_menu.tpl"}
</div> <!-- end navcontainer -->
<div id="header">
<h1>{cms_selflink dir="start" text="$sitename"}</h1>
</div> <!-- end header -->
<hr class="accessibility" />
{content}
<__body>
</__html>
Re: title problems
Thanks, I pasted the code exactly as you had it and it got rid of the "home" title but it cannot get rid of the underlined site name.
Re: title problems
This outputs your underlined sitename
{cms_selflink dir="start" text="$sitename"}
{cms_selflink dir="start" text="$sitename"}
Re: title problems
This is where a link to the site would help, underline links is a default behavior of browsers, you need css to change that, I most times use a default template and change what I need to build sites, actually I have an older default install, 1.5.4, I export them from for starters, no comments in template or style sheets...
If you go to layout > templates and hit new template it gives a pretty good start on a template adding all the basic tags, then you have to make a style sheet for it etc...
If you go to layout > templates and hit new template it gives a pretty good start on a template adding all the basic tags, then you have to make a style sheet for it etc...
Re: title problems
great, thanks. I'll try that.
MJ
MJ