Support Forums

Quick search categories translation

This is a discussion on Quick search categories translation within the TemplateCodes forums, part of the Third Party Support category; Hello, I have just installed the quick search module and everything works fine...the only problem is that the categories are ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 05-12-2010, 07:06 PM   #1
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 15
magicosta is on a distinguished road
Red face Quick search categories translation

Hello,

I have just installed the quick search module and everything works fine...the only problem is that the categories are only displayed in english and the web site is also in spanish and french.

The variable I use normaly to translate is not working in that case and in particularly when I use it in hook.php file.

I don't understand where the problem is coming from as the text label are translated automaticly.

I must add that I have the multilinguage installed for my translation.

Maybe someone got the same problem as me and sort it out?

Is this something to see with a global variable?

Thank you for your help
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 05-13-2010, 08:38 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,423
Rep Power: 87
seymourjames is a jewel in the rough
Default

Puzzling because the module is pulling through using the same ajax. Send a ticket with all your details FTP and admin panel and we can perhaps take a quick look.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 05-14-2010, 12:02 PM   #3
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 15
magicosta is on a distinguished road
Default

Thank you for your reply and suggestion.

The problem is I am working on local host.

The multilingual module doesn't use hooks as it it sort of built in the 68c, it is more a part of 68c than a module.
The module uses original database

Do you know how to get a $lang variable into the quick search module?

Thank you for your help
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 05-14-2010, 03:59 PM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,423
Rep Power: 87
seymourjames is a jewel in the rough
Default

We do not possess the multilanguage module so would not know where to start. You will need to make a demo system and send FTP details for us to even begin looking at what might be needed. In general, templatecodes uses one language file defined in the templatecodes module.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 05-16-2010, 11:25 AM   #5
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 15
magicosta is on a distinguished road
Default

Thank you Davis for replying,

As I am still working on localhost, I propose to send you the multilangual module and like that you will be able to see how it is code writen.


there is a $lang variable created by the multilingual module, if I call global $lang; in for example Categories.php or other scripts the $lang variable is well known, but I can't get that variable to work in the quick search module in the hooks.php code.

how to get a global variable in a hooks.php module file? I think this is the problem. If you can have a look at the multilingual module, maybe you can help me.

Thank you in advance for your help
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 05-16-2010, 03:41 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,423
Rep Power: 87
seymourjames is a jewel in the rough
Default

I think you are misunderstanding. I don't want you to send me this module. You load it up on a test system and send FTP details.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 05-16-2010, 05:07 PM   #7
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 205
Rep Power: 15
magicosta is on a distinguished road
Default

What does that mean exactly test system"?
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 05-16-2010, 05:45 PM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,423
Rep Power: 87
seymourjames is a jewel in the rough
Default

It means if you don't have a live system then make one so it can be tested.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 05-16-2010, 10:12 PM   #9
TemplateCodes
 
TemplateCodes-Mike's Avatar
 
Join Date: Apr 2010
Posts: 41
Rep Power: 7
TemplateCodes-Mike is on a distinguished road
Default

magicosta,

Have you contacted the developer for the multi-language module that you are using? From reading through your posts, it doesn't seem as though this module is following the standards of 68 Classifieds for it's development which may be the cause of the issue that you are experiencing.

The prices module was designed to work with unaltered core files, source code and dB tables. We're always willing to offer suggestions, however your best support for your issue may be with the developer of this other module.
__________________
TemplateCodes - Complete 68 Classifieds solutions and more
TemplateCodes-Mike is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
add a quick search to layout.tpl jason1971 Templates, HTML, CSS, and Design Help 3 02-18-2009 09:01 AM
modifying the quick search bar cflo Modules / Plugins / Modifications 11 01-20-2009 08:08 PM
Quick question on categories Jamesgt Technical Support 0 12-17-2008 05:00 PM
Quick Search out of alignment bowers01 Technical Support 0 06-29-2008 04:50 AM


All times are GMT -4. The time now is 12:56 AM.


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