Just after a steer on which way is correct on Phoenix - I'm sure both ways work, but one is cleaner than the other.
What I'm doing is setting up the payment card option icons in the footer bar. I am using the usual Visa, Mastercard, PayPal, iPay and Google Pay and as I want them in color I am using css to generate the icons rather than using fontawesome ones.
So I have copied over the language file into the override folder and modified it to suit.
Now my question is: Should the css (approx 35 lines of it) be added to user.css or is it ok to leave it in the language file cm_footer_extra_icons.php?
Personally I would prefer the latter as it keeps all the code in one file and prevents my user.css becoming over-cluttered.
Which way is correct for Phoenix
- Mort_Lemur
- Builder
- Posts: 63
- Joined: Tue Jun 02, 2026 6:12 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 42 times
- Been thanked: 17 times
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Which way is correct for Phoenix
Whichever you prefer.
For lng file:
Your language file would not be abused by other addons, whereas the user.css might be.
For user.css:
All Css in one place
For lng file:
Your language file would not be abused by other addons, whereas the user.css might be.
For user.css:
All Css in one place
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- Mort_Lemur
- Builder
- Posts: 63
- Joined: Tue Jun 02, 2026 6:12 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 42 times
- Been thanked: 17 times
Re: Which way is correct for Phoenix
Well it seems to work in the language file, so that's where it will live 