Page 1 of 1

How to use california theme

Posted: 26 Jan 2018, 11:20
by Soul342
Hello !

I bought the California theme, but I don't know how to use it well.

when I run the application i have this error : Error loading css, cannot find "theme.css" resource of "primefaces-california-blue" library

I need help.

Re: How to use california theme

Posted: 29 Jan 2018, 08:21
by kubrasulukan
Hi,
You need to set up sass with this command line;

" sass -w src/main --sourcemap=none "

and you can install sass from here http://sass-lang.com/install

Best Regards,

Re: How to use california theme

Posted: 01 Jun 2018, 07:57
by kubrasulukan
Glad to hear! Thank you :)

Re: How to use california theme

Posted: 21 Jun 2018, 15:40
by pfroy
Please can you guide me about using SASS. I installed the latest version which is 1.6.2. I can't make any of the command proposed work. SASS tell me that the options are wrong and I can't figure it out.

We have here in this message: sass -w src/main --sourcemap=none which give me "Could not find an option or flag "-w""

And from the documentation of the template we have: "sass --update src/main/webapp/resources/ --sourcemap=none" which gives me either "Could not find an option named "sourcemap"" or "--update is not allowed when printing to stdout" when I remove the invalid sourcemap flag.

Thanks for helping me as this type of problem are the one I dislike the most in IT, playing with picky tools, I don't like it at all.

Regards,
Pierre Francis
kubrasulukan wrote:
29 Jan 2018, 08:21
Hi,
You need to set up sass with this command line;

" sass -w src/main --sourcemap=none "

and you can install sass from here http://sass-lang.com/install

Best Regards,

Re: How to use california theme

Posted: 26 Jun 2018, 10:41
by mert.sincan
Could you please try an old SASS version for this issue?

Re: How to use california theme

Posted: 16 Sep 2018, 14:12
by changezonedev
Hello,

I Have purchased the California theme.
  • I have done the following to run the theme in my Netbeans project:

    I have installed Sass and I have set the CSS preprocessor path in Netbeans.

    I have created a css folder and a scss folder and I have tested the scss code in my project.

    I have added the California theme jar file to my project.

    and I have added the following to web.xml file:
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>california</param-value>
</context-param>

But I have the following error:

Error loading css, cannot find "theme.css" resource of "primefaces-california" library

please note that my project isn't Maven.

Is there anything I am missing?

Regards

Re: How to use california theme

Posted: 17 Sep 2018, 11:58
by mert.sincan
Please try;

Code: Select all

<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>california-blue</param-value>
</context-param>

Re: How to use california theme

Posted: 09 Nov 2018, 12:15
by becrazy76
Hi,

I just bought the theme as well and facing same issues as described. Which "old" version do I need to use? Thanks for your help.
aragorn wrote:
26 Jun 2018, 10:41
Could you please try an old SASS version for this issue?

Re: How to use california theme

Posted: 13 Nov 2018, 14:55
by mert.sincan
Hi,

Did you try the following command?

Code: Select all

sass -w src/main/webapp/resources/ --sourcemap=none
If yes, could you please attach the error for us?