|
|
|
|
|
All times are GMT
|
|
|
Partner Banner
|
Tue Apr 03, 2007 2:33 pm
|
|
loungeoutdoors
Joined: 14 Nov 2006
Posts: 20
Location: Sandy Point, NS. Canada
|
I'm trying to add a Directories Page - it will contain link info for directories where we have listings. The Link info they give us is in this form:
<a href='http://www.directory.esearchlogic.com/cgi-bin/directory/in.cgi?id=4120' target='_blank'><img src='http://www.directory.esearchlogic.com/images/88x31.gif' border='0'></a>
I placed the 'http://www.directory.esearchlogic.com/cgi-bin/directory/in.cgi?id=4120 in the Partner Domain field and
'http://www.directory.esearchlogic.com/images/88x31.gif' in the partner banner field and changed the "For Each Partner" snippet to read
<ul>
<[FOR_EACH_PARTNER sortBy="entranceDate"]>
<br>
<li><a href="<[PARTNER_DOMAIN/]>" target="blank"><[PARTNER_NAME/]></a>
<[PARTNER_BANNER/]> <[PARTNER_DESCRIPTION/]>
</li>
<[/FOR_EACH_PARTNER]>
</ul>
but I don't get the images or even a link to the partner domain.
Help Please!
Thanks
|
|
|
|
|
Tue Apr 03, 2007 3:54 pm
|
|
loungeoutdoors
Joined: 14 Nov 2006
Posts: 20
Location: Sandy Point, NS. Canada
|
I've half beaten it to death with this code (html challenged today - again!)
<ul>
<[FOR_EACH_PARTNER sortBy="entranceDate"]>
<br>
<li><a href="<[PARTNER_DOMAIN/]>" target="blank"><img border="0" src="<[PARTNER_BANNER/]>"><[PARTNER_NAME/]></a><br>
<[PARTNER_DESCRIPTION/]>
</li>
<[/FOR_EACH_PARTNER]>
</ul>
But I now have a problem with those items that do not have a banner - a link to my site is put in if no banner is entered - is there some null or something I can put in to prevent this?
|
|
|
|
|
Tue Apr 03, 2007 7:06 pm
|
|
loungeoutdoors
Joined: 14 Nov 2006
Posts: 20
Location: Sandy Point, NS. Canada
|
OK, blind as well as html challenged today!
<ul>
<[FOR_EACH_PARTNER sortBy="entranceDate"]>
<br>
<li>
<[IF_PARTNER_BANNER_IS_BLANK]>
<[THEN]><a href="<[PARTNER_DOMAIN/]>" target="blank"><[PARTNER_NAME/]></a><[/THEN]>
<[ELSE]><a href="<[PARTNER_DOMAIN/]>" target="blank"><img border="0" src="<[PARTNER_BANNER/]>"><[PARTNER_NAME/]></a><[/ELSE]>
<[/IF_PARTNER_BANNER_IS_BLANK]>
<[PARTNER_DESCRIPTION/]>
</li>
<br>
<[/FOR_EACH_PARTNER]>
</ul>
Working!
|
|
|
|
|
Wed Apr 04, 2007 1:43 pm
|
|
LinkAssistant
Site Admin
Joined: 26 Sep 2005
Posts: 820
|
| loungeoutdoors wrote: |
Working!
|
Great work, loungeoutdoors!
Sorry I haven't been able to respond faster, but as far as I can see, you're doing great on your own  _________________ Search Engine Optimization Software
|
|
|
|
|
|
|
Back To Top
|
|
|