View Full Version : Need a fix for a mod...
Doug B
11-22-2006, 01:06 AM
If a user fills in the suggest link fields and selects one of the listing options - see attached
If they make an incorrect entry they get a warning.
All the details remain EXCEPT the listing option. Is there a mod that will remember which the user chose, as they dont notice that it needs to be re-selected. :wallbash:
HELP :crazy-be:
Dave Baker
11-23-2006, 07:58 PM
Hello Doug B,
Where is attachment?
Please reattach image.
p.s same http://www.esyndicat.com/forum/about7845.html
Doug B
11-24-2006, 11:13 PM
Hi Dave here you go
(ref: 7845, think Ive sorted that now thanks)
Dave Baker
11-25-2006, 06:43 PM
Please, check it:
http://www.esyndicat.com/forum/showthread.php?t=7801&highlight=selected
Doug B
11-27-2006, 11:11 AM
Hi Dave,
Thats not quite what I ment.
If someone selects my #2 sponsorded plan, fills out all the forms but misses one (for instance) they get a warning message telling them what they missed, however It will un-check the sponsored plan they selected, if they dont notice this it will (by default) try to list them in my free listings, so then it keeps asking for the recipricol link.
What I wanted is for the system to not reset the listing type selected when it displays a waring (hope that makes sense)
Thanks
Doug
Dave Baker
11-29-2006, 03:48 PM
Hi Doug,
Please try the following:
***Open templates/yourTemplate/suggest-link.tpl and find code***
<p class="field"><input type="radio" name="plan" value="{$plan.id}" id="p{$plan.id}"{if $smarty.foreach.plans_dsp.iteration eq 1} selected{/if}/>
{assign var="plan_name" value='plan_'|cat:$plan.id|cat:'_title'}
{assign var="plan_desc" value='plan_'|cat:$plan.id|cat:'_desc'}
***Replace with following code***
<p class="field"><input type="radio" name="plan" value="{$plan.id}" id="p{$plan.id}" {if $smarty.post.plan}{if $smarty.post.plan eq $plan.id}checked{/if}{else}{if $smarty.foreach.plans_dsp.iteration eq 1}checked{/if}{/if} />
{assign var="plan_name" value='plan_'|cat:$plan.id|cat:'_title'}
{assign var="plan_desc" value='plan_'|cat:$plan.id|cat:'_desc'}
***Save file***
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.