help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Feature requests for JEM 2.0 - initial public release

Replace images by icons

Re: Replace images by icons

6 years 6 months ago
#25149
You both are heading into the right direction. Following Jojo I recomend to put styling questions into those files in the "views" directory which can be overidden by template overrides. And following Egnarts it should be coded more elegantly as I know to do. My major request is to keep ianything stylable off the output.class.php file. Besides my three icons the file is full of jpegs to be included/loaded which all should be replaced by corresponding icons.
Regards,
Herbert

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago
#25150
HerKle wrote
In that case, the inner quotations marks should be backslashed:
this works with fontawesome in my ja_purity_iii, thanks!
Code:
COM_JEM_PRINT_ICON="<span class=\"fa fa-lg fa-print\"> </span>" COM_JEM_EMAIL_ICON="<span class=\"fa fa-lg fa-envelope\"> </span>" COM_JEM_ICAL_ICON="<span class=\"fa fa-lg fa-calendar\"></span>"

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago - 6 years 6 months ago
#25151
when I us the print button, on the print page I get the error notice:
Notice: Use of undefined constant COM_JEM_PRINT_ICON - assumed 'COM_JEM_PRINT_ICON' in /srv/www/vhosts/mysite.ch/httpdocs/components/com_jem/classes/output.class.php on line 559
Last edit: 6 years 6 months ago by jojo12.

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago
#25157
@jojo Luckiy for your site's safety that I can't open that link. Unfortunate for you that I can't help you without seeing the text of that line 559… If you post the code I can try to help you.
Regards,
Herbert

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago
#25158
oops, sorry, it's hot weather and full moon: I forgot to add ' to the key.
Now it's working ok

Please Log in or Create an account to join the conversation.

Time to create page: 0.518 seconds