Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Edit FAQ page  (Read 3993 times)

0 Members and 1 Guest are viewing this topic.

nickelsto

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Edit FAQ page
« on: February 21, 2005, 05:54:36 am »

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
« Last Edit: February 21, 2005, 07:38:46 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Edit FAQ page
« Reply #1 on: February 21, 2005, 09:32:08 am »

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

Joachim
Logged

nickelsto

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Edit FAQ page
« Reply #2 on: February 21, 2005, 05:53:44 pm »

Thanks
Logged

kieranmullen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Edit FAQ page
« Reply #3 on: June 08, 2005, 09:47:11 pm »

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
Logged

kieranmullen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Edit FAQ page
« Reply #4 on: June 08, 2005, 10:11:34 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Edit FAQ page
« Reply #5 on: June 09, 2005, 08:42:05 am »

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

Page created in 0.018 seconds with 19 queries.