Experience installing and using pkBlog 1.1.0.
Wow! Good job Keith. This is really nice and creates lots of nice possibilities. Thanks for your great effort. I have a "few" observations below.
=========================================
My test environment
Installed in MODx Evo 1.0
Server environment
Apache 2.2
MySQL 5.1.37
PHP 5.3
FF 3.0
Linux Mint Gloria x64
========================================
Installation:
This went fine without a hitch. Thank you for the instructions.
=============================================
Once installed, it has that feel of being easy to use, nothing complicated, which is good. My experience so far.....
Usage
1.
pwBlogPostTemplate code: There is
- Typo? What class is it referring to?
- what file is it in? I couldn’t find it in forms.css
2.
Creating Blog Posts (documents):
- When I preview a post (without first clicking publish) the post is still created in modx, but it is unpublished. Should it not only be created when I hit publish?
- If I preview, the post is created, if I hit back button and click publish, it results in two documents being created; once when I hit preview and second when I hit publish
3. When I create and publish a post, no template is assigned to it
4. Following on from the above point, if not template is assigned, it follows that no tags are set, or am I missing something? I am referring to pwTags. By the way, I created all the TVs as described in pkBlog-tvs.html
5.
Manage blog posts:
- I tried deleting posts but the posts were not deleted. The confirm deletion text didn’t come up. Maybe I missed a step? Was there more to it? I used the form on your site for "Managing Blog Post".
- Using the form on your site for Managing Blog Post, in this code
<form method="post" action="/admin/post.html" id="addItem">
what should I use as the value of action?
=============================
Documentation
Good effort on the instructions. May I suggest the following?
1.
Ditto: The installation doesn’t tell the "newbie" what to do if they already have Ditto installed. Should they overwrite files or not? This is important since, they might think they already have ditto and not copy this file. Problem is, it includes a custom extender needed by pkBlog.
2.
Jot: Shouldn’t Jot be part of the package? if not, maybe good to include this information in the installation guide that it is optional and if the user wants it, they need to install it themselves.
3.
Ditto tpl chunks: It may be good to state that when creating the chunks for Ditto chunks (blog.first.tpl, they shouldn’t use custom names but instead use the file names of the included .txt files since these are referenced in the code.
4.
Ditto tpl chunks: This text in the documentation "(Adjust the document IDs in links to match your site)" probably needs better explanation? The question one would ask is what documents on my site should they match? What will be the role of these documents?. How many documents need to be created? This will also help in naming the documents. For instance:
5.
Ditto tpl chunks: You have the following code:
<form action="/[~686~]" method="post">
<input type="hidden" name="docId" value="[+id+]" />
<input type="hidden" name="tags" value="[+pwTags+]" />
<input type="hidden" name="returnId" value = "685" />
Is the
685 a typo? or is that a different document from
686?
6. It may be an idea to tell the user if they wish to use
form.css, where to upload that? The info could even be "upload form.css anyway you wish, as long as you reference it correctly in your MODx website template..blah blah"
7. I was a bit confused after creating the TVs as described in
pkBlog-tvs.html. Instinctively I though OK, where do I reference the TVS in my documents/templates so that they can be visible in the front-end. However, I noticed you already have these being called in the code you have provided. I was just thinking it may be good to add this info to the install instructions, i.e. once the user has created the TVS, they don’t need to do reference them in their templates/documents since that’s already taken care of.
8. Apart from what is on your blog, I found no instructions for calling the blog, for instance.
[!PubKitBlog? &folder=`2` &postid=`2` &template=`pwBlogPost` &rtcontent=`pkRichContent` &formtpl=`@FILE:blog` &delimiter=`,` !]
Maybe an example should be included in the install guide? Hmm, it is now sounding more of user guide than an installation guide
9.
pwBlogPostTemplate: I found no explanation of what the below does (i.e. the code) but I figured it was the comments template.
"Create your blog post site template and paste in the text for the main part of the body from pwBlogPostTemplate.txt"
- In addition, the code has the
[#content] tag; It may be good to tell newbies not to duplicate that tag if they already have it in their MODx templates.
10.
pubKitBlog.snippet:
&folder - folder id where comments are stored
- This confused me. Are these jot comments or the posts themselves you are referring to? When creating new posts I found that the value I gave &folder would become the post’s parent/container/folder. Please clarify.
- If
&folder refers to the parent folder of the post being created, maybe it is good to point out (especially for newbies) that &folder=`0 would create a post just below the root.
11.
Manage blog posts: Maybe need to add to the documentation what you have on your site under "Management overview for pkBlog posts". i.e. the form, the Ditto call, etc I didn’t find this info in the documentation.
=================================
Wishlist
I know these can be time consuming/difficult. May I suggest....
- It would be good to give the user a feedback after posting? "Success blah blah, etc"
- A back button would be nice after previewing a post you want to publish. Or maybe some instruction "click the back arrow in your browser to go back to the editing page, blah blah"
- Would it be possible to set a template for the document when creating it?
- And now for the biggie. I am sure you’ve read forum posts about the lack of a MODx blog addon. You might also have read posts about the disadvantages of using documents as blog posts, e.g. "what if I have 1000 posts?", etc. Maybe I am being naive here, but for a more robust blog experience, would it be possible to modify the code so that instead of being documents, the posts would actually be inserted into the database? I know it’s a lot of work though

but I had to ask.
-----------------------------------------------------
Thank you very much for this brilliant kit.
cheers/k