Very like your package! Hope it will be a part of core someday =)
I'am using Iconic with Material Icons and there is a problem.
Here my settings:
Looks like "Template" renders icon only in backoffice, because changing value of this field does't matter to Razor output. I just want to render only an icon name.
The template is used on the frontend as well but once you have selected an icon in your page, it will save the template you have configured. If you change the template later, you will have to reselect your icon to get the new value.
I didn't realise that behaviour is causing troubles, I'll work on a fix.
once you have selected an icon in your page, it will save the template
you have configured
Oh, that is a real problem! :(
For example, in my case, I put icons in a different enviroments and nearest css classes may affect to them. And if I change template for my needs in frontend it would crash my backoffice like that:
It would be perfect if developer can chouse separately what render in Backoffice and what in view.
And i have found another issue:
If change Template to simpliest {icon} it renders a string with space in front like " iconname" and it become a space in frontend :(
And...that thing :) Appears after saving of icon set
How to change output string in Iconic?
Hello, Mario and others.
Very like your package! Hope it will be a part of core someday =)
I'am using Iconic with Material Icons and there is a problem. Here my settings:
Looks like
"Template"
renders icon only in backoffice, because changing value of this field does't matter toRazor
output. I just want to render only an icon name.How to change the output string?
Hi Dmitriy,
The template is used on the frontend as well but once you have selected an icon in your page, it will save the template you have configured. If you change the template later, you will have to reselect your icon to get the new value.
I didn't realise that behaviour is causing troubles, I'll work on a fix.
Oh, that is a real problem! :( For example, in my case, I put icons in a different enviroments and nearest css classes may affect to them. And if I change template for my needs in frontend it would crash my backoffice like that:
It would be perfect if developer can chouse separately what render in Backoffice and what in view.
And i have found another issue:
If change
Template
to simpliest{icon}
it renders a string with space in front like" iconname"
and it become a space in frontend :(And...that thing :) Appears after saving of icon set
Thank you, Mario.
I have released a new version that addresses that issue:
https://t.co/szTvss6IdP
Works great, thank you, Mario =)
is working on a reply...