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 7.9
Author Message
ian_c
New Member
New Member



Joined: Nov 25, 2008
Posts: 1

PostPosted: Tue Nov 25, 2008 5:07 am Reply with quote

Hi all.

I have just discovered the joy that is PHP-Nuke and have fallen in love with it, it will answer all the issues I have with the site I am trying to build,, but I have come across a problem and I am really hoping you can help me out.

I have worked out how to add an image to the text blocks, (after hours and hours of searching),, but am stuck with the issue of the logo.

I have attached an image for you to see and as you can see i have a problem with getting the logo.gif to locate to the left rather than being in the middle. If I resize the gif it just shrinks it to fit, and I am stuck...

You will see 2 images below.

Image
This is how my site appears now, and I need to change it so it appears like this.

Image

Creation of the image is not a problem for me, but what I can not do is get the PHP-Nuke Logo.gif to locate to the left and then if possible add a second to the right.

Please can someone help.. thank you very much...

Ian
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Nov 25, 2008 5:59 am Reply with quote

If you are just starting out fresh, you might want to start off with RavenNuke(tm) as you will get the advantage of 1000's of hours of security bug fixes, code fixing, re-coding, enhancements, making it the most secure and only fully XHTML compliant version of nuke out in the "wild". Plus, the development team pretty much "haunts" these boards almost night and day... Wink

For your particular issue, you need to play with the HTML code that is either in theme.php or header.html to position your image(s) the way you want/need. You have to change code to get this exactly the way you want.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Nov 25, 2008 6:13 am Reply with quote

Your themes header.html file should be something like this
Code:


<tr valign="middle">
      <td width="60%" align="right" rowspan="2">
         <a href="index.php"><img src="themes/3D-Fantasy/images/logo.gif" border="0" alt="$modifiedSitename" /></a>
      </td>
      <td width="40%" colspan="2">
       <p align="center"><b>$modifiedSitename!</b></p>
      </td>
   </tr>

If you want the image to go all the way across with nothing else take the rowspan out of the first TD, change the width to 100% and get rid of the second TD.
That should get you pretty close.
 
View user's profile Send private message Send e-mail
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 7.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 ©