Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load custom CSS for KB #2618

Open
MrGeneration opened this issue Jun 24, 2019 · 1 comment
Open

Load custom CSS for KB #2618

MrGeneration opened this issue Jun 24, 2019 · 1 comment

Comments

@MrGeneration
Copy link
Member

MrGeneration commented Jun 24, 2019

Infos:

  • Used Zammad version: 3.0
  • Installation method (source, package, ..): any
  • Operating system: any
  • Database + version: any
  • Elasticsearch version: any
  • Browser + version: any

Desired behavior:

It should be possible to load custom CSS to the knowledgebase.
This should be done similar to how we do it on our main application via app/assets/stylesheets/custom/ .

Currently you don't have any chance to manipulate e.g. header links in any way. (see: #2619 )

@pgassmann
Copy link

We also want to change the HTML of the KB to have the same design as the Website.
With zammad in docker-compose we can do this now by mounting the app/views/layouts/knowledge_base.html.erb on the zammad-railsserver container from outside.

  zammad-railsserver:
    command: ["zammad-railsserver"]
    depends_on:
      - zammad-memcached
      - zammad-postgresql
    image: zammad/zammad-docker-compose:zammad-{{ zammad_version }}
    restart: always
    volumes:
      - ./data/zammad-data:/opt/zammad
      - type: bind
        source: ./knowledge_base.html.erb
        target: /opt/zammad/app/views/layouts/knowledge_base.html.erb
        read_only: true

@zammad zammad locked and limited conversation to collaborators Dec 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants