Title |
Details of a certain link on the main.tp |
Message Text |
Ok,
So I have an a directory. And as paid membership members can have their link on the main page under the category folders. Exactly how would I code this to show up? Everytime I do it I get an internal error. For example I would want link id 10 thumbshot and link details and link to show up on the main page above subpagination. what code would I use to do this since I am doing it wrong. This is how I have it:
<p><div class="details">
<IF {SWITCH_THUMBSHOTS}><div class="thumbshot">{LINKTHUMBSHOT}</div></IF>
<IF {LINKURLBOOL}><span class="labels">URL:</span> <a href="{TRACKLINKURL}" {EXTERNALLINKS}>{LINKURL}</a><br /></IF>
<IF {LINKDESCRIPTIONBOOL}><span class="labels">Description:</span> {LINKDESCRIPTION}<br /></IF>
<span class="labels">Submitted:</span>
{LINKDATE} <IF {LINKLASTEDIT} is greater than {LINKTIME}> (Edited {LINKLASTEDITDATE}) </IF> {LINKADMIN}<br />
<IF {SWITCH_HITS}><span class="labels">Hits:</span>
{LINKHITS} to site<IF {SWITCH_HITSIN}>, {LINKHITSIN} from site</IF>. Averaging {LINKHITSOUTPERDAY} out<IF {SWITCH_HITSIN}> and {LINKHITSINPERDAY} in</IF> per day. <IF {HITSTEMPDAYS}><br />In the most recent {HITSTEMPDAYS} day period, there've been {LINKHITSOUTTEMP} to the site<IF {SWITCH_HITSIN}> and {LINKHITSINTEMP} from the site</IF>.</IF><br /></IF>
<IF {SWITCH_RATINGS} and {LINKVOTES}><span class="labels">Rating:</span>
{LINKSTARS} <br />{LINKRATING}/{MAXVOTE} based on {LINKVOTES} votes. The median rating is {LINKMEDIANRATING}. <IF {THISMEMBERGROUPCANVIEWVOTES}><a href="showvotes.php?id={LINKID}">Show Individual Votes</a></IF><br /></IF>
<IF {SWITCH_COMMENTS}><span class="labels">Reviews:</span>
<a href="{LINKTHREADURL}">{LINKNUMCOMMENTS} comments</a><br /></IF>
<IF {SWITCH_TRADER} and {LINKOWNERID}><span class="labels">Trader Rating:</span> <a href="{MEMBERTRADERPROFILEURL}">{MEMBERTRADERRATING}</a><br /></IF></p>
|
Rating |
0/5 based on 0 votes.
|
Ownership |
shibby2373 |
Views |
306 views. Averaging 0 views per day. |
Similar Topics |
|
Submission Date |
May 09, 2009 - 2:50 AM |