OK so I can delete this folder.
Is it OK to clean the folder and send you again ?
Results 21 to 30 of 71
Thread: basic.html: not found
-
2017-01-16, 09:43 #21
- Join Date
- Mar 2014
- Posts
- 222
-
2017-01-16, 22:57 #22
basic.html: not found
I doubt it will make a difference for me: it's already been working here
before. See my previous posting.
--
Michael
-
2017-01-17, 00:38 #23
- Join Date
- Mar 2014
- Posts
- 222
I have this error now, do you know what it mean ?
[17-01-17 08:36:23.3367] Slim::Utils::Misc::msg (1244) Warning: [08:36:23.3365] Use of uninitialized value $ctime in string eq at /Template/Provider.pm line 885.
[17-01-17 08:36:23.3368] Slim::Utils::Misc::msg (1244) Warning: [08:36:23.3367] Use of uninitialized value $ctime in concatenation (.) or string at /Template/Provider.pm line 886.
[17-01-17 08:36:23.3370] Slim::Web::Template::SkinManager::_fillTemplate (337) Error: file error - invalid time:
-
2017-01-17, 12:53 #24
basic.html: not found
>> [17-01-17 08:36:23.3367] Slim::Utils::Misc::msg (1244) Warning:
>> [08:36:23.3365] Use of uninitialized value $ctime in string eq at
>> /Template/Provider.pm line 885.
>> [17-01-17 08:36:23.3368] Slim::Utils::Misc::msg (1244) Warning:
>> [08:36:23.3367] Use of uninitialized value $ctime in concatenation (.)
>> or string at /Template/Provider.pm line 886.
>> [17-01-17 08:36:23.3370] Slim::Web::Template::SkinManager::_fillTemplate
>> (337) Error: file error - invalid time:
Aren't there related errors before or after these lines? Did you restart
LMS after you removed the folder with templates?
--
Michael
-
2017-04-04, 23:57 #25
- Join Date
- Mar 2014
- Posts
- 222
Ok everything works well now, I delete the default folder.
But it keeps going to add a menu to the web UI. If I delete the HTML folder, I no longer have the settings page for the plugin.
How do I remove the menu entry but keep the setting page ?
-
2017-04-05, 00:08 #26
basic.html: not found
> How do I remove the menu entry but keep the setting page ?
No need to remove it. Just don't register it to start with ;-). Remove
the Slim::Web::Pages->addPageLinks() call.
--
Michael
-
2017-04-05, 04:17 #27
- Join Date
- Mar 2014
- Posts
- 222
It works great ! Thanks !
-
2017-04-06, 06:31 #28
- Join Date
- Mar 2014
- Posts
- 222
I ask here because I don't want to open another post.
- Is it possible to have a default value in an input and use it ?
For example I have an input for the port of my software. Usually this port is 8888, so by default I want this value inside the input.
But if the user change the port, he can write the new one in the input.
- is it possible to make input "required" ? Or to write an error if the user don't fill the input ?
Thanks
-
2017-04-06, 06:37 #29
basic.html: not found
> In settings, is it possible to have a default value in input and use it
> if the input is empty ?
Yes, you can define default values in the init call:
$prefs->init({ port => 888 });
etc.
See eg. Slim::Utils::Prefs
https://github.com/Logitech/slimserv...Utils/Prefs.pm
--
Michael
-
2017-04-06, 06:46 #30
basic.html: not found
> - is it possible to make input "required" ? Or to write an error if the
> user don't fill the input ?
That would be $prefs->setValidate(...)
https://github.com/Logitech/slimserv...mespace.pm#L94
--
Michael