Hi, 2 questions:
1: this error appears when a new user has not set his country or state and tries to edit the address fields in front-end. When this fields are already filled from backend then the issue does not appear, how can I solve this? "Trying to get property 'id' of non-object" on line 24 of public_html/plugins/kurtjensen/profile/classes/address/partials/_edit.htm'
2: How do i prevent the edit button from disappearing on hover if I edit my details on account page? If I remove this line 'style="display:none;"' in all the partials/_model.htm it still disappears on hover.
1:Thanks for reporting the issue. It is now fixed in version 1.3.4
2: If you don't like the default behavior of hiding the edit buttons, you can trick the JS by adding a blank anchor tag just before the edit link / button in the partials.
<div id="panel-AddressPanel-0" class="editable">
<a></a>
<a
href="#"
data-request="onPanelForm"
data-request-data="panel_name:'AddressPanel'"
data-toggle="modal"
data-target="#profileModal"
class="pull-right edit-link btn-info btn" > <?= $this->tc('edit') ?></a>
<dl>
You will still need to remove this line 'style="display:none;"' in all the partials/_model.htm and partials/_display.htm
Last updated
1: Thank you for fix =) 2: This solution is working great until the edited data is saved, then the button disappears again. Do you know a fix for this as well?
1-3 of 3