Hide the phpMyFAQ version number from FrontEnd

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
swguy
Posts: 16
Joined: Sun Dec 09, 2018 2:38 am
Contact:

Hide the phpMyFAQ version number from FrontEnd

Post by swguy »

Is there a way I can not display this value, short of modifying every single template file?
Thorsten
Posts: 15617
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Hide the phpMyFAQ version number from FrontEnd

Post by Thorsten »

Hi,

you can remove it in the templates.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
swguy
Posts: 16
Joined: Sun Dec 09, 2018 2:38 am
Contact:

Re: Hide the phpMyFAQ version number from FrontEnd

Post by swguy »

I wonder if rather than editing each template it would be better to simply modify index.php and use

Code: Select all

'phpmyfaqversion' => '',
in place of

Code: Select all

    'phpmyfaqversion' => $faqConfig->get('main.currentVersion'),
Thorsten
Posts: 15617
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Hide the phpMyFAQ version number from FrontEnd

Post by Thorsten »

Hi,

removing the version in the templates is more update savely.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply