We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17808
    • 3 Posts
    Hello,

    I tried to use the blog but when I click on blog it, it says that I didn’t fill in the content. But there’s no field where I can add content. I just have summary and that’s all. I looked in the code but I don’t manage to fix it. This is the code:

    <fieldset>
    <h3>The Content</h3>
    <p>The Summary field is optional, but is used as a short version for RSS feeds and summary views on the main blog page.</p>
    <label for="introtext">Summary (optional, but encouraged):<textarea name="introtext" cols="50" rows="5">[+introtext+]</textarea></label>

    <label for="content">Content:[*blogContent*]</label>
    </fieldset>

    <fieldset>
    <h3>You’re Done</h3>
    <label>Now... wasn’t that easy?</label>
    <input name="send" type="submit" value="Blog it!" class="button" />
    </fieldset>

    I would be glad if it that worked smiley
      • 36592
      • 970 Posts
      I suppose you are using NewsPublisher snippet to post entries.
      Show us your NewsPublisher call.
        • 17808
        • 3 Posts
        Quote from: tkfm at May 24, 2009, 12:21 AM

        I suppose you are using NewsPublisher snippet to post entries.
        Show us your NewsPublisher call.

        [!NewsPublisher? &folder=`2` &canpost=`Site Admins` &formtpl=`FormBlog` &footertpl=`Comments` &makefolder=`1` &rtcontent=`tvblogContent`!]
          • 36592
          • 970 Posts
          <label for="content">Content:[*blogContent*]</label>

          This blogContent TV have to hold your content.
          Did you make TV named "blogContent" with RichText widget and attached it to your blog template ?
            • 17808
            • 3 Posts
            Quote from: tkfm at May 24, 2009, 06:24 AM

            <label for="content">Content:[*blogContent*]</label>

            This blogContent TV have to hold your content.
            Did you make TV named "blogContent" with RichText widget and attached it to your blog template ?

            When I attach it to ModxHost with comments, the layout is screwed up... Problem is that I need those comments sad
              • 36592
              • 970 Posts
              Quote from: Maauwke at May 24, 2009, 07:11 AM

              When I attach it to ModxHost with comments, the layout is screwed up... Problem is that I need those comments sad
              I mean you have to attach your blogContent TV to the template used on the document with NewsPublisher snippet.
              I think you don’t need comments on the document with NewsPublisher ?