Gossamer Forum
Home : Products : Links 2.0 : Customization :

Modification Birdcast.cgi (Recommend It)

Quote Reply
Modification Birdcast.cgi (Recommend It)
Hello all,

I'm using "Recommend It" Modification and Birdcast v2.0 and its work fine to me, my question is, is it possible to customize and use the syntax <%if%> or <%endif%>, for example something like below:

<%if Title%>
Site Name:
$rec{'Title'}
<%endif%>
<%ifno Title%>
Site Anything:
<%Anything%>
<%endif%>
Site Location: $rec{'URL'}
Site Description: $rec{'Description'}

Please help and thanks so much.

Quote:
Part of "Recommend It" Modification
For Links v2.0 and Birdcast v2.0 [ur]http://www.orphanage.com/goodstuff/recommend_mod2.html[/url]

Change:
$JUMP_TO

__STOP_OF_MAIL__
To read (Note: The "Site Description" line below is optional):
Site Name: $rec{'Title'}
Site Location: $rec{'URL'}
Site Description: $rec{'Description'}

__STOP_OF_MAIL__
Note: The "__STOP_OF_MAIL__" should be flush with the left margin.

Optionally change:
$msgtxt .= "Here is their message....\n";
$msgtxt .= "$fields{'message'}\n\n";
to read:
$msgtxt .= "Here is a personal message from $fields{'send_name'}....\n";
$msgtxt .= "--------------------------------------\n\n";
$msgtxt .= "$fields{'message'}\n\n";
$msgtxt .= "--------------------------------------\n\n";

sub draw_request:


Modify this section to provide the look and feel of your site. Such things as the Links menu, instructions you want to provide, etc. All variables for the link being recommended are available for your use. For example:


$rec{'Title'} - contains the link title.
$rec{'URL'} - contains the link URL.
$rec{'Description'} - contains the description of the link.



Subject Author Views Date
Thread Modification Birdcast.cgi (Recommend It) reenee 715 Sep 18, 2001, 9:59 AM
Post Re: [reenee] Modification Birdcast.cgi (Recommend It)
TomJ 708 Sep 18, 2001, 10:11 AM