Problems with add.php

2012-06-05
2013-06-03
  • Redtriangle
    Redtriangle
    2012-06-05

    Hello;
    I installed the simple php blog and I think a blog is simple and useful, I think is a good application for my website.
    I congratulate you for your work.
    I wanted to discuss a problem I have with the "add.php", when I access the web it does not recognize the css and we have plain leaves.
    I use version 0.8.0-sphpblog, we can help?
    thanks

     
  • Redtriangle
    Redtriangle
    2012-06-05

    Now I have seen that there is already a post and I solved the problem, sorry

     
  • Peter
    Peter
    2012-07-23

          In add.php, exchange these lines  with whats there now.

    // --------
    // 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