MySQL Advanced List - Breadcrumbs?

5 posts by 2 authors in: Forums > CMS Builder
Last Post: May 25, 2012   (RSS)

Re: [Perchpole] MySQL Advanced List - Breadcrumbs?

By Dave - May 25, 2012

Hi Perch,

What do you want to be different than what you'd get by using the 'breadcrumb' field?

Looking up the fields to make the breakcrumb could be tricky, but if you just need the format of the breadcrumb changed you might be able to do that in mysql.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] MySQL Advanced List - Breadcrumbs?

By Perchpole - May 25, 2012

Hi, Dave -

My query is fairly simple but I need to use a WHERE clause - hence the use of the advanced SQL editor.

The resulting list of category names is pretty long. It would be alot easier to read if the list were ordered in the same way as breadcrumbs - if only to make it easier to identify the sub-catgeories.

:0/

Perch

Re: [Perchpole] MySQL Advanced List - Breadcrumbs?

By Dave - May 25, 2012

Hi Perch,

Would this work?

SELECT num, breadcrumb
FROM `<?php echo $TABLE_PREFIX ?>category`
ORDER BY breadcrumb


Or if not, let me know what else you'd need it to do. Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] MySQL Advanced List - Breadcrumbs?

By Perchpole - May 25, 2012

(Slaps head) Oh, what a numpty....

Thanks, Dave.

:0)

Perch