Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GS3.1: Saving a page without a title clears page content.
#4
I've tried removing (or commenting out) this in admin/changedata.php (GS 3.1):

Line 64:
Code:
}

and above, lines 39 to 41:
Code:
if ( $_POST['post-title'] == '' )    {
        redirect("edit.php?upd=edit-err&type=".urlencode(i18n_r('CANNOT_SAVE_EMPTY')));
    }    else {

Then, you get no error with pages with no title, and they are saved, but with slug temp, temp-1, temp-2 ...

For me this is acceptable (BTW it seems this may be how GS worked in some very old version), though maybe I'd change that default slug 'temp' to 'page'.
Reply


Messages In This Thread
GS3.1: Saving a page without a title clears page content. - by Carlos - 2012-03-09, 04:42:22



Users browsing this thread: 1 Guest(s)