My version:
$CMS_VERSION = "1.11.4";
$CMS_VERSION_NAME = "Fernandina";
$CMS_SCHEMA_VERSION = "36";
I Have a menu page:
+ ListProduct1
+ ListProduct2
+ ListProduct3
...
And I have a Hierarchy as same as:
+ ListProduct1
+ ListProduct2
+ ListProduct3
...
Now, I couldn't Get {Products hierarchy=[menutext][raw_menutext]...}
Help me plz...
Thanks.
Products hierarchy by menutext?
- angelpeace
- Forum Members

- Posts: 39
- Joined: Fri May 15, 2009 9:45 am
Re: Products hierarchy by menutext?
You might have to explain this in more detail, what you are doing and what you expect to see...
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Products hierarchy by menutext?
If you want to call the Products modules from within each of your content pages, and want to have the hierarchy already set by the menu text of the current page:
{Products hierarchy={menu_text}}
should work... or be close.
{Products hierarchy={menu_text}}
should work... or be close.
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.
- angelpeace
- Forum Members

- Posts: 39
- Joined: Fri May 15, 2009 9:45 am
Re: Products hierarchy by menutext?
Thanks calguy1000,
I had done!
I had done!
- angelpeace
- Forum Members

- Posts: 39
- Joined: Fri May 15, 2009 9:45 am
Re: Products hierarchy by menutext?
Hi calguy1000,
In Menu Manager, I have a Custom MenuTemplate:
{if $count > 0}
{foreach from=$nodelist item=node}
...
<h1>{$node->menutext}</h1>
...
<content>
{Products hierarchy=$node->menutext}
</content>
{/foreach}
{/if}
It's not result List Products [hierarchy=$node->menutext]
How i can do,
Thanks!
In Menu Manager, I have a Custom MenuTemplate:
{if $count > 0}
{foreach from=$nodelist item=node}
...
<h1>{$node->menutext}</h1>
...
<content>
{Products hierarchy=$node->menutext}
</content>
{/foreach}
{/if}
It's not result List Products [hierarchy=$node->menutext]
How i can do,
Thanks!
- angelpeace
- Forum Members

- Posts: 39
- Joined: Fri May 15, 2009 9:45 am
Re: Products hierarchy by menutext?
{Products hierarchy=$node->raw_menutext}
...is OK
...is OK
- angelpeace
- Forum Members

- Posts: 39
- Joined: Fri May 15, 2009 9:45 am
Re: Products hierarchy by menutext?
{Products hierarchy=$node->raw_menutext}
...is OK
But
{Products hierarchy="{$node->raw_menutext}*"}
...is not OK
Home >> Parent >> Children_1 >> Children_2 >> Children 3
I Call {Products hierarchy=Parent*} --> Not Result
I Call {Products hierarchy=Children_1*} --> Not Result
I Call {Products hierarchy=Children_2*} --> Result
...is OK
But
{Products hierarchy="{$node->raw_menutext}*"}
...is not OK
Home >> Parent >> Children_1 >> Children_2 >> Children 3
I Call {Products hierarchy=Parent*} --> Not Result
I Call {Products hierarchy=Children_1*} --> Not Result
I Call {Products hierarchy=Children_2*} --> Result

