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 1121 build_postbit
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 1121 build_postbit
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 861 postParser->parse_message
/showthread.php 1121 build_postbit
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 1121 build_postbit
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 1121 build_postbit
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 861 postParser->parse_message
/showthread.php 1121 build_postbit
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 1121 build_postbit
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 861 postParser->parse_message
/showthread.php 1121 build_postbit
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 1121 build_postbit
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 861 postParser->parse_message
/showthread.php 1121 build_postbit
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 1121 build_postbit
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 1121 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
#1
Hi all,

Let's say I have a site with pages A, B and C.
A is currently the homepage. I'd like to make B the homepage.
I could not find how to do that. Is there a way t make page B the "index" page ?
(I am using 3.3.7)

I must also say that I did not really see the use of the "toggle status" button, in the Page Management. It displays which page is a menu item, and which page is the homepage, but does not really allow to toggle anything.
What am I missing ?
Thanks!

ps: by the way I was really delighted to discover the simplicity, power and speed of GetSimple.
I am now decided to migrate  my small company site from CMS Made Simple (and its nightmare upgrade issues) to GetSimple.
Reply
#2

  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>
Reply
#3
(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.
Reply
#4
Then you must have skipped a step/ done something wrong. I just tested, it works.
Reply
#5
If you edit it manually you could have changed permissions.
Either way changing the index is not really supported, you are better off setting up a redirect if this is something you will be doing often.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#6
(2015-09-11, 06:09:38)shawn_a Wrote: If you edit it manually you could have changed permissions.
Either way changing the index is not really supported, you are better off setting up a redirect if this is something you will be doing often.

If that's the case, using the method I mentioned above & setting file/ folder permissions manually via Filezilla or similar FTP tool should work, no?
Reply
#7
(2015-09-11, 06:09:38)shawn_a Wrote: If you edit it manually you could have changed permissions.
Either way changing the index is not really supported, you are better off setting up a redirect if this is something you will be doing often.

It might well be a permissions issue. All my other pages (created using GetSimple administration) have an invalid owner called "http", which I can't assign to the modified index page, since user http does not exist on my Synology NAS. 
Grrr... I  Heart my Syno, but I hate those Linux permissions which are beyond any logic. 
Reply
#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




Users browsing this thread: 1 Guest(s)