Edit FAQ page Edit FAQ page
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Edit FAQ page

Started by nickelsto, February 21, 2005, 05:54:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nickelsto

I would like to edit the faq page because there are elements I am not including in the gallery, ie. rating.  I would like to take out the question and answer concerning ratings so that users don't become confused.  Can someone tell me which file it is that needs to be edited to be able to do this?

Thanks

Joachim Müller

edit /lang/your_language.php (e.g. /lang/english.php), find if (defined('FAQ_PHP')) $lang_faq_php = array(and edit the lines after it accordingly.

Joachim

nickelsto


kieranmullen

Could you explain what variou parts are?

  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'), //cpg1.3.0



Obviously the first part is the question second part is the answer  but what are the other options.. allow_user_registration', '1' or '0' ?

Thanks

Kieran Mullen

kieranmullen

Also I would like to put the following test in the array but it doesnt ike the ''

<A HREF="javascript:popUp('360createalb.swf')">Open the Popup Window</A>

Also where could I put script in the <head> for the faq page?  (it goes witht he javascript)

thanks!

Kieran Mullen

Joachim Müller

the single quotes need to be escaped. In PHP, you use the backslash as escape sequence. This means: change <A HREF="javascript:popUp('360createalb.swf')">Open the Popup Window</A>to<a href="javascript:popUp(\'360createalb.swf\')">Open the Popup Window</a>(html tags should be lower case btw.)