Please can you tell me when 1.9.3 is coming out so I can fix this problem? It's making my site look weird...
Thanks for your help and keep up the good work with CMSMS - it is much appreciated!!!
Problem with $node->parent in CMSMS 1.9.2
-
- Forum Members
- Posts: 65
- Joined: Tue Jul 13, 2010 9:31 am
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Problem with $node->parent in CMSMS 1.9.2
1.9.3 is Scheduled for the end of this month, and since we try to do releases on Saturdays (that's when we have the most spare time), it'll prolly either be the 29th of January or on the latest February 5th.
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.
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.
-
- Forum Members
- Posts: 65
- Joined: Tue Jul 13, 2010 9:31 am
Re: Problem with $node->parent in CMSMS 1.9.2
Oh great, thanks. I think I'll wait until 1.9.3.
Will I be able to upgrade from a buggy menu manager in 1.9.2 to a working menu manager in 1.9.3?
Nice work on the refreshed admin interface too.
Romano
Will I be able to upgrade from a buggy menu manager in 1.9.2 to a working menu manager in 1.9.3?
Nice work on the refreshed admin interface too.
Romano
Re: Problem with $node->parent in CMSMS 1.9.2
ONce you upgrade from 1.9.2 -> 1.9.3, which is just uploading the diff-files package, you will get all fixes in place. So yes, the MenuManager files and more, are part of the 1.9.3-package.
Ronny
Ronny
-
- New Member
- Posts: 2
- Joined: Mon May 30, 2011 8:13 am
Re: Problem with $node->parent in CMSMS 1.9.2
Hi,
I'm using CMSMS 1.9.4.2 "Faanui" and this bug still present.
My menu template (Display current page sub-menu) :
I'm using CMSMS 1.9.4.2 "Faanui" and this bug still present.
My menu template (Display current page sub-menu) :
Code: Select all
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->current && $node->haschildren}
<div class="page_menu">
<strong><a href="{$node->url}">{$node->menutext}</a></strong>
<ul>
{foreach from=$nodelist item=node2}
<!--
{$node2|print_r}
-->
{if $node2->parent}
<li><a href="{$node2->url}">{$node2->menutext}</a></li>
{/if}
{/foreach}
</ul>
</div>
{/if}
{/foreach}
{/if}
Re: Problem with $node->parent in CMSMS 1.9.2
@Tellurian7
Would help if you specified what it is you are trying to do, there is no $node2-> call in menu manager...
Would help if you specified what it is you are trying to do, there is no $node2-> call in menu manager...
-
- New Member
- Posts: 2
- Joined: Mon May 30, 2011 8:13 am
Re: Problem with $node->parent in CMSMS 1.9.2
Hi Dr CSS,
$node2 iterate through all nodes like $node.
When i output the values of $node2 (or $node in a simple loop) with print_r like this :
$node->parent always return false/nothing
What i'm trying to do is displaying only the sub-pages of the current page.
$node2 iterate through all nodes like $node.
Code: Select all
{foreach from=$nodelist item=node2}
Code: Select all
{$node|print_r}
What i'm trying to do is displaying only the sub-pages of the current page.