[SOLVED] How do I replace the nophoto graphics permanently?

12 years 2 months ago - 12 years 2 months ago #191682 by fribse2011
Hi Guys

When I update the CB package the icons get's overwritten.
I've downloaded a very nice nophoto graphics for this use, but I can't figure out how to get the override to pick that up instead of the standard.

I'm using the luna layout.

This is how far I've gotten

templatedir/html/com_comprofiler

Then what, in the docs, they talk about views, but this is a plugin to a component, so what should I write?

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in to join the conversation.

12 years 2 months ago - 12 years 2 months ago #191687 by nant
You need to create your own template (based on the luna one) and make changes to that one.

This way it will not be overwritten on next upgrade.

Just clone the luna template plugin and change names in xml file so it installs.

Please Log in to join the conversation.

12 years 2 months ago #191691 by fribse2011
Ah yes, of course, easy peasy.

I downloaded the luna, changed the graphics, renamed it to diver, changed the xml file to be called diver (including the params inside), but nothing else is changed.
I've uploaded the plugin, but when installed, it doesn't unpack all the files.
Is the luna plugin xml file maybe missing a few lines, it's installed as core element, so I guess it's not installed via the CB plugin mechanism.
The source directory



The resulting directory after installing it via plugin manager.


Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
Attachments:

Please Log in to join the conversation.

12 years 2 months ago #191692 by fribse2011
Ok, so adding all the missing graphics to the xml file, made it install properly.
So it's working now, but the system templates xml files needs correcting :)

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.202 seconds

Facebook Twitter LinkedIn