[SOLVED] How do I replace the nophoto graphics permanently?
- fribse2011
- OFFLINE
- Posts: 921
- Thanks: 79
- Karma: 8
12 years 3 months ago - 12 years 3 months ago #191682
by fribse2011
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.
[SOLVED] How do I replace the nophoto graphics permanently? was created 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?
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.
Last edit: 12 years 3 months ago by krileon.
Please Log in or Create an account to join the conversation.
- nant
- ONLINE
- Posts: 25532
- Thanks: 1834
- Karma: 877
12 years 3 months ago - 12 years 3 months ago #191687
by nant
--
Nick (nant)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Tutorials + Search the forums
For more add-ons and support: Upgrade your membership
Links: Community Builder - Languages - Adv/Pro/Dev membership - CBSubs Paid Subscriptions - GPL Templates - Hosting
Visit my CB Profile - Send me a Private Message (PM)
Replied by nant on topic Re: How do I replace the nophoto graphics permanently?
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.
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.
--
Nick (nant)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Tutorials + Search the forums
For more add-ons and support: Upgrade your membership
Links: Community Builder - Languages - Adv/Pro/Dev membership - CBSubs Paid Subscriptions - GPL Templates - Hosting
Visit my CB Profile - Send me a Private Message (PM)
Last edit: 12 years 3 months ago by nant.
Please Log in or Create an account to join the conversation.
- fribse2011
- OFFLINE
- Posts: 921
- Thanks: 79
- Karma: 8
12 years 3 months ago #191691
by fribse2011
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.
Replied by fribse2011 on topic Re: How do I replace the nophoto graphics permanently?
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.
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.
Please Log in or Create an account to join the conversation.
- fribse2011
- OFFLINE
- Posts: 921
- Thanks: 79
- Karma: 8
12 years 3 months ago #191692
by fribse2011
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.
Replied by fribse2011 on topic Re: How do I replace the nophoto graphics permanently?
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
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 or Create an account to join the conversation.
Moderators: beat, nant, krileon