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
Bad Icon user class
- Jan
- Phoca Hero
- Posts: 48303
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Bad Icon user class
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
Check if your template does not override the file: components/com_phocaemail/layouts/newsletter_form.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: Bad Icon user class
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
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
- Jan
- Phoca Hero
- Posts: 48303
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Bad Icon user class
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:
No glyphicons but standar icon-xxx
Can you see new classes or do you see there glyphicons?
Jan
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>';
}
Can you see new classes or do you see there glyphicons?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: Bad Icon user class
Hello Jan
No result with clearing the cache, in my newsletter_form I have the same class "icon-user"
It makes no sense
No result with clearing the cache, in my newsletter_form I have the same class "icon-user"
It makes no sense
- Jan
- Phoca Hero
- Posts: 48303
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Bad Icon user class
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
- 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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: Bad Icon user class
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"
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"
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: Bad Icon user class
Ok problem resolved ! You were right !
I have checked all my plugins directory with grepWin !
The culprit is Phoca Upgrade System Plugin !
I have checked all my plugins directory with grepWin !
The culprit is Phoca Upgrade System Plugin !
- Jan
- Phoca Hero
- Posts: 48303
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: