I use phpMyFaq as an adjunct (link from) my regular web support site. So, I'd like to remove the "Ask Question" from the header, since that isn't hooked into my regular site.
I tried removing this line from index.php, but I still see an unlinked {msgQuestion} in the header when I do that.
"msgQuestion" => '<a href="'.$_SERVER["PHP_SELF"].'?'.$sids.'action=ask">'.$PMF_LANG["msgQuestion"].'</a>',
What did I miss?
Thanks, Andrew
Removing "Ask question" in 1.4.x
Moderator: Thorsten
Hi,
remove the {msgQuestion} in the index.tpl template file, too.
bye
Thorsten
remove the {msgQuestion} in the index.tpl template file, too.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 8
- Joined: Wed Feb 02, 2005 6:21 am
You can just go into phpmyfaq/template/index.tpl and remove "<li>{msgQuestion}</li>". It should be line 30. And now that option won't show up on any of the pages that that use index.tpl as a template which I believe it all of them.
Edit:
Dang by the time I tried to answer this it was already answered.
Edit:
Dang by the time I tried to answer this it was already answered.
