Installing Morpheus 2.0.1

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
sufinawaz
Posts: 1
Joined: 23 Jun 2020, 23:22

23 Jun 2020, 23:36

Not much documentation is available around the installation so posting the steps here so others can be benefited :)

- Include downloaded jar in your project. I have placed it at a maven repo and refer to it from pom like so

Code: Select all

<dependency>
    <groupId>org.primefaces.themes</groupId>
    <artifactId>morpheus</artifactId>
    <version>2.0.1</version>
</dependency>
- Under src/main/webapp/WEB-INF/web.xml, include the following (NOTE: You could also pick any other theme colors, but I've decided to go with blue for my project)

Code: Select all

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

- Run sass

Code: Select all

sass src/main/webapp/resources:src/main/webapp/resources --no-source-map
If you do not have have sass installed, you can do so in OS X with:

Code: Select all

brew install sass/sass/sass

If all went well above you should be able to run your app and start seeing new theme.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

24 Jun 2020, 08:41

Thanks a lot, @sufinawaz ;)

Best Regards,

barbados68
Posts: 13
Joined: 29 Sep 2020, 12:39

05 Oct 2020, 18:27

Hello,
I'm new in using themes can you drive me?
I use Netbeans 12, JSF 2.3, primefaces 8 , NOT a maven project, and I've installed GUI Scout-APP.
Is it possible to have a step by step doc?
At the moment I added "morpheus-theme-2.0.1.jar" file in project Libraries
then added in web.xml:
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>morpheus-indigo</param-value>
</context-param>

what is starting point to have a layout similar to your preview in the primefaces store?
for example how to implement that side menu bar?

thank you for support me
Fabio

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

06 Oct 2020, 10:55

Hi,

Also, these videos can help you to integrate it into your project;
https://www.dropbox.com/s/gat9a4ym373mi ... t.mp4?dl=0
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0

These videos are for a maven project. But, you can review the same steps to integrate the layout's features. You need to add all layout files in the layout.zip to your project.

barbados68
Posts: 13
Joined: 29 Sep 2020, 12:39

07 Oct 2020, 12:36

Thank you. Now it's fine.

Bye

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

08 Oct 2020, 15:15

Glad to hear, thanks a lot for the update!

Best Regards,

Post Reply

Return to “Morpheus - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests