|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| Junior Member | Hi, can anyone help me with this? I have a directory and i would like the submit page payment to be yearly subscription via paypal instead of a one time payment. you can see a submit page here: http://www.nemdex.net/submit.php So basically, i want that when someone choose sponsored listing, that they get the paypal URL I place in the code. In the below code i want if featured will redict to the paypal URL I specify. something like that: {if $price.featured} <tr><td><input type="radio" name="LINK_TYPE" value="featured"{if $LINK_TYPE eq 'featured'} checked="true"{/if} />{l}Featured links{/l}</td><td>${the-paypal-URL-i-want-here,-the paypal-URL-i-put-here-and-that-they-will-see-if-they-choose -sponsored-listing.com}</td></tr> {/if} I placed the code below: {if $price.featured} <tr><td><input type="radio" name="LINK_TYPE" value="featured"{if $LINK_TYPE eq 'featured'} checked="true"{/if} />{l}Featured links{/l}</td><td>${$price.featured}</td></tr> {/if} {if $price.normal gt 0} <tr><td><input type="radio" name="LINK_TYPE" value="normal"{if $LINK_TYPE eq 'normal'} checked="true"{/if} />{l}Regular links{/l}</td><td>${$price.normal}</td></tr> {elseif $price.normal eq 0} <tr><td><input type="radio" name="LINK_TYPE" value="normal"{if $LINK_TYPE eq 'normal'} checked="true"{/if} />{l}Regular links{/l}</td><td>{l}free{/l}</td></tr> {/if} {if $price.reciprocal gt 0} <tr><td><input type="radio" name="LINK_TYPE" value="reciprocal"{if $LINK_TYPE eq 'reciprocal'} checked="true"{/if} />{l}Regular links with reciprocal{/l}</td><td>${$price.reciprocal}</td></tr> {elseif $price.reciprocal eq 0} <tr><td><input type="radio" name="LINK_TYPE" value="reciprocal"{if $LINK_TYPE eq 'reciprocal'} checked="true"{/if} />{l}Regular links with reciprocal{/l}</td><td>{l}free{/l}</td></tr> {/if} {if isset($price.free)} <tr><td><input type="radio" name="LINK_TYPE" value="free"{if $LINK_TYPE eq 'free'} checked="true"{/if} />{l}Links with nofollow attribute{/l}</td><td>free</td></tr> {/if} </table> </div> {validate form="submit_link" id="v_LINK_TYPE" message=$smarty.capture.field_link_type} </td></tr> {/if} Can anyone give me the right code tweak to have them go to the URL I specify? Your help is greatly apreciated. Thanks. |
| |
|
| |||||||
| | #2 |
| iWEBTOOL Moderator Contributor Join Date: Oct 2006
Posts: 2,168
![]() ![]() ![]() ![]() ![]() | If you mean the suscribe button then its easy. Log on to paypal they have a section where you can make a custom button for this.The code is made you just copy and paste,easy . . ![]() |
| |
| | #3 | |
| Junior Member | Quote:
I know that, I need to be able to specify a specific URL in the smarty code for each of the sponsored and normal listing option. nothing to do with a paypal button... | |
| |
| | #4 | |
| Junior Guru | Quote:
This is a good idea, but don't use the actual code that paypal gives you, look at the link that the button goes to, and create a radio button that would choose this option. HTMLGuy
__________________ yaxal releases '07 | |
| |
(Threads which have no activity for more than 30 days are automatically closed.) |
| Quick Reply | ||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|