Open link in a new tab

Content

Expand project menu

How To Creating Theme for CE in 2021 ?

Greeting Team of openproject and community.

I would like to ask or get the help of anyone on how to guide me on creating and running a theme for the community edition.

Thanks.

Message actions

Hi,

Isn't it a premium feature?

You can read more https://docs.openproject.org/system-admin-guide/design/

Message actions

No it's not. I should be able to create a theme plugin Gem and get it to work but i am not sure how.

I followed the documentation https://docs.openproject.org/installation-and-operations/configuration/plugins/ but it gave me this error.

Bundler could not find compatible versions for gem "rails":
  In snapshot (Gemfile.lock):
    rails (= 6.0.3.1)

  In Gemfile:
    openproject-emoji was resolved to 5.0.0, which depends on
      rails (~> 4.2.4)

    typed_dag (~> 2.0.2) was resolved to 2.0.2, which depends on
      rails (>= 5.0.4)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Which seems the repo in the documentation is archived so i am not sure how to get a new working example.

Dương Qúy wrote:

Hi,

Isn't it a premium feature?

You can read more https://docs.openproject.org/system-admin-guide/design/

Message actions

Hi Mohammed,

if this thread couldn't help you and if you think there's either something missing or there's a bug please create a feature request or bug report respectively. Otherwise let's see what the community has to offer.
Kind regards
Matthias

Message actions

Dear Matthias, 

All i am requesting for is a clear steps to get started on building a theme plugin for the Community Edition. 

I have tried all your steps in all community forms topics and nothing worked.

https://docs.openproject.org/installation-and-operations/configuration/plugins/

https://community.openproject.com/topics/731

I am aware i need Ruby & Rails knowledge and i am learning it as i am doing this task and other tasks related to Ruby. 

Matthias Laux wrote:

Hi Mohammed,

if this thread couldn't help you and if you think there's either something missing or there's a bug please create a feature request or bug report respectively. Otherwise let's see what the community has to offer.
Kind regards
Matthias

Message actions

Hi Mohammed,

please find the documentation for developing OpenProject here: https://docs.openproject.org/development/ It will help you understand the basic concepts of OpenProject.
The part for developing a plugin can be found here: https://docs.openproject.org/development/create-openproject-plugin/ (it links to an example plugin, too).

I'm sorry I can't tell you the steps to develop such plugin myself, as this goes beyond my expertise. 

Kind regards

Matthias