I use the products module and the products hierarchy action to create a productmenu sitewide. This always used to work fine, but since updating to the last version it will not work on product detail pages. In stead it will only show me products of a lower hierarchy than the product detail-viewed, if any.
I checked two things: the $hierdata array, which should contain all data for the hierarchy tree (and does on other pages). That's empty on product detail pages, or contains only the hierarchy tree starting from the current product.
I checked the module help, and it states clearly:
The 'parent' parameter is not set in the module call and a print_r on the $hierdata at the top of the module template reveals the empty (or only partial) hierarchy data in $hierdata. The above text from the module 'help' leads me to think that it should contain the full hierarchy tree.(optional) parent="" - Applicable only in the hierarchy action, this parameter specifies the integer hierarchy id of the starting location of the report. If this parameter is specified, then the $active_hierarchy smarty variable will be ignored. If neither is set, then the hierarchy view will start from the root.
Does anyone know if this is the modern behaviour of the Products module and if there is a workaround?
Here's my system details:
----------------------------------------------
Cms Version: 1.11.12
Installed Modules:
FileManager: 1.4.5
MenuManager: 1.8.6
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
CGExtensions: 1.45
CGSimpleSmarty: 1.7.4
Products: 2.22.1
CGBlog: 1.12.9
TinyMCE: 2.9.12
JQueryTools: 1.3.4
CGSmartImage: 1.17.2
AceEditor: 1.0
CGCalendar: 1.14.6
Config Information:
php_memory_limit: 64M
process_whole_template:
max_upload_size: 256000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: nl_NL
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.4.34
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 60
output_buffering: 4096
safe_mode: Uit (Onwaar)
file_uploads: Aan (Waar)
post_max_size: 256M
upload_max_filesize: 256M
session_save_path: Geen controle omdat 'open_basedir' actief is
session_use_cookies: Aan (Waar)
xml_function: Aan (Waar)
xmlreader_class: Aan (Waar)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.6.21
Server Db Grants: Er is een "GRAND ALL" permissie gevonden, alles lijkt in orde.
Server Time Diff: Geen tijdverschil aangetroffen
----------------------------------------------

