Override Rating Stars

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
User avatar
spikespiegel
Joomla! Explorer
Joomla! Explorer
Posts: 290
Joined: Sat Jan 22, 2011 4:34 am

Override Rating Stars

Post by spikespiegel » Tue Feb 20, 2018 2:14 am

I managed to change joomla rating stars (Reviews system) by replacing the files

Code: Select all

rating_star_blank.png
and

Code: Select all

rating_star.png
in

Code: Select all

/public_html/media/system/images
, but then I lost the changes after a Joomla update.

Is there anyway I could override the code, or something, to point to my own files without losing the changes after another update?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17350
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Override Rating Stars

Post by toivo » Tue Feb 20, 2018 6:26 am

There is a way if you point to your own files in a template override, which replaces the default.php or a similar file from the component-x/views/zzzz/html folder of the component by placing a modified copy into the html/component-x/zzzz folder of your template.

These overrides can be created using Template Manager and they are not affected by Joomla updates: https://docs.joomla.org/J3.x:How_to_use ... _Overrides
Toivo Talikka, Global Moderator


Locked

Return to “Templates for Joomla! 3.x”