Removing "Ask question" in 1.4.x

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
ardiederich
Posts: 55
Joined: Tue Aug 10, 2004 3:02 pm

Removing "Ask question" in 1.4.x

Post by ardiederich »

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
Thorsten
Posts: 15744
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

remove the {msgQuestion} in the index.tpl template file, too. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
XavierBlak
Posts: 8
Joined: Wed Feb 02, 2005 6:21 am

Post by XavierBlak »

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. :)
Post Reply