CGBlog - HELP! - A couple of things

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

CGBlog - HELP! - A couple of things

Post by katea »

Hi guys,

I've opted for CGBlog instead of the blogs made simple, but there are a couple of things I'm having trouble with regarding linking pages to each other.

1) Categories don't seem to be showing ... This could be me being silly.. I have general as the defailt and 3 other blog categories along with it .... I just figured that the other 3 categories would become part of the general and link to each other accordingly.

Yep, me being silly inserted

Code: Select all

{CGBlog action="browsecat"}
at the bottom of my page and I have the categories.

2) In the summary page, which shows the blog entries lovely. It shows me what category the blog entry is in, but I'd like that to be a link to that category, and for that page to show all the blog entries for that ategory, much like the summary page does.

Thought this might work, but alas no:

Code: Select all

<a href="{$category}" title="{$category.name}">{$category.name}</a>
I can get yto a particular post using:

Code: Select all

<a href="{$entry->detail_url}" title="{$category.name}">{$category.name}</a>
But all the variations i've tried:

Code: Select all

{$entry->category_url}, {$entry->category.url}, {$entry->categories}, {$entry->category}
And so on, just don't seem to work ...


3)  On each details template I'd like a RETURN link ... Going back to the summary or category

4) Tried placing the breadcumbs in, but they don't seem to work.


All these functions are already active in BlogsMadeSimple ... But in CGBlogs it seems to be a nightmare to get them to work. I've tried copying some of the code from the other blogs, but I can't seem to get them to work.

Someone please help me!! ;o)
Last edited by katea on Sun Oct 18, 2009 9:27 pm, edited 1 time in total.
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

Re: CGBlog - HELP! - A couple of things

Post by katea »

No-one know anything about this?

Surely there must be someone who's ran into this problem before?
Peciura

Re: CGBlog - HELP! - A couple of things

Post by Peciura »

Is here something you would like to do at your site?

I use a bit outdated system:
cmsms   1.6.3 mle
CGBlog 1.3.1
CGExtensions 1.15.3
CGSimpleSmarty 1.4.3

Code:

Code: Select all

{$entry->category_url}, {$entry->category.url}, {$entry->categories}, {$entry->category}
And so on, just don't seem to work ...
To make sure variables you are using do exist use tags:

Code: Select all

{get_template_vars}
{dump item=$entry}
{$entry|print_r}
Edit. Sometimes i use UDT "var_dump"

Code: Select all

if (!empty($params['var'])){
echo '<pre>';
var_dump($params['var']);
echo '</pre>';
}
Usage

Code: Select all

{var_dump var=$entry}
Last edited by Peciura on Mon Oct 19, 2009 7:27 pm, edited 1 time in total.
mbvdk
Forum Members
Forum Members
Posts: 43
Joined: Wed Jun 08, 2005 3:30 pm

Re: CGBlog - HELP! - A couple of things

Post by mbvdk »

I have been attempting to make something like the exapmle in your link, Peciura, but have been unable to make a page with the blog post and an input form to post comments. I have tried using the action=fesubmit option but this just makes a new blog entry, witch is not what I want.

In addition I would like the option to let only registered users post comments to blog posts, but as soon as the comment option is working, I believe the user filtering via the Fronenduser module is a minor matter.

I'm using:
CMSMS 1.6.6 "Bonde"
CGBlog 1.3.1
CGExtensions 1.17.4
CGSimpleSmarty 1.4.3
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CGBlog - HELP! - A couple of things

Post by calguy1000 »

use CGFeedback for the commenting portion.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Peciura

Re: CGBlog - HELP! - A couple of things

Post by Peciura »

@mbvdk
First of all you better listen to calguy  ;) ;
Second i will install CGFeedback in 2-3 month when site is rebuilt, so take my excample with grain of salt.

Code: Select all

{assign var='temp' value=$entry}
{cms_module module='comments' modulename='CGBlog' pageid=$entry->id dateformat='Y-m-d H:i' lang=$lang emailfield='1'}
{assign var='entry' value=$temp}
These two "assigns" normaly are not used, but i use them to prevent "$entry" from being overwritten.
mbvdk
Forum Members
Forum Members
Posts: 43
Joined: Wed Jun 08, 2005 3:30 pm

Re: CGBlog - HELP! - A couple of things

Post by mbvdk »

Thanks, testing it now and it seems to work like I want it to. So now I'll just have to cosumize it for the site.
Post Reply

Return to “Modules/Add-Ons”