-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LPS-65325 changes to horizontal and vertical theme #3977
Conversation
…this variable can now be used by themes
@drewbrokke @pei-jung I have moved the logic from the themes about users to a theme context contributor in the users-admin-web module. Can you please have a look? thanks! |
@juliocamarero With moving the user variables out of the unstyled theme, doesn't this technically break backwards compatibility, since any theme that's using those vars will now break? Thanks guys, |
Hey Nate, Nothing changes for other themes. Now the same variables are injected This just makes the themes lighter and the execution faster, but it's a
|
Hey @juliocamarero, Should we also remove the user variables in the velocity templates (https://github.com/liferay/liferay-portal/blob/master/modules/apps/foundation/frontend-theme/frontend-theme-unstyled/src/main/resources/META-INF/resources/_unstyled/templates/init.vm#L44-L62) in 065fbd9? |
@juliocamarero Thanks for the info. Makes sense :) @pei-jung I believe 065fbd9 already has those removed? Unless I misunderstood what you meant. |
Hey @natecavanaugh, Those variables are only removed in the freemarker template |
Ahhh sorry, I misread what you pasted. I'll leave that one to Julio to answer :) |
@natecavanaugh That's alright. I should've just linked the url instead of pasting the whole thing. That way, it's more clear :) |
Yes, you are right @pei-jung !! Sorry I missed that one! I forgot we still have the vm files. I just added another commit. thanks a lot!! |
Merged and pushed to Brian. Thanks :) |
@juliocamarero thanks for letting us know about this. Good catch, @pei-jung! |
No description provided.