Edit FAQ page Edit FAQ page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Edit FAQ page

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

Previous topic - Next topic

0 Members and 2 Guests 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.)