add.php has not wysiwig/ css/ theme?

2012-05-09
2013-06-03
  • I'm user of sPHPblog from v.0.5.1 and erliers. I install the new 0.8 version but in the add a new entry option, the page appear as:

    The others option, as add Static page, and upload image work fine.


    I'm note that there is not the add_cgi.php file as prefious versions
    Thanks by your help

     
  • Thanks, but, is possible download the 0.8.1 version? how?

     
  • I've added the line in 111 of add.php:
    // PAGE CONTENT
    // --------
    function page_content() {
    require_once('scripts/sb_header.php');
    global $blog_config;

    // INSTRUCTIONS
    $entry_array = array();
    $entry_array = _sb('add_title');
    $entry_array = _sb('add_instructions') . '<p />';
    echo( theme_staticentry( $entry_array ) ); // THEME ENTRY
    ……
    but without changes…
    Any comment?
    Thanks

     
  • UPS! Sorry, I fix as:

    // PAGE CONTENT
    // --------
    require_once('scripts/sb_header.php');
    function page_content() {

    Now this work fine!
    Thanks

     
  • Peter
    Peter
    2012-07-23

    Thank you, appreciate this, it was annoying having no css and header.

    in Add.php on line 111 add this, now works.

    // --------
    // PAGE CONTENT
    // --------
    require_once('scripts/sb_header.php');
    function page_content() {

    //// INSTRUCTIONS
    $entry_array = array();
    $entry_array = _sb('add_title');
    $entry_array = _sb('add_instructions') . '<p />';
    echo( theme_staticentry( $entry_array ) ); // THEME ENTRY