Page 1 of 1
Bad Icon user class
Posted: 25 Jun 2024, 12:16
by ScaleBXL
Hello,
Is it possible to change the bad class of the newsletter form field?
I tried to override it but I can't find the Glyphicon class to change it with user-icon
Joomla 4.4.5
PHP 8.1.29
Phoca Email Version 5.0.0
Re: Bad Icon user class
Posted: 26 Jun 2024, 01:11
by Jan
Hi, are you sure, you don't use some template override for Phoca Email. There is no more such code in Phoca Email
Check if your template does not override the file: components/com_phocaemail/layouts/newsletter_form.php
Jan
Re: Bad Icon user class
Posted: 26 Jun 2024, 09:53
by ScaleBXL
Hello Jan,
Thank you for your reply, I don't have any Phoca Email override
My template don't use glyphicon, I'm using a RocketTheme template with Gantry 5
Re: Bad Icon user class
Posted: 27 Jun 2024, 16:11
by Jan
Not sure, if this can be some cache issue? Try to clear the cache in your Gantry.
If it does not help. Open this file:
components/com_phocaemail/layouts/newsletter_form.php
See the code on line 45 or 57, which should be:
Code: Select all
echo '<div id="ph-form-subscribe-name" class="input-group">';
echo '<span class="input-group-text" title="'. Text::_('COM_PHOCAEMAIL_NEWSLETTER_NAME').'">';
echo '<span class="icon-user hasTooltip"></span>';
echo '</span>';
echo '<input id="ph-mod-name" type="text" name="name" class="form-control '.$requiredC.'" tabindex="0" size="18" placeholder="'. Text::_('COM_PHOCAEMAIL_NEWSLETTER_NAME') .'" value="" '.$required.' />';
echo '</div>';
}
No glyphicons but standar icon-xxx
Can you see new classes or do you see there glyphicons?
Jan
Re: Bad Icon user class
Posted: 28 Jun 2024, 13:09
by ScaleBXL
Hello Jan
No result with clearing the cache, in my newsletter_form I have the same class "icon-user"
It makes no sense
Re: Bad Icon user class
Posted: 28 Jun 2024, 15:56
by Jan
So, if
- this is not template override
- and it is not in the file directly
the only idea I have now, is, that e.g. some system plugin overwrites the classes when the site renders. Do you use some specific system plugin which somehow changes the output of html?
Jan
Re: Bad Icon user class
Posted: 01 Jul 2024, 11:02
by ScaleBXL
I'm still at the beginning of development, so I only installed Phoca Cart, Phoca Email, Fabrik, JCE
I tried deactivating the JCE, JCE media box, and Fabrik system plugins without result.
I also have NetzSinn Social Share Buttons Module, but this one uses svg files with class "rrssb"
Re: Bad Icon user class
Posted: 01 Jul 2024, 11:22
by ScaleBXL
Ok problem resolved ! You were right !
I have checked all my plugins directory with grepWin !
The culprit is Phoca Upgrade System Plugin !
Re: Bad Icon user class
Posted: 04 Jul 2024, 01:34
by Jan
OK