Hello everybody,
I'm pretty new to CMSMS, and I've been doing the exercise from the following website : (http://www.packtpub.com/article/cms-mad ... ce-website) and I've run into a little problem I'm hoping someone might have a fix for.
Ok, I've install Products Module 2.13.1 and everything seems to be working except one part of the web tutorial that returns nothing.
Basically, when I create a Hierarchy template call Myshop with the following code:
{if isset($child_nodes) && count($child_nodes)}
{foreach from=$child_nodes item='node'}
<h3>
{if isset($node.downurl)}
<a href="{$node.downurl}
title="{$node.name}">{$node.name}</a>
{else}
{$node.name}
{/if}
</h3>
{if !empty($node.description)}
<div>{$node.description}
</div>
{/if}
{/foreach}
{/if}
<!-- This tag will be automatically added to the page content.
It uses the default summary template for products. -->
{Products hierarchyid=$hierarchy_item.id}
and run the Hierarchy Template as default it doesn't show anything.
Funny thing is the standard sample Hierarchy template works just fine.
Looks like $child_nodes variable is empty. Is there something I'm missing? I followed the instructions on the Products help file and setup all the permissions, why is $child_nodes variable empty?
Thanks,
S.
Products module - can't find $child_nodes
The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Jump to
- Official Boards
- ↳ README FIRST!!!
- ↳ Announcements
- ↳ General Discussion
- Support Boards
- ↳ CMSMS Core
- ↳ Modules/Add-Ons
- ↳ Help Wanted (commercial)
- ↳ Translations
- Community Boards
- ↳ Tips and Tricks
- ↳ CMS Show Off
- ↳ Layout and Design (CSS & HTML)
- ↳ Feature ideas
- ↳ Developers Discussion
- ↳ The Lounge
- International Discussions
- ↳ Czech/Slovak - Česky/Slovensky
- ↳ Danish - Dansk
- ↳ Dutch - Nederlands
- ↳ Aankondigingen
- ↳ Tips en Trucs
- ↳ Vertalingen & Documentatie
- ↳ Hulp gezocht (commercieel)
- ↳ Finnish - Suomi
- ↳ French - Français
- ↳ German - Deutsch
- ↳ BITTE ZUERST LESEN !!!
- ↳ Ankündigungen
- ↳ Installation und Einstellungen
- ↳ Module und Tags
- ↳ Smarty-Tipps und -Tricks
- ↳ Layout und Design
- ↳ Suchmaschinenoptimierung (SEO)
- ↳ HowTo's
- ↳ Übersetzungen
- ↳ Show Off
- ↳ Hilfe gesucht (kommerziell)
- ↳ Stammtisch
- ↳ Hungarian - Magyar
- ↳ Italian - Italiano
- ↳ Moduli/Plugins
- ↳ Lithuanian - Lietuviškai
- ↳ Darbo / bendradarbiavimo pasiūlymai ir paieška
- ↳ Persian / Farsi
- ↳ Polish - Polski
- ↳ Portuguese - Português
- ↳ Russian - русский
- ↳ Предложения и поиск РАБОТЫ
- ↳ Spanish - Español
- ↳ Swedish - Svenska
- Geekmoot Editions
- ↳ Geekmoot 2016
- ↳ Connections and Conversations
- ↳ Geekmoot 2015
- ↳ Geek Moot 2012
- ↳ Locked: Geek Moot 2010
- Old Forums
- ↳ [locked] CMSMS 2.0 Beta
- ↳ Module Developers
- ↳ Closed Issues
- ↳ [locked] Documentation0ld
- ↳ Suggestions, Modifications & Corrections
- ↳ [locked] CMSMS 1.11 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 1.10 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 2.2 Beta
- ↳ [locked] CMSMS MLE fork
- ↳ Modules/Addon patchs
- ↳ [locked] Quality Assurance
- ↳ [locked] Accessability and Usability
- ↳ [locked] Documentation
- ↳ Media and presentations about CMSMS
- ↳ [locked] Installation, Setup and Upgrade