We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/577">PubKitBlog (pkBlog) 1.2-beta</a> by kp!.

    Brief Description:
    As used to write the blog on www.pogwatch.com, includes:
    * Creation of items in front end using web form
    * Tagging using template variable
    * Custom manual date field
    * Set publication date range in input form
    * Rich-text input for main content, plain-text summary
    * Optional preview before publication
    * Items can be re-edited after publication
    * Overview and control of whole set of items
    * Manager user can fine-tune items from back end

    Components
    * PubKitBlog snippet and include files
    * DocManager class for creation, update, deletion of documents
    * Template variables for rich text, tags and dates
    * Ditto 2.1 to generate management control panel, preview and blog page
    * Site template for blog posts (with Jot for comments)
    * WebLogin snippet for simple login facility
      • 16278
      • 928 Posts
      Please note, version 1.2 has an error in the main snippet code file, fixed in 1.2.1, but that has ended up as a separate repository item.
      -------
      v 1.2.1
      ------------------
      Fixed error around line 84:
      - corrected &tagFormat to $tagFormat in snippet main file

      - other files unchanged (still 1.2.0)

      Also, version 1.2.0/1.2.1 requires PHx to be installed as a plugin in order for re-editing and error reports from the input form to work (creating posts no problem). This is overcome in v 1.3, which I will be releasing shortly, if I can persuade the repository to let me update the listing.

      Apologies for any confusion, this is my first reposit. Is it me or is it it? wink KP
        • 30959
        • 1 Posts
        Getting this error when running the edit post page. I am not seeing the error.

        Parse error: syntax error, unexpected ’&’ in /manager/includes/document.parser.class.inc.php(770) : eval()’d code on line 68

        I hope it is just my noobness, because this package is very appealing. Going to use it for keeping the minutes at our monthly meetings. Updating from iPhone while in meeting. Love it! grin
          • 16278
          • 928 Posts
          Parse error: syntax error, unexpected ’&’ in /manager/includes/document.parser.class.inc.php(770) : eval()’d code on line 68
          Yes, that’s what v1.2.1 is about; that & should be a $.

          There’s now v 1.4.1 in the In Development topic, with a few other bugs fixed, and better documentation. I haven’t been able to update the Extras version with it yet.

          Hope you find it useful laugh
          KP
            • 3866 ☆ A M B ☆
            • 350 Posts
            Hello,

            I’m a new php developer using modx-1.0.0.

            I want to make a newsblog with pkBlog 1.4.1. But I have a problem with the preview button and the manage section.

            Normaly if template=preview the "blog.preview.tpl" chunk must appear. In the url the template=preview is correct. But I only see the title and the short description without any buttons. If I look in the source file I notice that the "blog.preview.tpl" is not loaded at all. But the jot call is active cause he used my blog template for showing the blogs. Also this is wrong.

            It seems that the file "blog.config.php" is not working.
            Some how the link to this file is broken.

            Can somebody help me with this topic.
            Thx in advance
            Benny
              Helen Warner
              Number one pixel!
              Proud to be linked with MODX at Crimson Pixel
              • 16278
              • 928 Posts
              Please note: current version of pkBlog in repository is now 1.4.2, which has its own support thread:
              http://modxcms.com/forums/index.php/topic,42191.0.html
              laugh KP