Lilounette77 Posted June 26, 2011 Share Posted June 26, 2011 Bonjour :cheese: Une première petite astuce que je me permets de partager avec vous :-P Le code présenté permet de rediriger le client après inscription sur la page d'accueil et d'afficher un message de remerciement. A vous de l'adapter en fonction de vos besoins ;-) Dans controllers/AuthController.php à la ligne 205 et 206 // Tools::redirect($back); Tools::redirect('index.php?msg=1'); Dans themes/votre_theme/header.tpl <!-- Voir le fichier joint --> Dans themes/votre_theme/css/global.css (ou ailleurs) .mydiv { background:#000000; color:white; width : 500px; height:300px; position : fixed; left: 50%; margin-left: -250px; top: 300px; z-index: 80000; padding:20px; } .fdnoir { background:black; width : 100%; height: 100%; position : fixed; top:0; left:0; clear:both; opacity:0.7; -moz-opacity : 0.70; -ms-filter: "alpha(opacity=70)"; /* IE 8 */ filter:alpha(opacity=70); /* IE < 8 */ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70); z-index: 7000; } Voilà Merci à Eolia et Brocéliande pour leur aide modif_header.txt Link to comment Share on other sites More sharing options...
Captain FLAM Posted June 26, 2011 Share Posted June 26, 2011 Merci de partager ton astuce Merci à Eolia et Brocéliande pour leur aide ça c'est bien Link to comment Share on other sites More sharing options...
Eolia Posted June 26, 2011 Share Posted June 26, 2011 Je confirme, Lilounette est extraordinaire !et très dynamique ;-) Link to comment Share on other sites More sharing options...
Lilounette77 Posted June 26, 2011 Author Share Posted June 26, 2011 Merci %-P Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now