Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9
Author Message
Savent
Regular
Regular



Joined: Jun 30, 2003
Posts: 81

PostPosted: Sun Oct 19, 2003 11:30 am Reply with quote

Greetings Raven,

I was wondering how you can use a small image for a block title, instead of jut normal text, like where you have the block title site navigtion and site info, I would like to replace those words with a small gif image, I tried replaced the words site navigation in admin php under blocks, with a img src="images/yourimage.gif it didn't work to well, am i on the right track here?

_________________
www.elite-gamers.com [Online Arcade 340+ Games]
Image 
View user's profile Send private message Send e-mail Visit poster's website
fury
Worker
Worker



Joined: Sep 09, 2003
Posts: 165

PostPosted: Sun Oct 19, 2003 12:16 pm Reply with quote

This is a sample of the blocks.html

Code:
<table width="165" border="0" cellspacing="0" cellpadding="5">

  <tr>
    <td><table width="165" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor=""><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td bgcolor="">
          <table width="100%" border="0" cellspacing="1" cellpadding="0" height="168">
              <tr>
                <td height="53" background="" bgcolor="">
                <table width="100%" border="0" cellspacing="0" cellpadding="4" height="50">
                    <tr>
                      <td background="YOUR IMAGE URL HERE" height="42"><font color:"white: class="block-title"><strong>$title</strong></font></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td bgcolor="" height="27"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                    <tr>
                      <td><font class="content">$content</font></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td height="85" background="YOUR IMAGE URL HERE" bgcolor=""> </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</td>
  </tr>
</table>


now please notice that if you use this code there will be no borders set. this is just a sample. also if you want to remove the block title. you remove this line of code

Code:
<font color:"white: class="block-title"><strong>$title</strong></font>


this is located in this line

Code:
<td background="YOUR IMAGE URL HERE" height="42"><font color:"white: class="block-title"><strong>$title</strong></font></td>


if you have any other problems hit me up on YIM

Thanks
Fury
 
View user's profile Send private message
Savent







PostPosted: Sun Oct 19, 2003 7:01 pm Reply with quote

Thanks Fury, I going to play around with the code, I will let you know if I'm having problems.
 
Savent







PostPosted: Tue Oct 21, 2003 9:42 pm Reply with quote

Okay-I got it to work, Thanks Exclamation But I took it to the next level- I did some major block modifications on my site, I learned how to to make my left and right blocks look different from each other, how to add layers and stuff to each block I choose, I'm turning into a block coding freak lol, check it out, how did I do? http://www.usnatoteam.2ya.com
 
fury







PostPosted: Tue Oct 21, 2003 10:04 pm Reply with quote

I love it, I may have to hire you. Only registered users can see links on this board! Get registered or login!
Thanks
Fury
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©