Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
666 views
in Q2A Core by

how can I add an Impressum? The script itself is not external. With the same layout of thepage

1 Answer

+1 vote
by
I had to look up "impressum", from the sound of it you mean a legal notice or terms and conditions page?

If I have that correct then it is quite easy, just add a custom page (Admin > Pages) and link to it from the footer.
by
You have that correct (imprint), but German law does not allow to have that in the footer... it must be at the top of page, very well visible, otherwise any lawyer can send You a bill about 1000 bucks... so after tabs at top would be ok...
by
Thanks yes imprint ;) I need the page in nofollow
by
OK well you can link to it from the top as well, same way that it has "Wiki" and "About" linked up the top of this page ^^
by
If You need it as nofollow then You should add it to an advanced theme instead. See http://www.question2answer.org/themes.php#advanced

First add a page as described by DisgruntledGoat but choose the option "No Link"

Second copy the following function into Your advanced theme and modify it to Your needs.

function nav_user_search()
        {
        $this->search();
        $this->nav('user');
        $this->output('<div class="qa-nav-user"><a class="qa-nav-user-link" href="http://www.mysite.com/impressum/" rel="nofollow">Impressum</a></div>');
        }

If this is to complicate think about using the robots.txt, its not the best solution, but easy to implement, see here:

http://tools.seobook.com/robots-txt/
by
Another VERY EASY way is adding
<a href="http://www.mysite.com/impressum/" rel="nofollow">Impressum</a>

to admin->layout->Custom HTML in sidebar box on every page

That should be ok with german laws as it is very good visible as well.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...