Couple of Questions about Cataloger

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
finster

Couple of Questions about Cataloger

Post 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.
HMTKSteve
Forum Members
Forum Members
Posts: 23
Joined: Fri May 26, 2006 5:56 pm

Re: Couple of Questions about Cataloger

Post by HMTKSteve »

I think you can emulate multiple catalogs by using sub-categories (category attributes)
finster

Re: Couple of Questions about Cataloger

Post 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:

Code: Select all

AND c.type='content'
To:

Code: Select all

AND c.type IN ('content','catalogitem') 
HMTKSteve
Forum Members
Forum Members
Posts: 23
Joined: Fri May 26, 2006 5:56 pm

Re: Couple of Questions about Cataloger

Post by HMTKSteve »

I made the change and it is still not searching my catalog items... I wonder what else I might be doing wrong...
climberusa
Forum Members
Forum Members
Posts: 126
Joined: Sun Feb 26, 2006 7:10 pm

Re: Couple of Questions about Cataloger

Post by climberusa »

Thanks for this! I was wondering today why it wasn't finding that info but it works great now!
HMTKSteve
Forum Members
Forum Members
Posts: 23
Joined: Fri May 26, 2006 5:56 pm

Re: Couple of Questions about Cataloger

Post 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:

Code: Select all

AND c.type='content'
To:

Code: Select all

AND c.type IN ('content','catalogitem') 
What modules/versions are you running because this has no effect for me.
finster

Re: Couple of Questions about Cataloger

Post 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...
paragulka

Re: Couple of Questions about Cataloger

Post by paragulka »

hello finster, can you tell a newbie exactly what file did you modify?
finster

Re: Couple of Questions about Cataloger

Post by finster »

Hi,

It was modules\pisearch\pisearch.module.php

Hope that helps...
paragulka

Re: Couple of Questions about Cataloger

Post 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!
Locked

Return to “CMSMS Core”