Gossamer Forum
Home : Products : Links 2.0 : Customization :

My tables gone mad [ help! ]

Quote Reply
My tables gone mad [ help! ]
Hello ,

I have re-build my ( Download Archive ) Links 2.0 and the New / Cool / Picks / Category page were crazy;)

Have a look at http://www.myfratzia.net/downloads/Picks/ ... you will notice that the tables from the bottom , must be on the left site .

If someone has encountered such an error please let me know how to fix it.

Thank you for your help !
Quote Reply
Re: [atom-fratzia] My tables gone mad [ help! ] In reply to
How on earth do you have that page set up?! Besides the normal page, there are tags for about seven more pages within the code!

<html><head</head><body>code

<html><head</head><body>code</body></html> X7!!

code</body></html>

Are you calling parts of the page by SSI, or is it all being bult by the mod? The New and Cool pages are doing the same thing...


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] My tables gone mad [ help! ] In reply to
Nothing is called by SSI ... and i really can`t figure out where have i made an error.

Can you please point me some of the "places" i should look into ?

Thanks...
Quote Reply
Re: [atom-fratzia] My tables gone mad [ help! ] In reply to
Looking at the Editor's Pick mod, I see it has the line in common with the others:

Code:
$link_output{$category} .= &site_html_link (%tmp) . "\n";


This is telling it to build the link as defined in site_html.pl or site_html_templates.pl, which looks to your link.html. Have you changed this to point somewhere else (besides &site_html_link)? The $link_output, wherever it's coming from, should only define what EACH LINK looks like, not a whole page. Look at the one from the download. Your category/link pages look fine, so...

Did this work OK before? If yes, what have you recently changed?


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] My tables gone mad [ help! ] In reply to
$link_output{$category} .= &site_html_link (%tmp) . "\n"; is at it`s place ...it isn`t modified .

I really don`t know what could have caused this because a few days ago everything was ok and i haven`t installed recently any mods beside : searchlogger and comments4 which don`t have anything to do with the html part of the what`s new/cool/picks...

Could you think of anything else than what you have previously suggested ?

Thanks!
Quote Reply
Re: [atom-fratzia] My tables gone mad [ help! ] In reply to
Hello ,

I have looked more into it to see what is the cause of that and i have found out that if i replace my custom templates with the ones from the original Links Download Archive zip it doesn`t mess up everything .

So ...my conclusion is that the templates are messing that up ...i have attached both my custom templates and my original templates , because i just can`t find the problem.

I olso tried to re-build my templates form zero but it doesn`t work.....wired...

Thank you for your help !
Quote Reply
Re: [atom-fratzia] My tables gone mad [ help! ] In reply to
I'm no html whiz and I have not followed this thread but look at lines 120-122 in pick.html

Code:
</tr>
<%link_results%>
</table>


shouldn't it be something like

Code:
</tr>

<tr>
<td colspan=6>

<%link_results%>
</td>
</tr>

</table>


just a thought


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [esm] My tables gone mad [ help! ] In reply to
I tried that...and it doesn`t seem to work...man i`m desperate ;)

Thanks Gene ...
Quote Reply
Re: [atom-fratzia] My tables gone mad [ help! ] In reply to
it still needs a little work. goto the pick.htm on your site and view the source code. Look at lines 115 and 116.

Code:
115 <tr bgcolor=#FFCC00>
<td colspan=6><font size=2>
<A HREF="http://www.myfratzia.net/downloads/
Home_&_Desktop/Shell_&_Desktop_Management/index.html">
Home & Desktop : Shell & Desktop Management</A></font>
</td>
</tr>
116 <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="eeeeee">


once again notice the /TR followed by the TABLE tag. that will get you an error. I believe line 116 is the beginning of the link.html code. it actually starts at lines 69 and 70. and repeats throughout the pick page.


Any table nested inside of another table must be inside a TD /TD tag of that outer table. since link_results is a table, it must be inside of the TD /TD of the immediately preceding table.

Fix that and go from there


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [esm] My tables gone mad [ help! ] In reply to
Thanks Gene..that was very helpful ...i have managed to get everything back to normal...

Thanks man!