Webmastersite.net
Register Log In

Link type with 2 columns incorrect?

Comments on Link type with 2 columns incorrect?

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Jun 24, 2007 - 7:53 AM:

I have exactly the same displaylinks templates on two sites. At www.thedogscene.co.uk/shopp...ng-and-links/dog-supplies/ it shows correctly. But on www.homeandgardenworld.co.u...uk/celebrations/christmas/ the left hand column is too wide.

In displaylinks.tpl I have [insertfile] for the linkbits. The insertfile is...

<td width="125" valign="top" align="center" class="link">{LINKSMALLBANNER}
<IF {LINKFILEFIELD}>
<!-- BEGIN LINK ATTACHMENTS -->
<IF {ATTACHISIMAGE}><IF {LINKURL}>
<a href="https://www.webmastersite.net/forums/{TRACKLINKURL}" class="reciplink" target="_blank"><img src="https://www.webmastersite.net/forums/{ATTACHTHUMBURL}" alt="{LINKTITLE}" border="0" ></a> <?php } else { ?>
<a href="https://www.webmastersite.net/forums/{LINKDETAILSURL}"><img src="https://www.webmastersite.net/forums/{ATTACHTHUMBURL}" alt="{LINKTITLE}" border="0" ></a></IF>
</IF>
<!-- END LINK ATTACHMENTS -->
</IF></td>
<td valign="top" class="link">
<IF {LINKURL}>
<a href="https://www.webmastersite.net/forums/{TRACKLINKURL}" class="reciplink" target="_blank"><b>{LINKTITLE}</b></a>
<?php } else { ?>
<a href="https://www.webmastersite.net/forums/{LINKDETAILSURL}"><b>{LINKTITLE}</b></a></IF>
{LINKNEW}
<IF {LINKISREAD}><img src="https://www.webmastersite.net/forums/templates/default/images/visited.gif" alt="viewed" title="Already Viewed"></IF> {LINKADMIN}
<IF 1 and {LINKRATING}><img src="https://www.webmastersite.net/forums/templates/default/images/stars{LINKNUMSTARS}.gif" alt="{LINKRATING} out of 5 stars" title="{LINKRATING} out of 5 stars"> ({LINKVOTES} votes)</IF>
<IF 0><img src="https://www.webmastersite.net/forums/templates/default/images/pagerank/{LINKPAGERANK}.gif" alt="PageRank {LINKPAGERANK}" title="PageRank {LINKPAGERANK}"></IF>
<br /><br />
<font size="1">{LINKDESCRIPTION[300]}<i>... <a href="https://www.webmastersite.net/forums/{LINKDETAILSURL}">read more</a></i></font>
<div class="linktools">
<br>Submitted {LINKDATE}.
<IF 0> Viewed {LINKHITS} times</IF> <br />
<a href="https://www.webmastersite.net/forums/{LINKDETAILSURL}"><img src="https://www.webmastersite.net/forums/templates/default/images/linktools_details.gif" border="0" alt="Details"> Details</a>
<IF 0><a href="https://www.webmastersite.net/forums/report.php?id={LINKID}"><img src="https://www.webmastersite.net/forums/templates/default/images/linktools_report.gif" border="0" alt="Report"> Report</a></IF>
<IF 1><a href="https://www.webmastersite.net/forums/email.php?id={LINKID}"><img src="https://www.webmastersite.net/forums/templates/default/images/linktools_emaillink.gif" border="0" alt="Email Link"> E-Mail Link</a></IF>
<IF 1 and 1><a href="https://www.webmastersite.net/forums/savedtopics.php?add={LINKID}"><img src="https://www.webmastersite.net/forums/templates/default/images/linktools_save.gif" border="0" alt="Save"> Save</a></IF>
<IF 1><a href="https://www.webmastersite.net/forums/vote.php?id={LINKID}"><img src="https://www.webmastersite.net/forums/templates/default/images/linktools_rate.gif" border="0" alt="Rate"> Rate</a></IF>
<IF 1><a href="https://www.webmastersite.net/forums/{LINKTHREADURL}"><img src="https://www.webmastersite.net/forums/templates/default/images/linktools_comments.gif" border="0" alt="Comments"> Reviews (<IF {LINKCOMMENTSREAD}>{LINKNUMCOMMENTS}<?php } else { ?><b>{LINKNUMCOMMENTS}</b></IF>)</a></IF>
</div></td>


I am at a loss why it should be ok on one site and not the other! Ideas?
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Jun 24, 2007 - 9:37 PM:

This has somehow righted itself now and shows correctly!
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Jun 25, 2007 - 1:42 AM:

OK, I now see why this was happening... On the original site link types were not mixed, on the second site they were.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.