>>  Site Map >>  Forums >>  Blocks

Forum module - topics in forum:



Blocks - Having problems with a block? Code doesn't work, get help here.



Please, please help me!!!

I am using an SQuery 4.5 Tiny block on this webpage. Please have a look.

http://87.81.28.214:56864/nuke/index.php

As you can see it is not sitting properly in the block. I was told to edit something but I am not sure what I need to edit. Here is some coading I have found which I feel is relevant. Is there something here that I need to edit and if so what to?


Copied from block-SQuery_tiny.php

Quote: :


$content.="<center><img src=\"$mappic\" width=\"120\" height=\"49\" style=\"border: 1px solid #FFFFFF\"></center>";
$content.='<table width="100%" cellspacing=0 cellpadding=0 align="center">';
$content.='<tr><td width="100%" style="padding-left: 3px; padding-right: 3px;" valign=top>';
$content.='<table cellspacing=0 cellpadding=0>';
$content.='</td></tr>';


I also found this:

Copied from theme.php


Quote: :


?><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD ROWSPAN=4>
<IMG SRC="themes/Metalica/images/blocks_01.gif" WIDTH=26 HEIGHT=56 ALT=""></TD>
<TD background="themes/Metalica/images/blocks_02.gif" width="100%">
<IMG SRC="themes/Metalica/images/blocks_02.gif" WIDTH=7 HEIGHT=11 ALT=""></TD>
<TD ROWSPAN=4>
<IMG SRC="themes/Metalica/images/blocks_03.gif" WIDTH=28 HEIGHT=56 ALT=""></TD>
</TR>


If anyone can see by the coding what I need to change please let me know. Or maybe I am looking in the wrong place?? Please let me know either way.

Thanks in advance. Cool






You were told to edit something, what and by whom? Have you asked this question on the makers site? We can't help you just because you paste 2 tiny and incomplete bits of code here. Sorry but without the actual complete code, this little bit is useless.






Hi, thanks for replying and sorry for the incomplete info!!

I will post the complete info this time! I have had a play around with numbers but nothing seams to make a difference other than make it worse!! To answer your question, yes I have posted on the makers site and I have not had a reply back. Firstly here is the post I did get initially:

Quote: :
you are using the ultra version, the block tiny.php just needs to be adjusted to fit the theme your using , just edit it.

go into your themes and look for the blocks module and find the size there and then transfer it to the squery tiny php file.


Unfortunately I cant post the full scripts into the forum as this caused a ban on my ip from this site Sad

So here are the links to 3 files which I think contain the relevant information I need. I just cant find it myself!!

Link(s) deleted by SevenofNine FTP unreachable errors!

Thanks to anyone who can help me with this.

thanks again






You also can not post unzipped files in an ftp. Zip then and use http links.






lol, Im not having much luck here!!! Sorry for the trouble on this one!! I really am.

Ok, well here are the links again direct from my website instead!!

1) block-SQuery_tiny.php
2) style.css
3) theme.php

The PHP files I have had to save as txt files as internet explorer cant download php files!!

Hope this is ok.
If not, maybe I will admit defeat and not have the block on at all!!Sad






Looking at the code you supplied all I can suggest is to try a different theme. If that helps then you know it's a theme issue. It is definately not a block issue.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS