Support Forums

cat_tree module

This is a discussion on cat_tree module within the Techconnx forums, part of the Third Party Support category; Hello, I just installed cat_tree module and everything is working fine a part a little problem with the quick search ...


Go Back   68 Classifieds Forums > Third Party Support > Techconnx

Reply
 
Thread Tools Display Modes
Old 08-23-2010, 12:09 PM   #1
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 207
Rep Power: 14
magicosta is on a distinguished road
Default cat_tree module

Hello,

I just installed cat_tree module and everything is working fine a part a little problem with the quick search module from templatecodes.

The quick search module works fine till I am in the step 1 page. At that step, if I click in the window of quick search module, all the categories are separeted by several lines of >> &nb..

It is like the module wanted to show as well the sub-categories, so it shows up like this:

First category
>>&nb...
>>&nb..
>>&nb..
>>&nb..
>>&nb..
Second category
>>&nb...
>>&nb..
>>&nb..
>>&nb..
>>&nb..
Third category
etc..

But when I go to the step 2 of checkout, that's working fine

Any idea where I have to look for?

Thank you for your help.
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 08-23-2010, 12:20 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,410
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

The category tree module is only designed to replace the first step of checkout and display categories in a tree as opposed to the default dropdown. My module never claimed to nor has it been tested to function within the quick search module.
__________________
Larry

Knowledge learned is more valuable than knowledge given.

Last edited by Lhotch; 08-23-2010 at 12:26 PM.
Lhotch is offline   Reply With Quote
Old 08-23-2010, 12:34 PM   #3
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 207
Rep Power: 14
magicosta is on a distinguished road
Default

Hello Larry,

Yes, I understand.

It was just to know if eventually you were aware about this little problem (I suppose anyway that the users when they are at that step, they will not suddenly look for something with the search module) and maybe if you know were I have to start to look for to sort out this, no more.

Thank you anyway
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 08-23-2010, 12:53 PM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,410
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

I dont know anything about the quick search module but even so I am not sure how the cat_tree mod would have any affect on it. As I mentioned, the cat tree module simply replaces the existing step1 of checkout with a different template and call to its own script file to generate category content.

The only thing affected by my module should be any mod that also tries to replace or make use of step 1 of checkout. I dont know why any mod not related to checkout would use step1 of checkout.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 08-23-2010, 01:09 PM   #5
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,306
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I don't have the cat_tree module, but from the looks of the issue as you have described it, there may indeed be a conflict as the Quick Search module loads with the init.php file and it does indeed gather the categories. It displays the categories with an assigned variable of $getcats which is assigned to the template file (every template file!). If the same variable name is being used in the cat_tree module then you would of course have a conflict.

If this is indeed the case, then the solution would be to set the template assign to a variable with a different name in one or the other module's hooks file.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 08-23-2010, 01:26 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,410
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Is the quick search mod something that is visible all the time?

And if the quick search mod is displayed all the time, Does this strange behavior occure ONLY during step one of checkout or at all times?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 08-23-2010, 02:19 PM   #7
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 207
Rep Power: 14
magicosta is on a distinguished road
Default

In fact, it occures just when we are in step 1.

A soon as you jump to step 2, it displays the categories as normal.
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 08-23-2010, 02:30 PM   #8
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 207
Rep Power: 14
magicosta is on a distinguished road
Default

Here is a print screen image
Attached Images
File Type: jpg cat_tree_mod_quick_search.jpg (94.8 KB, 7 views)
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 08-23-2010, 02:49 PM   #9
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,306
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

If it were me, I would do this:

In the Quick Search module file, "searchform.tpl" around line 21 find this:
Code:
{if $script_name != 'search.php'}
and replace it with this:
Code:
{* Modification to avoid conflict during checkout added usercheckout.php *}
{if $script_name != 'search.php' || $script_name != 'usercheckout.php'}
As you said yourself, your end user shouldn't be conducting a search as they are placing a listing. This will not show the quicksearch while checking out, just like it doesn't show when you are in advanced search.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 08-23-2010, 03:01 PM   #10
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 207
Rep Power: 14
magicosta is on a distinguished road
Default

Thank you Mike for that suggestion, unfortunatly it does not work.

I did what you suggest and nothing else happen.
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
google maps module/seo friendly urls module incompatibility everyounce Techconnx 2 06-24-2009 12:01 AM


All times are GMT -4. The time now is 10:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0