Pere Posted December 27, 2017 Share Posted December 27, 2017 Buenas, Estoy intentando obtener la id del grupo al que pertenece el cliente logeado, para poder aplicar estilos CSS solamente al grupo con ID=4. Estoy añadiendo este código al header.tpl: {if Group::getCurrent()->id == 4} <link rel="stylesheet" href="/themes/wt_megastore/css/distribuidores.css" type="text/css" media="all"> {/if} Pero no me carga ni hace nada.. Alguien sabe como puedo hacerlo? Gracias. Link to comment Share on other sites More sharing options...
Pere-e Posted December 28, 2017 Share Posted December 28, 2017 Solved. Link to comment Share on other sites More sharing options...
ideaindividual Posted January 27, 2020 Share Posted January 27, 2020 (edited) Funciona de esa manera. Gracias Edited August 23, 2020 by ideaindividual Solved (see edit history) 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