english
There is no need to modify any files to achieve the checkbox selected by default.
Find in the original create_acount.php file:
tep_draw_checkbox_field('newsletter', '1')
And set the third parameter to true (it is set to false by default in the html_output.php)... in other words, replace the previous with:
tep_draw_checkbox_field('newsletter', '1',true,'checked')
Is that simple.
the package have the same text
================================================== =============================
Português
Não precisa modificar 3 arquivos só para colocar a caixinha de newsletter como
selecionmada basta editar o codigo do arquivo create_account.php
encontre este codigo:
tep_draw_checkbox_field('newsletter', '1')
e substitua por:
tep_draw_checkbox_field('newsletter', '1',true,'checked')
é isto ,simples assim.
O arquivo pra download contem o mesmo texto
More...





LinkBack URL
About LinkBacks









Bookmarks