Page 1 of 1

Products hierarchy by menutext?

Posted: Thu Feb 21, 2013 5:29 pm
by angelpeace
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.

Re: Products hierarchy by menutext?

Posted: Thu Feb 21, 2013 5:59 pm
by Dr.CSS
You might have to explain this in more detail, what you are doing and what you expect to see...

Re: Products hierarchy by menutext?

Posted: Thu Feb 21, 2013 6:20 pm
by calguy1000
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.

Re: Products hierarchy by menutext?

Posted: Fri Feb 22, 2013 11:11 am
by angelpeace
Thanks calguy1000,
I had done!

Re: Products hierarchy by menutext?

Posted: Sun Nov 03, 2013 2:27 pm
by angelpeace
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!

Re: Products hierarchy by menutext?

Posted: Sun Nov 03, 2013 6:26 pm
by angelpeace
{Products hierarchy=$node->raw_menutext}
...is OK

Re: Products hierarchy by menutext?

Posted: Tue Nov 19, 2013 7:49 am
by angelpeace
{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