Hi,
I've just upgraded from Products 2.8.7 to 2.9.2 so I can make use of the new product detail breadcrumb feature, but for some reason nothing is being returned.
I've also checked the array containing the breadcrumbs using {$mod|print_r} and nothing is showing there either? This should be working as the product I am testing is assigned to a hierarchy item.
Thanks in advance to anyone who can help!
Installation info:
----------------------------------------------
Cms Version: 1.8.2
Installed Modules:
* CMSMailer: 2.0
* FileManager: 1.0.2
* MenuManager: 1.6.5
* ModuleManager: 1.4
* News: 2.10.6
* nuSOAP: 1.0.2
* Printing: 1.1.0
* Search: 1.6.5
* ThemeManager: 1.1.1
* TinyMCE: 2.7.3
* CodeMirror: 0.1.8
* CGExtensions: 1.21.5
* CGEcommerceBase: 1.2.3
* CGSimpleSmarty: 1.4.5
* FormBuilder: 0.6.4
* AdvancedContent: 0.6.2
* Products: 2.9.2
Config Information:
* php_memory_limit:
* process_whole_template: false
* output_compression: true
* max_upload_size: 20000000
* default_upload_permission: 664
* url_rewriting: mod_rewrite
* page_extension:
* query_var: page
* use_hierarchy: true
* image_manipulation_prog: GD
* auto_alias_content: true
* locale:
* default_encoding: utf-8
* admin_encoding: utf-8
* set_names: true
Php Information:
* phpversion: 5.2.11
* md5_function: On (True)
* gd_version: 2
* tempnam_function: On (True)
* magic_quotes_runtime: Off (False)
* E_STRICT: 0
* memory_limit: 128M
* max_execution_time: 60
* output_buffering: On
* safe_mode: Off (False)
* file_uploads: On (True)
* post_max_size: 12M
* upload_max_filesize: 12M
* session_save_path: /tmp (1777)
* session_use_cookies: On (True)
* xml_function: On (True)
Server Information:
* Server Api: apache2handler
* Server Db Type: MySQL (mysql)
* Server Db Version: 5.0.91
Products module 2.9.2 - Breadcrumbs not working
-
- Forum Members
- Posts: 17
- Joined: Sun Sep 20, 2009 10:42 pm
- Location: Portsmouth, UK
-
- Forum Members
- Posts: 17
- Joined: Sun Sep 20, 2009 10:42 pm
- Location: Portsmouth, UK
Re: Products module 2.9.2 - Breadcrumbs not working
Sorry, the tag I'm attempting to use in the detail template is as follows:
This is the same code used in the default product detail template.
I'm also getting the same problem on another installation using the most recent version of CMSMS (1.9.2), so I'm not sure an upgrade will solve the problem.
Code: Select all
{if is_array($entry->breadcrumb)}
Breadcrumb: {' >> '|implode:$entry->breadcrumb}<br/>
{/if}
I'm also getting the same problem on another installation using the most recent version of CMSMS (1.9.2), so I'm not sure an upgrade will solve the problem.
Re: Products module 2.9.2 - Breadcrumbs not working
There is no array anymore, the breadcrumb is saved as string in {$entry->breadcrumb}. Try this:fireboydesign wrote:Sorry, the tag I'm attempting to use in the detail template is as follows:
This is the same code used in the default product detail template.Code: Select all
{if is_array($entry->breadcrumb)} Breadcrumb: {' >> '|implode:$entry->breadcrumb}<br/> {/if}
I'm also getting the same problem on another installation using the most recent version of CMSMS (1.9.2), so I'm not sure an upgrade will solve the problem.
Code: Select all
{if $entry->breadcrumb}
Breadcrumb: {$entry->breadcrumb}<br/>
{/if}
-
- Forum Members
- Posts: 17
- Joined: Sun Sep 20, 2009 10:42 pm
- Location: Portsmouth, UK
Re: Products module 2.9.2 - Breadcrumbs not working
That's it! Well it works on CMSMS 1.9.2 anyway, older versions still display nothing so I guess it's time for an upgrade.
Thanks all.
Thanks all.