Page 1 of 1

Products module 2.9.2 - Breadcrumbs not working

Posted: Sun Jan 09, 2011 9:05 pm
by fireboydesign
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

Re: Products module 2.9.2 - Breadcrumbs not working

Posted: Sun Jan 09, 2011 9:45 pm
by fireboydesign
Sorry, the tag I'm attempting to use in the detail template is as follows:

Code: Select all

{if is_array($entry->breadcrumb)}
Breadcrumb:  {' >> '|implode:$entry->breadcrumb}<br/>
{/if}
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.

Re: Products module 2.9.2 - Breadcrumbs not working

Posted: Tue Jan 11, 2011 7:24 pm
by Sonya
fireboydesign wrote:Sorry, the tag I'm attempting to use in the detail template is as follows:

Code: Select all

{if is_array($entry->breadcrumb)}
Breadcrumb:  {' >> '|implode:$entry->breadcrumb}<br/>
{/if}
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.
There is no array anymore, the breadcrumb is saved as string in {$entry->breadcrumb}. Try this:

Code: Select all

{if $entry->breadcrumb}
Breadcrumb:  {$entry->breadcrumb}<br/>
{/if}

Re: Products module 2.9.2 - Breadcrumbs not working

Posted: Tue Jan 11, 2011 8:51 pm
by fireboydesign
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.