CGblog browsecat not working

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
glass
Forum Members
Forum Members
Posts: 32
Joined: Tue Sep 09, 2008 4:51 pm

CGblog browsecat not working

Post by glass »

I am using CMS Version - 1.6.6, CGBlog - 1.3.1, CGSimpleSmarty - 1.4.3, and CGExtensions - 1.17.6.

In my template that I use for my blog, I have:

{CGBlog action='browsecat' browsecattemplate="cgblog-browsecat"}

Which does absolutely nothing ... nothing.

I have stripped it down to {CGBlog action='browsecat'} but that still does nothing at all.

Just to test, I switched this to {CGBlog action='default'} - just to see if any 'action' was working.  That did output summary content.

So, why does browsecat not work?

Yes, I have set up categories.
Yes, I have a "Browse Category Template" called "cgblog-browsecat" which I have stripped back down until it is identical to sample (again, to test).

Nothing ...

Any ideas?? Please?
JeremyBASS

Re: CGblog browsecat not working

Post by JeremyBASS »

I know this is going to be a simple question but I have to ask.. are there articles that have been put in the cats?  IIRC the cats don't show up (with the default template) untill you add something to that cat.  HTH Cheers -Jeremy
glass
Forum Members
Forum Members
Posts: 32
Joined: Tue Sep 09, 2008 4:51 pm

Re: CGblog browsecat not working

Post by glass »

Ha ha ha ... yes, there are articles in the cats

I appreciate your asking - sometimes it is a simple oversight.

Not this time - or at least a different oversight ;)
JeremyBASS

Re: CGblog browsecat not working

Post by JeremyBASS »

Yeah have to rule out the simple things sometimes  ;D ... if you would post your template that may help us help you.. I can't really look to much in to this atm.. but if no one gets to you I'll pick it back up later.  Cheers Jeremy
JeremyBASS

Re: CGblog browsecat not working

Post by JeremyBASS »

I'm sorry I meant the CGblog template... CGblogs is basically the News mod forked for blogs.  FWIW you should always be using pURLs. Now my sandbox uses CGblogs with a cat list and it is working just fine with pURLs... I guess what I'm driving at is I always use pURLs and wouldn't know if there is an issue without.  Cheers -Jeremy
glass
Forum Members
Forum Members
Posts: 32
Joined: Tue Sep 09, 2008 4:51 pm

Re: CGblog browsecat not working

Post by glass »

Code: Select all

<ul>
{foreach from=$categories item='one'}
  <li><a href="{$one.url}" title="{$one.name}">{$one.name}</a> ({$one.count})</li>
{/foreach}
</ul>
Simple as it gets.  I am using pretty urls.
glass
Forum Members
Forum Members
Posts: 32
Joined: Tue Sep 09, 2008 4:51 pm

Re: CGblog browsecat not working

Post by glass »

Oh, if it is okay to pm you, I could send you the url of the live blog to show the effect I am looking for.  I don't want to post that openly.

The secondary nav at side of page has a list of the blog categories (currently just the one category (General), but they (client) will be branching out when they have time.

That 'General' category link in the side column does not appear in the development version of the site (not available for public viewing) which uses CGBlogs.

Anyway, let me know if you want that url.

Thanks for your time and attention.

P.S. I noticed that if I change {CGBlog action="browsecat"} in my blog template to {news action="browsecat"}, it works just fine and displays the news module categories. So, whatever is going on is specific to the CGBlog module.
Last edited by glass on Thu Feb 04, 2010 6:11 pm, edited 1 time in total.
JeremyBASS

Re: CGblog browsecat not working

Post by JeremyBASS »

Sure go ahead.. I may not be able to do much till later to today if I can.. I'm swapped big time and have been only responding during renders... -J
JeremyBASS

Re: CGblog browsecat not working

Post by JeremyBASS »

um.. I see the general cat link there...
Attachments
Untitled-1.jpg
glass
Forum Members
Forum Members
Posts: 32
Joined: Tue Sep 09, 2008 4:51 pm

Re: CGblog browsecat not working

Post by glass »

yes, that is the live site using blogsmadesimple.  It works.

I want to duplicate that using CGBlogs (dev site not publicly available). It doesn't work.
JeremyBASS

Re: CGblog browsecat not working

Post by JeremyBASS »

oic.. well I'll look at my set up on my sandbox when I get to the home office and get back later.. Cheers -J
glass
Forum Members
Forum Members
Posts: 32
Joined: Tue Sep 09, 2008 4:51 pm

Re: CGblog browsecat not working

Post by glass »

Thanks ... though we haven't gotten anywhere, I really do appreciate the time spent and the effort.
JeremyBASS

Re: CGblog browsecat not working

Post by JeremyBASS »

ok.. I tested this with and with out pURLs and both

{cms_module module=CGBlog action="browsecat"}
and
{CGBlog action="browsecat"}

... worked everytime.. they were both in the page and in the main template... so I have 4 on the same page... this was with the default templates...

at this point.. trun bug in the config.php to true, refrease the page and look for an error... -J
glass
Forum Members
Forum Members
Posts: 32
Joined: Tue Sep 09, 2008 4:51 pm

Re: CGblog browsecat not working

Post by glass »

I did an upgrade from 1.5.1, maybe I just need to do a clean install and start with modules at the latest build?

I thought it was just me overlooking something, but I bet its an upgrade, on top of an upgrade on top of an upgrade ... something didn't quite work right or a permissions issue somewhere during the install caused some file not to be overwritten. Something like that.

Thanks for all your help.
Post Reply

Return to “Modules/Add-Ons”