Simple Breadcrumbs

17 posts by 2 authors in: Forums > CMS Builder
Last Post: April 22, 2010   (RSS)

Here are the files. However, the items will have about 100 items eventually.

For now there's

Dia 1x1
Dia 1x4
Dia 2x2
Dia 2x4
Plano 1x1
Plano 1x4
Plano 2x2
Plano 2x4
Wave 1x1
Attachments:

itemslist.php 3K

brandslist.php 3K

Re: [dccreatives] Simple Breadcrumbs

By Jason - April 22, 2010

Hi,
From what I can tell, most of the information you are displayingin diaHome.php is coming from your brands section.

I think you're looking for something like this:

Products >> <a href="search.php">Type</a> >> <a href="brandsList.php">Brands</a> >> <?php echo $brandsRecord['name'] ?>

If you want this to be more dynamic, I will need to know what fields are in each section. This is not the records stored in the section, but the fields in each record. For example: Brands has a link, a name, and a logo for each record.

This is the kind of information I would need for each of your sections.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Thanks Jason,

I am getting the hang of the program and with a little tweaking, I did get the breadcrumbs to work somewhat. See this link:

http://www.axislighting.com/CMS/itemsDetail.php?10

I even got the BrandsList to take me to the specified brands home page. But what is not working is when you click on the type, it shows you all the items and all types. I only want it to list the type that the item is. i.e. Direct/Indirect or Recessed. Now all the items show when you click on the Type link.

Again thanks for your patience.
Attachments:

itemsdetail.php 10K

Re: [dccreatives] Simple Breadcrumbs

By Jason - April 22, 2010

Hi,

In order to do that, I'm going to need some more information from you.

1) I'll need you to post search.php

2)How are you storing "type" in the database? Is it a number or is it text (i.e "Recessed")

Let me know and we'll see what we can do.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
type is in a field called types that is a text field.
Attachments:

search_002.php 3K

Re: [dccreatives] Simple Breadcrumbs

By Jason - April 22, 2010

Hi,

All you need to do is have your url look like this:
http://www.axislighting.com/CMS/search.php?type=Recessed

You can change type= to any kind of type you want. For a link, you would want something like this:

<a href="search.php?type=Recessed">Recessed</a>

Try something like that.
Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/