View Full Version : Empty Links Page
mln81
07-06-2005, 03:04 PM
I am trying to complete a link exchange with someone but when they visit the directory to see their listing, they are getting a blank area where the links are supposed to be. I can see the links.
They sent me a screen shot and sure enough, they have the right web address and everything shows up as it should, except for the link listings.
{non working url removed}
Any ideas?
springdot
07-06-2005, 04:26 PM
Hi there
I also get a blank page.... viewing the page source makes me wonder if your Google ad box or link-exchange scripts are over-writing the directory text, or causing it not to appear....
If I remember correctly, don't scripts have to be enclosed in a certain tag in Smarty?? There was something about this a while back on the forums - give me a minute, and I'll have a look for you
james
springdot
07-06-2005, 04:33 PM
Right, found it.. check out this (http://www.phplinkdirectory.com/forum/viewtopic.php?t=90&highlight=literal) post.
You need to enclose the javascript in {literal}{/literal} tags.... this way it will be executed properly
Give this a go, and it should work!
J
mln81
07-06-2005, 04:35 PM
Is it strange that I can see the links ok?
springdot
07-06-2005, 04:39 PM
Hmmm... yeah probably but I don't know enough about Smarty to say whether it may appear different to different browsers if not coded exactly how it should...
Maybe someone else can help??
mln81
07-06-2005, 04:43 PM
The other person that could not see the content was using Mozilla Firefox.
I added the {literal}{/literal} tags around the google code. Would you please check again and see if the content is visible or not?
Thanks,
Mandy
springdot
07-06-2005, 04:54 PM
Hmm... I see the directory as it should be in Internet Explorer, but not in Firefox, which is what I normally use.
The only thing that seems wrong from the page source is that where you have
<td>
The <td> should actually be a <tr>
Am I wrong with this?
Having said that, I can't see that error (if it is one and I am not being stupid) causing the problem....
David
07-06-2005, 04:58 PM
I'm getting a blank in Firefox, but not Internet Explorer.
There is probably to missing table related tag.
mln81
07-06-2005, 05:00 PM
Quite possibly :oops: I could use a few lessons on tables. I added the table row <tr>.
Try again please?
Ap0s7le
07-06-2005, 07:58 PM
Actually remove all those comment tags.
later
mln81
07-06-2005, 09:11 PM
Done. Can anyone see the content from a Mozilla Firefox browser?
{non working link removed}
~m
Valtar
07-06-2005, 09:15 PM
I can see it in firefox
Ap0s7le
07-06-2005, 11:31 PM
Yeah, shows up fine now.
later
springdot
07-07-2005, 12:08 PM
Me too - looks good
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.