phpld 3.2.0 question

Discussion in 'Directories' started by Abhik, Nov 26, 2007.

  1. #1
    Hello,
    How can I put description in submission page for each type of submission?
    like, I want to put description for reciprocal option "Reviewed within 24 hour" after pricing.
    How can I do that in phpld 3.2.0?
     
    Abhik, Nov 26, 2007 IP
  2. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Edit submit.tpl file and look for the reciprocal field/option (use find) and play with that, you can have it all setup and going.
     
    paidhosting, Nov 26, 2007 IP
  3. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #3
    I was trying for last two hours and failed every time..

    Can anyone please help me out? Here is my Submit.tpl
     
    Abhik, Nov 27, 2007 IP
  4. newbie3

    newbie3 Peon

    Messages:
    416
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you must edit submit.tpl from the template you are using
     
    newbie3, Nov 27, 2007 IP
  5. rightit

    rightit Well-Known Member

    Messages:
    1,320
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    145
    #5
    rightit, Nov 27, 2007 IP
  6. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #6
    Nevermind.. I solved it.. :D
     
    Abhik, Nov 27, 2007 IP
  7. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #7
    If you don't mind can you share with us that how you solved it :confused:

    DON ;)
     
    deluxdon, Nov 27, 2007 IP
  8. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #8
    sure thing DON..
    I just edited the code like this..
    
       {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>{$smarty.const.HTML_CURRENCY_CODE}{$price.featured}</td><td>{l}Review within 24 Hours.{/l}</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>{$smarty.const.HTML_CURRENCY_CODE}{$price.normal}</td><td>{l}Review may take time. Only submission of homepage accepted.{/l}</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><td>{l}Review may take time. Only submission of homepage accepted.{/l}</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>{$smarty.const.HTML_CURRENCY_CODE}{$price.reciprocal}</td><td>{l}Review within 24 Hours.{/l}</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><td>{l}Review within 24 Hours.{/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}
    
    PHP:
    You can see it working on http://www.thewallhut.com/submit.php

    Abhik
     
    Abhik, Nov 28, 2007 IP