We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Registration second photo upload? | Forum

falancas
falancas Dec 16 '11
Hello, {text key='base+questions_section_user_photo_label'} how can I do second photo label for registration form? Thank you for oxwall perfect script :)
Attachments:
  question.PNG (13.66Kb)
Ruben
Ruben Jan 1 '12
Go  to    you directory \ow_system_plugins\base\views\controllers\join_index.html 

add this script to  line 95 

{if $display_photo}                    <tr><th colspan="3">{text key="base+questions_section_user_photo_label"}</th></tr>                    <tr class="{cycle name=userPhoto values='ow_alt1,ow_alt2'}">                        <td class="ow_label">                            {label name='userPhoto'}                        </td>                        <td class="ow_value">                            {input name='userPhoto'}                            <div style="height:1px;"></div>                            {error name='userPhoto'}                        </td>                        <td class="ow_desc">                            {question_description_lang name='user_photo'}                        </td>                    </tr>                {/if}

or where ever you want it to be displayed (note: copy in .html file .php files it will not work)