Search result with full path

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
waldemar_r
Forum Members
Forum Members
Posts: 20
Joined: Fri Mar 05, 2010 2:34 pm

Search result with full path

Post by waldemar_r »

Hello All,

I'm creating a web site for my colleague. I installed Cataloger and and created a structure like:

Simple site menu:
- About Comapany
- Contant
- Catalog

In the Catalog:

1. Category 1
1.1. sub category
1.1.1 Product
1.1.2 Product 2
1.2 Sub category 2
1.2.1 Product
2. Category 2
(...)

When I search for JBC the result looks like:
JBC - JBC (100%)
JBC - JBC (100%)
About Company - About Company (90%)

I would like to show the Search result as:

Category 1 / Sub category / JBC - JBC (100%)
Category 2 / Sub category / JBC - JBC (100%)
About Company - About Company (90%)

How can I obtain this structure? How can I get the path (like in breadcrumbs) to the found item?

---------

Finally, I found the solution (poor one but it works).

1. I took the code from breadcrumbs and changed $manager to $hm and set $thispage = $node->getID();
2. set trail to array
3. in the foreach (on line 501) assign the value to the title
Post Reply

Return to “Modules/Add-Ons”