Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Help with detailed template. Please

Quote Reply
Help with detailed template. Please
Hey there,

Created new column in links section called GalleryListing. Form type text area. Size 50,6

I need to have this printed out on the detailed page at the very bottom where webmasters will be able to copy the listings located in the text area by right click/copy.

Also, not sure why but just noticed PayPalPayments, Processor, and WebmasterReferral are not being printed out on the detailed page. It's gotta be something simple, me thinks :)

Here is the existing detailed template code. I didn't put in anything for the GalleryListing because I have no iidea what to put. I need the text area the same width as the existing table on the detailed page so it matches good.

<font color="#ffffff"><b>Pay Rate:</b></font></div>
</td>
<td width="75%" bgColor="#ccffcc"><%PayRate%> &nbsp;</td>
</tr>
<tr vAlign="top">
<td width="20%" bgColor="#006600">
<div align="right">
<font color="#ffffff"><b>Type of Program:</b></font></div>
</td>
<td><%TypeOfProgram%> &nbsp;</td>
</tr>
<tr vAlign="top" bgColor="#ccffcc">
<td width="20%" bgColor="#009900">
<div align="right">
<font color="#ffffff"><b>Free Content?</b></font></div>
</td>
<td><%if FreeContent%>Yes<%else%>No<%endif%></td>
</tr>
<tr vAlign="top">
<td width="20%" bgColor="#006600">
<p align="right"><font color="#FFFFFF"><b>Free Hosted Galleries?</b></font></p>
</td>
<td><%if HostedGallery%>Yes<%else%>No<%endif%></td>
</tr>
<tr vAlign="top">
<td width="20%" bgColor="#009900">
<p align="right"><font color="#FFFFFF"><b>Credit for Exit Console
Sales?</b></font></p>
</td>
<td bgcolor="#CCFFCC"><%if ExitTraffic%>Yes<%else%>No<%endif%></td>
</tr>
<tr vAlign="top">
<td width="20%" bgColor="#006600">
<div align="right">
<font color="#ffffff"><b>Pay Periods:</b></font></div>
</td>
<td><%PayPeriods%>&nbsp; </td>
</tr>
<!--<tr vAlign="top">
<td width="20%" bgColor="#009900">
<div align="right">
<font color="#ffffff"><b>PayPal Payments:</b></font></div>
</td>
<td bgcolor="#CCFFCC"><%if PayPalPayments%><%PayPal_Payments%><%else%>No<%endif%>&nbsp; </td>
</tr>
<tr vAlign="top">
<td width="20%" bgColor="#006600">
<p align="right">
<font color="#ffffff"><b>Payment Processor :</b></font></td>
<td><%if Processor%><%Processor%><%else%>None Set<%endif%>&nbsp;</td>
</tr>
<tr vAlign="top">
<td width="20%" bgColor="#009900">
<p align="right">
<font color="#ffffff"><b>Webmaster Referral :</b></font></td>
<td bgcolor="#CCFFCC"><%if WebmasterReferral%><%WebmasterReferral%><%else%>No<%endif%>&nbsp;</td>
</tr>-->

Here is the template in action:
http://www.adultsponsors.com/Detailed/1455.html

Thanks 100% in advance
Quote Reply
Re: [Chrisp] Help with detailed template. Please In reply to
Looking at the detailed template, I first noticed the statements such as: <%if HostedGallery%> which is the column name. Does this value have to be somewhere else besides in the Links table definition properties and where I want it on the detailed template? Just wondering, because if so, that is a good reason why the PayPalPayments, Processor, and WebmasterReferral are not being printed out on the detailed template. Because I don't think those values are located anywhere else. Just wondering out loud here

TIAWink
Quote Reply
Re: [Chrisp] Help with detailed template. Please In reply to
Might help if I take the <!-- tags out of the template. Could be a good reason that data wasn't being displayed Smile

Got that part working fine now. Still a little confused on displaying the GalleryListing data with the form box on the detailed template.
Quote Reply
Re: [Chrisp] Help with detailed template. Please In reply to
Okay. I can get the data to post on the template. This is what it looks like now, under Gallery Listing. As you can see, it's not in a form box.
http://www.adultsponsors.com/...d%2F128.html&d=1

What code do I use on the detailed template to make the data go into a form box so that webmasters will be able to right click, select all, and then copy all the data from within the form box? There is going to be a ton of data in there. I want it to look like the attachment which is a snapshot of the admin area.

Here is what I have now:

<tr vAlign="top">
<td width="20%" bgColor="#006600">
<p align="right">
<font color="#ffffff"><b>Gallery Listing:</b></font></td>
<td><%GalleryListing%> &nbsp;</td>
</tr>

Thanks in advance.

Last edited by:

Chrisp: Jul 12, 2003, 10:55 AM
Quote Reply
Re: [Chrisp] Help with detailed template. Please In reply to
Anyone know how to do this?

thanks
Quote Reply
Re: [Chrisp] Help with detailed template. Please In reply to
Something like this will give you a text area box, with that tags values in it.

Code:
<tr vAlign="top">
<td width="20%" bgColor="#006600">
<p align="right">
<font color="#ffffff"><b>Gallery Listing:</b></font></td>
<td><textarea rows="2" name="S1" cols="20"><%GalleryListing%></textarea></td>
</tr>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Help with detailed template. Please In reply to
Thanks dude! You still on ICQ?

I might have another job for you soon. Got a couple things I would like to discuss. Or I could send email. Whatever.
Quote Reply
Re: [Chrisp] Help with detailed template. Please In reply to
>>Thanks dude!<<<

No prob Cool


>>>You still on ICQ? <<<

You can get me on MSN or AOL... ICQ gets too many spammings :( Email is good otherwise.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!