cgsimple::has_children([$alias]) not working - CMSMS 2.1.1

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

cgsimple::has_children([$alias]) not working - CMSMS 2.1.1

Post by naturelab »

I am trying to use this

Code: Select all

cgsimple::has_children([$alias])

Code: Select all

Example:
{cgsimple::has_children('','has_children')}{if $has_children}The current page has children{else}The current page has no children{/if}
But it will NOT recognise that children exist.
Has anyone else had this ? Can anyone test for me ?

Thankyou

----------------------------------------------

Cms Version: 2.1.1

Installed Modules:

AdminSearch: 1.0
CMSContentManager: 1.1
DesignManager: 1.1.1
FileManager: 1.5.2
MenuManager: 1.50.2
MicroTiny: 2.0.2
ModuleManager: 2.0.1
Navigator: 1.0.2
News: 2.50.3
Search: 1.50.2
Gallery: 2.0.3
CGExtensions: 1.51
CGSimpleSmarty: 2.0.2
CGContentUtils: 2.1
JQueryTools: 1.3.8
CGBlog: 1.13.3
CGSnapshot: 1.0
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: cgsimple::has_children([$alias]) not working - CMSMS 2.1

Post by naturelab »

Ah OK, do we have to do this now :-

Code: Select all

{assign var='children' value=cgsimple::get_children('')} 
rather than this ?

Code: Select all

{cgsimple::get_children('',0,'children')}
Which doesn't seem to work anymore
Post Reply

Return to “Modules/Add-Ons”