Page 1 of 2
CGBlog Clarification
Posted: Mon May 11, 2009 6:05 pm
by darkknight
I am using CMSMS 1.5.4 and have installed CGBlog 1.0.1. I am attempting to use the blog but I having a little difficulty.
The first problem is absence of any indication as to the tag that should be applied. There is a long list of parameters but parameters to what? I tried a number of guesses but nothing worked.
The second mystery is the 'field definitions'. Great, we can enter field definitions. But to what end? What are they to be used for? Maybe they are for comments to the blog. If it is to provide a 'Comment' option, how is it used? If not, how are we to provide users with the ability to leave a Comment?
Would someone be good enough to shed some light on these rather basic issues?
Thanks.
Re: CGBlog Clarification
Posted: Mon May 11, 2009 6:06 pm
by JeremyBASS
{CGBlog} should work... but yes I didn't see it either...
Hope that helps
Cheers
jeremyBass
Re: CGBlog Clarification
Posted: Mon May 11, 2009 6:35 pm
by jmcgin51
darkknight wrote:
The first problem is absence of any indication as to the tag that should be applied.
I'm with jeremybass - I would guess {CGBlogs} should call the module for you.
darkknight wrote:
The second mystery is the 'field definitions'. Great, we can enter field definitions. But to what end? What are they to be used for?
A common use of a field definition would be to allow the author to attach an image or file to the blog entry.
darkknight wrote:
If not, how are we to provide users with the ability to leave a Comment?
Use a module designed for this, like
http://dev.cmsmadesimple.org/projects/comments or
http://dev.cmsmadesimple.org/projects/cgfeedback or
http://dev.cmsmadesimple.org/projects/dlcomments
Re: CGBlog Clarification
Posted: Mon May 11, 2009 7:14 pm
by darkknight
Thanks Jeremy
It's working this time. {CGBlog} was the first one I tried but smarty just barfed up an error. This time however, smarty behaved and returned an empty blog entry in the html code. I will test out a few things to see if I can get it to deliver the goods.
Again, thanks
Re: CGBlog Clarification
Posted: Mon May 11, 2009 7:21 pm
by RonnyK
darkknight,
The field-definitions are free fields that can be used to show as an extra field in the Blog, so like an image, text.....
For the option to get feedback from users, you can install CGFeedback f.e. that will give the option for having feedback on the Blogs.
Calling {CGBlog action="browsecat"} will show the archives....
Ronny
Re: CGBlog Clarification
Posted: Mon May 11, 2009 8:01 pm
by jmcgin51
darkknight wrote:
Thanks Jeremy
It's working this time. {CGBlog} was the first one I tried but smarty just barfed up an error. This time however, smarty behaved and returned an empty blog entry in the html code. I will test out a few things to see if I can get it to deliver the goods.
Again, thanks
I've found that the tags are case-sensitive, so {CGBlogs} should work but {CgBlogs} or {cgblogs} probably won't.
Re: CGBlog Clarification
Posted: Tue May 12, 2009 4:03 am
by darkknight
RonnyK, thanks
I appreciate the insights into how this module works. The 'help' that comes with the module is a little vague on some of the capabilities. Your post helps a lot.
Again, thanks to you and all who replied to the initial posting.
Re: CGBlog Clarification
Posted: Wed May 13, 2009 3:23 pm
by Charmie
Hi.
I'm using this module and can't seem to get the categories to work.
I am using this tag:
{CGBlogs catergory="Test"}
and nothing appears,
If I use the follwing tag:
{CGBlogs catergories="Test"}
Everything appears, not just the blogs in the Test category.
Is there a way to seperate them out, so that different bloggers can have their own page?
Also do I need to add different tags to show archives and add feedback?
Is anyone using this module at the moment and is it any better then Blog Made Simple?
Thanks
Re: CGBlog Clarification
Posted: Wed May 13, 2009 4:52 pm
by darkknight
Hi Charmie
There are several posts regarding the 'category/categories' problem. The author uploaded a new version on the forge yesterday and that may provide a cure.
I have tried both BlogMadeSimple and CGBlog. I combined CGBlog is CGFeedback (as was suggested by a poster) to get a reasonable small scale blog.
CGBlog still has some rough edges. One is that I can not get 'pretty urls' to function on links from the blog. I have read all the info provided and it still will not give a url that is not just a long line of page parameters. I did notice that the authors site does not have this problem but that may be due to using mod_rewrite rather than the internal 'pretty url'.
Another may be the category issue you mentioned.
If blogging is a big part of your site, you may want to think of WordPress. But be prepared to invest some time in learning how to use it. Otherwise, CGBlog is a useful, small scale, blog.
Re: CGBlog Clarification
Posted: Wed May 13, 2009 10:01 pm
by tyman00
The version of CGBlog you are running is from early development. There have been some significant upgrades to the module that should be released soon. Keep an eye out for it!
Re: CGBlog Clarification
Posted: Fri May 15, 2009 4:46 am
by darkknight
Hi tyman00
When I started this post I was using CGBlog 1.01. Within a few hours of CGBlog 1.2 being released at the forge I downloaded and installed it.
Unfortunately, the problems referred to in my last post persist.
'categories' vs' category' - if you use 'category in the template (as in the default template), you get nothing but a blank space; if you substitute 'categories' you get 'Array'. 'categories' is moving in the right direction but not there yet.
Same with the long query string after index? on links away from the blog module. There is no conversion to 'pretty url'. On the default Summary Template the following code is used:
detail_url}" title="{$entry->title|escape:htmlall}">{$entry->title|escape}
I would change {$entry->detail_url} to something else to get a 'pretty url' if I knew what that 'something else' should be. I have found nothing in the default templates to help.
Despite these bugs, CGBlog is quite good and meets my needs. The authors hard work is appreciated.
Re: CGBlog Clarification
Posted: Fri May 15, 2009 5:46 am
by tyman00
darkknight - CGBlogs was released earlier than I think was expected so there were still kinks to work out, since it was released with some issues I think that is why 1.2 came out. There is however another version that is still going to be released soon. I am not sure if it addresses your issues or not (haven't been trying it myself) but I remember them discussing some stuff like this. Keep waiting it should come soon.
Re: CGBlog Clarification
Posted: Mon Jun 08, 2009 5:40 pm
by moscato
hi,
i use the action "browsecat" and the category-list is displayed perfectly. but: if a category-link is clicked, ALL posts will be shown. instead of just the few posts which are part of the clicked category.
maybe it's a bug, or i did something wrong. my code is:
Code: Select all
{foreach from=$categories item='one'}
<li><a href="{$one.url}" title="{$one.name}">{$one.name}</a> ({$one.count})</li>
{/foreach}
thx a lot for your help!!
best regards,
tom
Re: CGBlog Clarification
Posted: Tue Jun 09, 2009 9:36 pm
by DIGI3
I'm having the same issue with browsecat, it shows all entries no matter what category is clicked. Any suggestions?
Re: CGBlog Clarification
Posted: Thu Jun 11, 2009 2:39 pm
by DIGI3
Calguy has fixed the browsecat with non-pretty urls issue in svn.