Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 09:44 pm EST

Geeklog Forums

WebBadAss Theme (White)


Status: offline

street2k

Forum User
Newbie
Registered: 11/25/06
Posts: 3
Hello,
I've search the forums for an answer to this question requarding this theme and I cant find any.
Im trying to add my logo to the header.thtml and center it and have the search function in the row below.
The code before had the images as a background and it was align to left and one to the right. I deleted the tag and made it so it would be one row with the image align to the center. When I edited the file I changed the extension from thtml to html so I could preview the changes. Under the html extension it appears the way I want it to, but when I change the extension back to the original (.thtml) all I get is a broken image box or a red x (depending on which browser Im using).

Here's the code before the changes starting at line 91:

Text Formatted Code
<table border="0" cellpadding="5" cellspacing="0" width="100%" height="100"  class="titlebox">
    <tr>
        <td align="left">&nbsp;&nbsp;<a href="{site_url}/index.php"><!--[[img src="{layout_url}/images/new_name.gif" border="0" width="309"]]--><font size="10" color="#FF6600">{site_name}</font></a>
        </td>
        <td width="50%" align="right" valign="center" background="{layout_url}/images/new_8bg.gif">
       
                <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                                <td><form action="{site_url}/search.php" method="get"><input type="text" name="query" class="menusearch" size="15" maxLength="255"><input type="submit" value="{button_search}"></td>
                        </tr>
                        <tr>
                                <td><input type="hidden" name="type" value="all"><input type="hidden" name="mode" value="search"></form><a href="{site_url}/search.php">{button_advsearch}</a>  </td>
                        </tr>
                </table>


Now here's my changes:

Text Formatted Code
<table border="0" cellpadding="5" cellspacing="0" width="100%" height="100"  class="titlebox">
    <tr>
      <td align="center"><img src="images/new_8bg.gif"></td>
    </tr>
    <tr>
        <td align="center"><div align="right"></div></td></tr>
        <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                                <td><form action="{site_url}/search.php" method="get"><input type="text" name="query" class="menusearch" size="15" maxLength="255"><input type="submit" value="{button_search}"></td>
                        </tr>
                        <tr>
                                <td><input type="hidden" name="type" value="all"><input type="hidden" name="mode" value="search"></form><a href="{site_url}/search.php">{button_advsearch}</a>  </td>
                        </tr>
                </table>


Any suggestions?
 Quote

Status: offline

buckwildbill

Forum User
Chatty
Registered: 06/16/05
Posts: 47
Looks like you're missing {layout_url}/ in the image path.
 Quote

Status: offline

street2k

Forum User
Newbie
Registered: 11/25/06
Posts: 3
After taking a break from this I figured it out and I realized I was missing the {layout_url}/ in the image path.
Thanks Buckwild for the reply.
 Quote

All times are EST. The time is now 09:44 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content