Changing website logo problem March 21, 2017 06:50PM |
Registered: 7 years ago Posts: 5 |
Re: Changing website logo problem March 21, 2017 08:09PM |
Admin Registered: 13 years ago Posts: 4,680 |
sudo chmod a+w /opt/piratebox/shared/content/img/
sudo cp <my image> /opt/piratebox/shared/content/img/
Re: Changing website logo problem March 21, 2017 09:42PM |
Registered: 7 years ago Posts: 5 |
Re: Changing website logo problem August 29, 2017 01:11PM |
Registered: 7 years ago Posts: 10 |
Re: Changing website logo problem August 29, 2017 02:47PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Changing website logo problem August 30, 2017 06:37AM |
Registered: 7 years ago Posts: 10 |
is there any reason for this being left in the install then if it isn't used in the final stage?Quote
Matthias
/opt/piratebox/www_content is a template folder and is not used during runtime.
Re: Changing website logo problem August 30, 2017 07:04AM |
Admin Registered: 13 years ago Posts: 4,680 |
The reason is, that if you end up hitting a wall an the UI does not work anymore during your customizations, you can simply delete the content folder inside the "share" (on OpenWrt on the USB stick).. and during next reboot the a fresh copy of the content folder will be placed in the share folder.Quote
is there any reason for this being left in the install then if it isn't used in the final stage?
In fact, I am only using that i8n building block/library...and I am a JS noob.Quote
As far as removing the javascript line, I'm just going to have to take your word on it for now...I'd like to learn more on javascript though, any good sources on where to start my learning journey?
Re: Changing website logo problem August 30, 2017 11:58AM |
Registered: 7 years ago Posts: 10 |
Quote
Matthias
/opt/piratebox/www/content -- links to --> /opt/piratebox/share/content
Quote
Matthias
/opt/piratebox/share/Shared/HEADER.txt
+++--->the corresponding template is /opt/piratebox/src/HEADER.txt
Quote
Matthias
For the menubar of /content, you need to adjust the language files for your language or disable the language Javascript. You can find the files in /opt/piratebox/www/content/locales
You can disable the JS multi-language feature with removing
[code=HTML] <script type="text/javascript" src="/content/js/l10n.js"></script>[/code]
Re: Changing website logo problem September 02, 2017 08:31PM |
Admin Registered: 13 years ago Posts: 4,680 |
Depending on the environment a symlink looks exactly like the folder pointed to ORQuote
what's the point of having a shortcut like that when you could just as easily link the actual folder?