Page 1 of 1

Can't change page layout

Posted: Sat Oct 13, 2007 9:37 pm
by mbrad
Thanks for taking the time to read my question.

This is where my blog is http://2nationsfemalehockeyleague.com/2NBlog/

If you go to http://www.2nationsfemalehockeyleague.com you'll see a nav bar at the top. I'd like that nav bar at the top of my blog as well. I've downloaded the carl_contest folder and edited the index.tpl file there and uploaded it back to the server in the same spot. I don't see any change.

Where do I put my edited index.tpl file? I'd really like to get this going.

Any help would be great, thanks,

Here is my file I've edited:

Code: Select all

{if $is_embedded != true}
{if $is_xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{else}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd">
{/if}

<html>
<head>
    <title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
    <meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
    <meta name="Powered-By" content="Serendipity v.{$head_version}" />
    <link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
    <link rel="alternate"  type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
    <link rel="alternate"  type="application/x.atom+xml"  title="{$blogTitle} Atom feed"  href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
	<script type="text/javascript" src="../Javascript/coolmenu.js"></script>
	<script type="text/javascript" src="../Javascript/menu_items.js"></script>
	<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="menu_styles.css"}" media="screen" />
{if $entry_id}
    <link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}" />

	
{/if}

{serendipity_hookPlugin hook="frontend_header"}
</head>

<body>
<script type="text/javascript">var m1 = new COOLjsMenu("menu1", MENU_ITEMS)</script>
{else}
{serendipity_hookPlugin hook="frontend_header"}
{/if}

{if $is_raw_mode != true}
<div id="wrap">
<div id="serendipity_banner"><a id="topofpage"></a>
    <h1><a class="homelink1" href="{$serendipityBaseURL}">{$head_title|@default:$blogTitle|truncate:80:" ..."}</a></h1>
    <h2><a class="homelink2" href="{$serendipityBaseURL}">{$head_subtitle|@default:$blogDescription}</a></h2>
</div>

<table id="mainpane">
    <tr>
{if $leftSidebarElements > 0}
        <td id="serendipityLeftSideBar" valign="top">{serendipity_printSidebar side="left"}</td>
{/if}
        <td id="content" valign="top">{$CONTENT}</td>
{if $rightSidebarElements > 0}
        <td id="serendipityRightSideBar" valign="top">{serendipity_printSidebar side="right"}</td>
{/if}
    </tr>
</table>
{/if}
{$raw_data}
{serendipity_hookPlugin hook="frontend_footer"}
{if $is_embedded != true}
<div id="footer">
	<p>{$CONST.POWERED_BY} <a href="http://www.s9y.org">s9y</a> - Design by <a href="http://www.carlgalloway.com">Carl</a></p>
</div>
</div>
</body>
</html>
{/if}
Brad

Re: Can't change page layout

Posted: Sun Oct 14, 2007 1:27 pm
by garvinhicking
Hi!

When I cal your URL, I see a huge red menu after the banner, so I suppose that's what you're looking for?

Regards,
Garvin

Posted: Sun Oct 14, 2007 10:45 pm
by mbrad
Thanks for the reply,

I refreshed and refreshed and refreshed, and then all of a sudden it appeared.

Not sure why, but it did.

Now the sub menu isn't working... but only in IE. It works in FF. I can't figure that out.

Thanks again,

Brad

Posted: Mon Oct 15, 2007 11:14 am
by garvinhicking
Hi!

Hm, it does work here in my Firefox AND in the IE7...?!

Regards,
Garvin

Posted: Mon Oct 15, 2007 5:02 pm
by mbrad
http://www.2nationsfemalehockeyleague.com/2NBlog/

I double clicked on the Yellow triangle in the bottom left corner of the page that says 'Error On Page.' and got this (IE6 SP2)
Funny how I don't get this in FF though.

What works for you in IE7? I can click on the sub menu items, but if I hover the mouse over them, the sub menu disappears and the background image doesn't change. If you go to http://www.2nationsfemalehockeyleague.com you can see how it should work.

Posted: Tue Oct 16, 2007 9:53 am
by garvinhicking
Hi!

You are using your URL with "www.", however in your s9y config you only entered it without "www". Either you fix your s9y configuration and enter that 'www.' domain part, or you enable "Autodetect HTTP-hostname" feature.
What works for you in IE7? I can click on the sub menu items, but if I hover the mouse over them, the sub menu disappears and the background image doesn't change. If you go to http://www.2nationsfemalehockeyleague.com you can see how it should work.
Yes, I can click items, and the subitems swish out when I hover above them.

Regards,
Garvin

Posted: Wed Oct 17, 2007 5:41 am
by mbrad
Interesting. So you think that is why it doesn't work in IE and it does in FF?

Where do I go to set either of those values?

Thanks again,

Brad

Posted: Wed Oct 17, 2007 11:14 am
by garvinhicking
Hi!
Where do I go to set either of those values?
In the serendipity backend, section "Configuration". There somewhere under "General Options", I believe. Or in some other section, but definitely in "Configuration". :)

Regards,
Garvin

Posted: Mon Oct 22, 2007 3:26 pm
by mbrad
I found a solution on another forum.

The solution was to put the script tag at the bottom of the HTML. Don't know why this works, but it does.

http://javascript.cooldev.com/forum/vie ... =5042#5042

Brad