News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Just getting Started...Help with several things...

Started by Katrina, April 17, 2005, 01:56:31 PM

Previous topic - Next topic

Katrina

Hi all!  I just downloaded my forum and installed a theme...but I'd like to modify it a bit. 

There's only 2 things I want to change.

1. The banner at the top..I've read how to do that and I don't think I'll have a problem with that.  I know you can make it a link...but I'd like to have several links within that image.  Right now, I have the image made with slices and three of the slices are individual links. Can you do that?  If so..how?

2. I'm happy with my buttons...except for the New Posts and No New Posts images...I'd like to change those.  My thinking is, I can keep all of the buttons but just change those image buttons?  Is that correct??

I'm off to play with it...but any advice or help you can give would be greatly appreciated.

Thanks!
Katrina

Katrina

OKay, I got the buttons to work just fine.  But I'm having issues with the graphic at the top.  Essentially it's a table....and it's html....but I'm getting a "Template Parse Error!"

Here's the code I have in the index.template.php file...can anybody tell me what's going on??

// This part is the logo and forum name.  You should be able to change this to whatever you want...
   
               
<html>
<head>
<title>10c</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (10c.psd) -->
<table id="Table_01" width="799" height="92" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_01.jpg" width="93" height="92" border="0" alt=""></a></td>
      <td>
         <a href="tourdates.html">
            <img src="images/bbsbanner_02.jpg" width="76" height="92" border="0" alt=""></a></td>
      <td>
         <a href="10seats.html">
            <img src="images/bbsbanner_03.jpg" width="77" height="92" border="0" alt=""></a></td>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_04.jpg" width="553" height="92" border="0" alt=""></a></td>
   </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>

A.M.A

you only need this:
<table id="Table_01" width="799" height="92" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_01.jpg" width="93" height="92" border="0" alt=""></a></td>
      <td>
         <a href="tourdates.html">
            <img src="images/bbsbanner_02.jpg" width="76" height="92" border="0" alt=""></a></td>
      <td>
         <a href="10seats.html">
            <img src="images/bbsbanner_03.jpg" width="77" height="92" border="0" alt=""></a></td>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_04.jpg" width="553" height="92" border="0" alt=""></a></td>
   </tr>
</table>
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Katrina

// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<table id="Table_01" width="799" height="92" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_01.jpg" width="93" height="92" border="0" alt=""></a></td>
      <td>
         <a href="tourdates.html">
            <img src="images/bbsbanner_02.jpg" width="76" height="92" border="0" alt=""></a></td>
      <td>
         <a href="10seats.html">
            <img src="images/bbsbanner_03.jpg" width="77" height="92" border="0" alt=""></a></td>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_04.jpg" width="553" height="92" border="0" alt=""></a></td>
   </tr>
</table>;

echo '



that's exactly what I have...and still the template parse error...

shanks

If you are using echo you'll need to add an apostrophe in

</table>';

// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<table id="Table_01" width="799" height="92" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_01.jpg" width="93" height="92" border="0" alt=""></a></td>
      <td>
         <a href="tourdates.html">
            <img src="images/bbsbanner_02.jpg" width="76" height="92" border="0" alt=""></a></td>
      <td>
         <a href="10seats.html">
            <img src="images/bbsbanner_03.jpg" width="77" height="92" border="0" alt=""></a></td>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_04.jpg" width="553" height="92" border="0" alt=""></a></td>
   </tr>
</table>';

echo '


Or, as you're staring echo again, remove the ; on the same line and the echo below it:


// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<table id="Table_01" width="799" height="92" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_01.jpg" width="93" height="92" border="0" alt=""></a></td>
      <td>
         <a href="tourdates.html">
            <img src="images/bbsbanner_02.jpg" width="76" height="92" border="0" alt=""></a></td>
      <td>
         <a href="10seats.html">
            <img src="images/bbsbanner_03.jpg" width="77" height="92" border="0" alt=""></a></td>
      <td>
         <a href="index.html">
            <img src="images/bbsbanner_04.jpg" width="553" height="92" border="0" alt=""></a></td>
   </tr>
</table>



In this latter case I am assuming that you are closing the echo statement later on with an '; somewhere.

Advertisement: