F.A.Q. - Read it first! - How to make a new FAQ?
Matteo - 10-09-2010, 21:15 Temat postu: How to make a new FAQ? [ Question ]: How to make a new FAQ?
[ Answer ]:
1. Make a file lang_faq2.php
2. This file should be have this content:
Kod: | <?php
/***************************************************************************
This file was automatically generated by Admin FAQ Editor
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
//
// To add an entry to your FAQ simply add a line to this file in this format:
// $faq[] = array("question", "answer");
// If you want to separate a section enter $faq[] = array("--","Block heading goes here if wanted");
// Links will be created automatically
//
// DO NOT forget the ; at the end of the line.
// Do NOT put double quotes (") in your FAQ entries, if you absolutely must then escape them ie. \"something\"
//
// The FAQ items will appear on the FAQ page in the same order they are listed in this file
//
?> |
3. Upload files contain new FAQ to directory language/lang_english/
4. Set CHMOD 666 to file lang_faq2.php
5. Open file admin/modules_data.php
FIND:
Kod: | 'BBCode_guide' => array("admin_faq_editor.$phpEx?file=faq", 71), |
AFTER, ADD:
Kod: | 'BBCode_guide' => array("admin_faq_editor.$phpEx?file=faq2", 711), |
BBCode_guide it's name which will be display at AP.
Number of end this line must be unique, means can't be in this file double time.
(original content)
|
|
|