-
Notifications
You must be signed in to change notification settings - Fork 203
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
Get styles in php files #266
Comments
I think it would be great if it worked, but I'm not fully sure how it should be implemented as we do not fully know in that point which template style gets loaded. Thanks for the report, though, I need to take a look into this at some point. |
can't be used a helper, like joomla dose with `Jhelper' ? so just add this where you need it, i am not that good at php :)) |
Gantry already works in that point, but the issue is that template gets initialized after component gets rendered, so it doesn't know which template style to use at that point. No worries, I guess I just need to initialize it when needed. |
I am not sure how to name this or if is supposed to work.
adding this line will returng gantry 500 error:
<i class="<?php echo Gantry\Framework\Gantry::instance()['config']->get('styles.others.font'); ?>"></i>
as we've talked in the chat, i'll let this open as a question.
The text was updated successfully, but these errors were encountered: