Admin Admin
Messages : 23 Date d'inscription : 09/01/2012
| Sujet: Masquer/afficher certaines parties du profil Sam 14 Jan - 23:32 | |
| - Dr. Karlos a écrit:
- Bonsoir,
Vous avez plusieurs options qui s'offrent à vous:
- http://forum.forumactif.com/t293173-bouton-afficher-masquer-profil#2578983 (sans images)
- http://forum.forumactif.com/t312399-boutons-afficher-masquer-sur-le-profil#2724311 (avec images que vous devrez modifier, elles ne sont plus valables)
La troisième solution:
Allez dans votre template "viewtopic_body", trouvez cette partie: - Code:
-
<!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> {postrow.displayed.POSTER_RPG} Et remplacez-la par celle-ci: - Code:
-
<div class="profilbouton" onClick="this.firstChild.value=(this.firstChild.value=='C L I Q U E Z')?'M A S Q U E R':'C L I Q U E Z';this.lastChild.style.display=(this.firstChild.value=='C L I Q U E Z')?'none':'block';" style="text-align: center;"><input type="button" value="C L I Q U E Z" class="boutonprofil"/><div style="display: none; text-align: left;"><br /> <!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> </div></div> N'oubliez pas de :ajout: les modifications après.
Cordialement,
Dr. Karlos Aidant Forumactivien. | |
|