When the teacher uses a mobile device to edit their profile, there is no save button.

I added it at the bottom and then it threw the following error

Incorrect integer value: '' for column database.josve_guru_authors.show_website at row 1

So around line 1370 find

<div class="uk-form-row wk-form-row">
                        <label class="uk-form-label wk-form-label" for="name">
                            <?php echo Text::_("GURU_AU_AUTHOR_WEBSITE"); ?>:
                        </label>
                        <div class="uk-form-controls wk-form-controls">
                            <input type="text" class="inputbox" size="30" name="website" id="website" value="<?php echo $user->website; ?>" />
                        </div>
                    </div>

Add the following under <input type="text" class="inputbox" size="30" name="website" id="website" value="<?php echo $user->website; ?>" />
<?php echo $lists['show_website']; ?>

You can add the following code to line 1513, just before closing mobile version:

<div class="uk-form-row wk-form-row">
<label class="uk-form-label wk-form-label" for="name">
</label>
<div class="uk-form-controls wk-form-controls">
<?php
if ($user->id > 0) {
?>
<input onclick="document.adminForm.task.value ='saveAuthor'; document.adminForm.submit();" type="button" class="uk-button uk-button-success wk-button wk-button-success" value="<?php echo Text::_("GURU_SAVE_PROFILE") ?>" />
<?php
}
?>
</div>
</div>

    Write a Reply...
    You need to Login to view replies.