Page 1 of 1
Couple of Questions about Cataloger
Posted: Sat Jun 03, 2006 6:14 pm
by finster
Hi all,
I have a quick couple of questions about the (excellent) Cataloger module: -
1. Can multiple cataloger modules be installed on the same site? i.e. If I want 2 catalogs of totally different items (for example, products and stores), is this possible? Would it be a matter of just copying the cataloger files into a different directory in "modules"? Or am I totally missing the point and there's an easier way to achieve this?
2. Are the catalog items searchable? i.e. will a module like pisearch pick them up in the search results, and if so is there a quick way I could limit the type of search (i.e to only products or only stores)?
Thanks in advance.
Re: Couple of Questions about Cataloger
Posted: Mon Jun 05, 2006 12:24 am
by HMTKSteve
I think you can emulate multiple catalogs by using sub-categories (category attributes)
Re: Couple of Questions about Cataloger
Posted: Mon Jun 05, 2006 9:46 am
by finster
Thanks,
I must admit, I've not had a lot of time to play with the cataloger - does anybody know if sub-categories will do what I want as HMTKSteve suggested?
For anybody interested, I've figured out how to get pisearch to search my catalog items - change the large SELECT statement on line 411
From:
To:
Code: Select all
AND c.type IN ('content','catalogitem')
Re: Couple of Questions about Cataloger
Posted: Tue Jun 06, 2006 10:17 am
by HMTKSteve
I made the change and it is still not searching my catalog items... I wonder what else I might be doing wrong...
Re: Couple of Questions about Cataloger
Posted: Tue Jun 06, 2006 8:05 pm
by climberusa
Thanks for this! I was wondering today why it wasn't finding that info but it works great now!
Re: Couple of Questions about Cataloger
Posted: Wed Jun 07, 2006 12:23 am
by HMTKSteve
finster wrote:
Thanks,
I must admit, I've not had a lot of time to play with the cataloger - does anybody know if sub-categories will do what I want as HMTKSteve suggested?
For anybody interested, I've figured out how to get pisearch to search my catalog items - change the large SELECT statement on line 411
From:
To:
Code: Select all
AND c.type IN ('content','catalogitem')
What modules/versions are you running because this has no effect for me.
Re: Couple of Questions about Cataloger
Posted: Thu Jun 08, 2006 10:04 pm
by finster
Hi,
Sorry for the delay in replying.
I am running CMS Made Simple 0.13 Final, pisearch 1.01 and cataloger 0.4.2.
My hack to the SQL seemed to work fine for me - the way I got it working was to copy the SQL into MySQL Query Browser (or phpMyAdmin if you have that), and then run it to see which rows come back. I then just added the extra type and it worked...
Re: Couple of Questions about Cataloger
Posted: Thu Aug 17, 2006 7:44 pm
by paragulka
hello finster, can you tell a newbie exactly what file did you modify?
Re: Couple of Questions about Cataloger
Posted: Thu Aug 17, 2006 7:47 pm
by finster
Hi,
It was modules\pisearch\pisearch.module.php
Hope that helps...
Re: Couple of Questions about Cataloger
Posted: Thu Aug 17, 2006 8:47 pm
by paragulka
THANKS!
That worked for me!
I actually found the same line in the TAG-based pisearch and in the function.pisearch.php i changed the same line. i evne added catalogcategory to the list and now it finds words from category notes as well.
SWEEET!!
Thanks again!