sub categories on detail page

19 posts by 3 authors in: Forums > CMS Builder
Last Post: March 10, 2009   (RSS)

By ross - February 27, 2009

Hi Dan

The code is going to end up being the same except for when you display the category names. Just switch it up so that the French field is used instead of the English one.

Keep us up to date with how you are making out :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [Dave] sub categories on detail page

Can you take a look at this error and le me know what i am doing wrong. I think I might need a bit more of a walk through for this sub menu thing.

here is the url. You will see that I have the category menu working fine its just the sub menu thing at the bottom that I cant get to work.

http://www.portatecqc.com/francais/products-details-fr.php?Basic-door-system-1

By ross - March 3, 2009

Hi Dan

Could you post this template so I can take a closer look at the code? Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] sub categories on detail page

By DanMaitland - March 4, 2009 - edited: March 4, 2009

Here is one of the templates with the sub category menu as which is an include.

By Dave - March 4, 2009

Hi Dan,

And what is the problem currently? These templates look like they would display the french fields (name_fr) already?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] sub categories on detail page

the problem is actually pertaining to displaying the sub category. the files I posted are directly related to this link www.portatecqc.com/francais/products-details-fr.php if you look at the bottom of the page where it says sub category menu you will see the error.

By Dave - March 5, 2009

Hi Dan,

The error: "Notice: Undefined variable: subcategoryRecords" means that the $subCategoryRecords variable isn't being set anywhere.

And when I look through the code on those two pages that seems to be the case. Did you add some code to your english pages that set that? Perhaps the code I posted above?

Current your code sets $products_featuresRecords, and $categoryRecords but not $subCategoryRecords. So you'll need to add something to set that or use one of the existing variables.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] sub categories on detail page

Can you tell me why in IE 7 the category menu on this page

http://www.portatecqc.com/francais/products-details-fr.php?Wood-finish-application-2

is showing "joutée" at the end. If you cannot see it I've attached a screen shot.
Attachments:

menu.doc 246K