Project

General

Profile

How to extend/patch the footer with additional links?

Added by Richard Rauch about 6 years ago

Hi all,

I shutdown my redmine page for several month because of DSGVO/GDPR issue ( see also at http://www.redmine.org/issues/28882 )

But I need to bring website online again! As long there is no solution from Redmine itself, I want to make a patch.

For Imprint, Privacy Policy....I created wiki pages.

I would want to extend the footer with direct links to this pages.

I found footer creation code in source:trunk/app/views/layouts/base.rhtml, but indeed I do not understand the syntax.
What I need to do exactly to add an additional link to the footer?
I tried to add text like this: Imprint. But it is displayed as text only exactly as written, not as link!

Hopefully there is a quick solution!
Thanks
Richard


Replies (2)

RE: How to extend/patch the footer with additional links? - Added by Bernhard Rohloff about 6 years ago

Hi Richard,

what's the version of your Redmine installation?
I think you should be fine with adding a plain html link @<a>Link<a/>@into the footer section of base.rhtml ...

Greetings,

Bernhard

RE: How to extend/patch the footer with additional links? - Added by Richard Rauch about 6 years ago

Hi Bernhard,

many thanks for your help. This was exactly, what I needed. I added a line to the footer definition:


<div id="footer">
  <div class="bgl"><div class="bgr">
    <a href ="/projects/legal/wiki/imprint">Impressum</a> <a href ="/projects/legal/wiki/privacy-policy">Datenschutzhinweis</a> <a href ="/projects/legal/wiki/contact">Kontakt</a><br>
...
...

Now I can turn on my website again without having headache every day!
There is one additional thing, I am waiting for redmine improvement.
I have disabled self registration of new users.

So at all my website should fullfill DSGVO/GDPR for 100 %

    (1-2/2)