The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Changing the homepage
#8
(2015-09-10, 06:03:34)PatDeLux Wrote:
(2015-09-06, 00:41:51)Tyblitz Wrote:
  1. In your GS install, go to /data/pages/
  2. Make a backup of the index.xml file and the new file you would want to make your homepage.
  3. Rename index.xml to its new page name, and also change the field (inside that file) <url><![CDATA[index]]></url> to the same as the page name.
  4. For the new file you want to be homepage, rename to index.xml and change the field to <url><![CDATA[index]]></url>

Thanks Tyblitz. Your solutions worked well, except that if I now try to edit the new homepage page, it gives me an error when trying to save: Error: edit.
I finally got it right by using another editor, which does not change the file permissions (Caret, for instance).
Reply


Messages In This Thread
Changing the homepage - by PatDeLux - 2015-09-05, 22:52:18
RE: Changing the homepage - by Tyblitz - 2015-09-06, 00:41:51
RE: Changing the homepage - by PatDeLux - 2015-09-10, 06:03:34
RE: Changing the homepage - by PatDeLux - 2015-09-12, 05:31:21
RE: Changing the homepage - by Tyblitz - 2015-09-11, 06:06:51
RE: Changing the homepage - by shawn_a - 2015-09-11, 06:09:38
RE: Changing the homepage - by Tyblitz - 2015-09-11, 09:29:57
RE: Changing the homepage - by PatDeLux - 2015-09-12, 05:08:22



Users browsing this thread: 1 Guest(s)