CGBlog Clarification

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
darkknight
Forum Members
Forum Members
Posts: 15
Joined: Fri Nov 04, 2005 6:57 pm

CGBlog Clarification

Post 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.
JeremyBASS

Re: CGBlog Clarification

Post by JeremyBASS »

{CGBlog} should work... but yes I didn't see it either...

Hope that helps

Cheers
jeremyBass
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: CGBlog Clarification

Post 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
darkknight
Forum Members
Forum Members
Posts: 15
Joined: Fri Nov 04, 2005 6:57 pm

Re: CGBlog Clarification

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: CGBlog Clarification

Post 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
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: CGBlog Clarification

Post 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.
darkknight
Forum Members
Forum Members
Posts: 15
Joined: Fri Nov 04, 2005 6:57 pm

Re: CGBlog Clarification

Post 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.
Charmie
Forum Members
Forum Members
Posts: 80
Joined: Tue Mar 03, 2009 3:32 pm

Re: CGBlog Clarification

Post 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
darkknight
Forum Members
Forum Members
Posts: 15
Joined: Fri Nov 04, 2005 6:57 pm

Re: CGBlog Clarification

Post 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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: CGBlog Clarification

Post 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!
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
darkknight
Forum Members
Forum Members
Posts: 15
Joined: Fri Nov 04, 2005 6:57 pm

Re: CGBlog Clarification

Post 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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: CGBlog Clarification

Post 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.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
moscato
Forum Members
Forum Members
Posts: 34
Joined: Thu Aug 02, 2007 1:11 pm

Re: CGBlog Clarification

Post 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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1789
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGBlog Clarification

Post by DIGI3 »

I'm having the same issue with browsecat, it shows all entries no matter what category is clicked. Any suggestions?
Not getting the answer you need? CMSMS support options
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1789
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGBlog Clarification

Post by DIGI3 »

Calguy has fixed the browsecat with non-pretty urls issue in svn.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “Modules/Add-Ons”