Hi!
Goooooogeled that but no good answer. What i want is, how collapse group profile fields in viewtopic and profile view?
Have anyone some idea?
.\styles\prosilver\template\viewtopic_body.html
Code: Select all
<!-- EVENT viewtopic_body_postrow_custom_fields_before -->
<!-- BEGIN custom_fields -->
<!-- IF not postrow.custom_fields.S_PROFILE_CONTACT -->
<dd class="profile-custom-field profile-{postrow.custom_fields.PROFILE_FIELD_IDENT}"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- ENDIF -->
<!-- END custom_fields -->
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
Code: Select all
<div>
<details>
<summary title="collapse cpf"> <i class="icon fa-compress fa-fw" style="color: #0076b1" aria-hidden="true"></i> Collapse CPF</summary>
<!-- EVENT viewtopic_body_postrow_custom_fields_before -->
<!-- BEGIN custom_fields -->
<!-- IF not postrow.custom_fields.S_PROFILE_CONTACT -->
<dd class="profile-custom-field profile-{postrow.custom_fields.PROFILE_FIELD_IDENT}"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
<!-- ENDIF -->
<!-- END custom_fields -->
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
</details>
</div>
Code: Select all
<!-- BEGIN custom_fields -->
<div>
<details>
<summary title="PC Spec"><i class="icon fa-compress fa-fw" style="color: #0076b1" aria-hidden="true"></i> PC Spec</summary>
<!-- IF not postrow.custom_fields.S_PROFILE_CONTACT -->
<dd class="profile-gender"><strong>{L_GENDER}{L_COLON}</strong> {postrow.USER_GENDER}</dd>
<!-- ENDIF -->
</details>
</div>
<!-- END custom_fields -->
3Di wrote: Sat Dec 07, 2019 1:31 am If you have doubts or questions please post in the styles forum.