Im using the Mid century template on my website www.greyday.co.uk
I would like a link to my main page to appear on all webpages in the Banner header area.
I've edited my banner header area to reflect this, but it doesn't work on all pages.
How do i go about setting it, so that the name Greyday & link back to my homepage appears on everypage.
Thanks
Grey
Reported on Movable Type 4.2
Sorry for double post, not sure why its appeared twice
grey, not sure if I have this clear, but, if you are referring to pages which have Content oriented titles in the Header instead of your main blog's title, the easiest fix is to put a HomePage link in your SideBar.
Otherwise, you would need to replace the banner header directives in those pages which include Content oriented Titles with your BlogUrl linked to your Homepage's Title, or add it as an additional item in those templates headers as a smaller font-size.
Adding additional text to your headers can require CSS alterations or additions to insure the proper viewing (size and placement) of the added home page link.
I use the SideBar to provide a simple Nav Menu widget which includes the Home Page only if the page being viewed is NOT the home page. Like so:
<mt:If name="main_index"> <mt:Else> <div class="widget-header"> <a href="<$mt:BlogURL$>">Home Page</a> </div> <br /><br /> </mt:If>That is the content of the Home Page widget. After creating this widget, include it in your sidebar Widget collection as the first item or wherever in the list of widgets you want it to appear.
I am not familiar with the MidCentury templates, so, I am not sure how the banner-headers vary.
Thanks for your reply david. I think this might be what Im after. I will try to explain in more detail.
If you go to my blog: www.greyday.co.uk. At the top is the word: Greyday and it links to my homepage.
I have a nav bar which links to different areas ive created. Say for example i click on gallery. At the top, greyday still appears albeit in lower case. If i click on any of the photo albums, greyday at the top, changes to gallery.
What I want is that no matter what page I click on, or sub-page, the link at the top shows Greyday with a capital G and links back to my homepage.
Many thanks
Grey
Ah, OK, Grey.
Some of MT's templates are contextual in nature. By that I mean that in the HTML code there are IF statements that alter the Page Title and or BlogName as page title depending on what template is being called up by the viewer's browser.
The simplest way to address this would be to hard code the HTML for your banner BlogName in your Header file. In other words, look for this code in your Header Template:
<h1 id="header-name"><a href="<$mt:Var name="blog_url"$>" accesskey="1"><$mt:Var name="blog_name"$></a></h1>Replace it with:
<h1 id="header-name"><a href="MyBlogURL"$>" accesskey="1">MyBlogName</a></h1>Of course, you will want to substitute MyBlogName and MyBlogUrl with your actual blog http address and Blog name.
This bypasses the contextual substitution which takes place as a result of the variables in the original HTML code above.
Hi david and thanks for replying, for some strange reason ive been unable to log in and reply for the last week.
I will try your suggestions and let you know. Many thanks again.
Grey