For a content plugin 'contentnitifier' an override image 'new.gif' is created in:
/templates/Cassiopeia/images/contentnotifier/new.gif
The image stored in:
/templates/Cassiopeia/images/contentnotifier/new.gif
is used.
The origional image stored in:
media/contentnotifier/images/new.gif
is used.
Joomla 5.3.4 (and J4.0.0rc1)
The images is retrieved using:
$newimghtml = HTMLHelper::image("contentnotifier/new.gif","new.gif",'class="pch_contentnotifier_new"',true);
It works with (and old) template PurityIII.
With template Cassiopeia the override is ignored.
Labels |
Added:
No Code Attached Yet
|
What Richard wrote above, the override images should be /media/templates/site/cassiopeia/images/contentnotifier/new.gif
@richard67 and @dgrammatiko
You are right. The correct path is indeed:
/media/templates/site/cassiopeia/images/contentnotifier/new.gif
I checked it and it works.
Purity III is an old template with an old style.
Furtermore I looked into the Joomla documentation to find a hint for this override.
In: Understanding_Output_Overrides
it is stated:
For templates supporting child template, the override file must be placed as follow at your current template media folder:
/media/templates/site/my_template/css/mod_test/mystyle.css
and that is correct.
However in the J4 documentation it is not mentioned.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-10-02 20:40:46 |
Closed_By | ⇒ | peterhulst |
@peterhulst For documentation see section "File Structure" here: https://docs.joomla.org/J4.x:Cassiopeia_Template_Folders_and_Files
P.S.: The doc it not 100% clear, but the screenshot there shows the difference between 4.0 and 4.1
@peterhulst When a template supports child templates, I think the image should to to
/media/templates/site/cassiopeia/images/contentnotifier/new.gif
. Maybe your other template PurityIII is an old style, legacy template which uses the old structure?@dgrammatiko Can you confirm or correct me?