In this board you can talk about general questions about phpMyFAQ
Moderator: Thorsten
-
ubellavance
- Posts: 40
- Joined: Fri Apr 05, 2013 7:46 pm
Post
by ubellavance » Fri Apr 05, 2013 8:31 pm
Hi,
I'm looking for a way to disable certain tabs in phpMyFAQ... Actually, if I could just keep the main page it would be the best, but if it is not possible, here are the ones I'd like to see disappear from our setup, in order of importance):
- Ask a question/Open questions
- Contact
- Add FAQ
- I'm feeling lucky (since we enabled instant search on home page, not needed...)
- Sitemap
-
Thorsten
- Posts: 15134
- Joined: Tue Sep 25, 2001 11:14 am
- Location: #phpmyfaq
-
Contact:
Post
by Thorsten » Sat Apr 06, 2013 8:21 am
Hi,
just removed the template variables in template/default/index.tpl
bye
Thorsten
-
swguy
- Posts: 16
- Joined: Sun Dec 09, 2018 2:38 am
-
Contact:
Post
by swguy » Sun Dec 09, 2018 2:48 pm
But doing this still allows them to enter the URL
index.php?action=ask&category_id=0
and get to the ask page. So it might be good to also modify template/YOUR-TEMPLATE/ask.tpl (and the templates any other page you want to disable) and remove the content in that file.
-
swguy
- Posts: 16
- Joined: Sun Dec 09, 2018 2:38 am
-
Contact:
Post
by swguy » Tue Dec 11, 2018 2:59 pm
Perhaps 3.0 could have feature flags so you could turn off Ask and User Contributed Content.