Agree terms switch off

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Hi,

Sure, do this:

- Delete the html code showing the tick box from index.php. Normally around line 109-118. (search for the class 'searchTerms')
- Within _indexAction.php set $agreeTerms = 1 on line 28. i.e.

Code:
$agreeTerms = 1;
This will override the agree terms checkbox to always be 'agreed'.

That's it. :)

Regards,
Adam.
 

BigBigBen

New Member
Wurlie User
Jul 13, 2012
5
0
0
on.cx
for me it was the only way "$agreeTerms = 1" without ";"

$agreeTerms = 1

Thank you very much