dalerka
(Daler)
February 17, 2020, 7:21am
1
How do I do the following?
I would like to replace the default About page at forum.host.tld/about
with a static About page I have at www.host.tld/about
or redirect the former route to the later one.
I’d like to do this for the default Guidelines page as well.
Tried creating custom Permalinks within the Discourse like:
/about => (external) => https://host.tld/about
forum.host.tld/about => (external) => https://host.tld/about
But it did not help.
HAWK
(Hawk)
February 18, 2020, 2:31am
2
You could hide the existing links in the hamburger menu using CSS
.menu-container-faq-link, .nav-item-faq, .nav-item-tos, .nav-item-guidelines {
display: none;
}
and then add custom hamburger menu links
This is a theme component that will allow you to easily add links the hamburger menu.
Samples
Desktop
[Capture]
Mobile
[Capture2]
Settings
You add links via comma delimited values in this order:
Text,URL,Location,Target
Text
is the name of the link that shows on the menu.
URL
is the path you want the link to have. You can use relative paths like
/tags/funny
or
/t/231
if you prefer.
Location
can have one of two values. Either the letter g or the letter f
Use “g” if you want …
2 Likes
dalerka
(Daler)
February 18, 2020, 9:30am
3
Thanks, I know I can hide things, but that’s not the point.
I think it should be possible just to use own custom About pages, just like Privacy and Terms of Service .
(i.e. without monkeypatching)
Hawk:
You could hide the existing links in the hamburger menu using CSS
.menu-container-faq-link, .nav-item-faq, .nav-item-tos, .nav-item-guidelines {
display: none;
}
Hi,
I’ve put this into the CSS but it didn’t work.
The Menu-Buttons at the about / tos / faq pages disappeard but the FAQ-link in the hamburger menu is still there.
How can I remove this one:
Thanks!