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 » Sun Dec 09, 2018 2:40 am

Is there a way I can not display this value, short of modifying every single template file?

Thorsten
Posts: 14794
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Hide the phpMyFAQ version number from FrontEnd

Post by Thorsten » Sun Dec 09, 2018 11:17 am

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 » Sun Dec 09, 2018 2:37 pm

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

Re: Hide the phpMyFAQ version number from FrontEnd

Post by Thorsten » Sun Dec 09, 2018 6:41 pm

Hi,

removing the version in the templates is more update savely.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply