Products 2.24.1, is it even supposed to work with CMSMS 1.12
Posted: Fri Jul 03, 2015 9:25 pm
I updated my CMSMS version to 1.12 in order to be able to install Products 2.24.1.
I ran into all kinds of problems. At first I saw that I needed to declare my smarty vars as global. This fixed some of my issues (especially in my detail template).
But one of the major things I couldn't work out (and made me revert back to 1.11.13) is that the $hierarchy_item var wasn't available. I tried to use it in my hierarchy template (as I did in my now back-online version 1.11.13 with Products 2.23), but no dice. I tried to 'print_r' it, this left me with an empty var.
Maybe the $hierarchy_item was declared local in the new version of the module, but I'm stumped on how to use it like this. Anyway, this made my current hierarchy templates useless and I couldn't figure out how to work around this. Looking at the $hierdata array returned the complete hierarchy, regardless of the currently viewed hierarchy.
Another thing that I couldn't figure out was how to tie the formbuilder to the products module. I use the 'module_interaction' field in formbuilder to create checkboxes that people can check when making an inquiry about a product (whether or not to include related products). In the Products summary template used for this, I use the {$FBid} as suggested. This works fine in CMSMS 1.11.13 using Products 2.23, but in CMSMS 1.12 and Products 2.24 the {$FBid} var doesn't work, making it impossible to tie related products to an e-mail sent from a formbuilder form.
I'm willing to have another go at this, but I'm wondering: is Products 2.24 not really meant for CMSMS 2.0? Can it be used in conjunction with formbuilder (or does formbuilder need an update in order to achieve this)?
CMSMS version (working one):
----------------------------------------------
Cms Version: 1.11.13
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.5
MenuManager: 1.8.6
ModuleManager: 1.5.8
News: 2.15
Search: 1.7.12
ListIt2: 1.4.1
ListIt2XDefs: 1.2
ListIt2Diensten: 1.4.1
CGExtensions: 1.47.3
JQueryTools: 1.3.5.1
CGSimpleSmarty: 1.8
CGBlog: 1.12.10
AceEditor: 1.0
CGSmartImage: 1.18
CompanyDirectory: 1.22.9
CustomGS: 2.1
ECB: 1.6
GBFilePicker: 1.3.3
Products: 2.23
TinyMCE: 2.9.12
ListIt2Occasions: 1.4.1
NeoModule: 0.5.5
FormBuilder: 0.8.1.1
HitCounter: 2.0
Config Information:
php_memory_limit: 64M
process_whole_template:
max_upload_size: 10000000
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.5.25
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 259200
output_buffering: 4096
safe_mode: Uit (Onwaar)
file_uploads: Aan (Waar)
post_max_size: 64M
upload_max_filesize: 10M
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 (mysqli)
Server Db Version: 5.5.31
Server Db Grants: Er is een "GRAND ALL" permissie gevonden, alles lijkt in orde.
Server Time Diff: Geen tijdverschil aangetroffen
----------------------------------------------
I ran into all kinds of problems. At first I saw that I needed to declare my smarty vars as global. This fixed some of my issues (especially in my detail template).
But one of the major things I couldn't work out (and made me revert back to 1.11.13) is that the $hierarchy_item var wasn't available. I tried to use it in my hierarchy template (as I did in my now back-online version 1.11.13 with Products 2.23), but no dice. I tried to 'print_r' it, this left me with an empty var.
Maybe the $hierarchy_item was declared local in the new version of the module, but I'm stumped on how to use it like this. Anyway, this made my current hierarchy templates useless and I couldn't figure out how to work around this. Looking at the $hierdata array returned the complete hierarchy, regardless of the currently viewed hierarchy.
Another thing that I couldn't figure out was how to tie the formbuilder to the products module. I use the 'module_interaction' field in formbuilder to create checkboxes that people can check when making an inquiry about a product (whether or not to include related products). In the Products summary template used for this, I use the {$FBid} as suggested. This works fine in CMSMS 1.11.13 using Products 2.23, but in CMSMS 1.12 and Products 2.24 the {$FBid} var doesn't work, making it impossible to tie related products to an e-mail sent from a formbuilder form.
I'm willing to have another go at this, but I'm wondering: is Products 2.24 not really meant for CMSMS 2.0? Can it be used in conjunction with formbuilder (or does formbuilder need an update in order to achieve this)?
CMSMS version (working one):
----------------------------------------------
Cms Version: 1.11.13
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.5
MenuManager: 1.8.6
ModuleManager: 1.5.8
News: 2.15
Search: 1.7.12
ListIt2: 1.4.1
ListIt2XDefs: 1.2
ListIt2Diensten: 1.4.1
CGExtensions: 1.47.3
JQueryTools: 1.3.5.1
CGSimpleSmarty: 1.8
CGBlog: 1.12.10
AceEditor: 1.0
CGSmartImage: 1.18
CompanyDirectory: 1.22.9
CustomGS: 2.1
ECB: 1.6
GBFilePicker: 1.3.3
Products: 2.23
TinyMCE: 2.9.12
ListIt2Occasions: 1.4.1
NeoModule: 0.5.5
FormBuilder: 0.8.1.1
HitCounter: 2.0
Config Information:
php_memory_limit: 64M
process_whole_template:
max_upload_size: 10000000
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.5.25
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 64M
max_execution_time: 259200
output_buffering: 4096
safe_mode: Uit (Onwaar)
file_uploads: Aan (Waar)
post_max_size: 64M
upload_max_filesize: 10M
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 (mysqli)
Server Db Version: 5.5.31
Server Db Grants: Er is een "GRAND ALL" permissie gevonden, alles lijkt in orde.
Server Time Diff: Geen tijdverschil aangetroffen
----------------------------------------------