Gossamer Forum
Home : Products : Links 2.0 : Customization :

I just canīt figure out how to go about this Category field..

Quote Reply
I just canīt figure out how to go about this Category field..
I intergrate my Links with Dbman.. these will be in three languages.. English/Spanish/Dutch..

Iīve really hacked around scripts.. and I think Iīve ended up in a real mess..

what im trying to do is the following..

Using the same default.db but having different nph-build.cgi, site_html.pl, links.cfg, categories.cfg etc.. for each language (cause of displaying thing differently, make different titles/keywords and building to different directories..)

I need a category field for each language.. ie.. the category field is broken down into County/Town/Property_Type...

the only thing is "Property_Type" will need to be differnet with each langauge..

I got so far and it all works and builds the pages and categories.. but it wont print the rusult listings caus the Category field in the links.def wont corespond with the Name field in the categories.def ie.. County/Town/Apartment (in English) and County/Town/Appartement (in Dutch..)

I run out of ideas.. I dont use the templates.. and Im not sure if these "if else print" statements would help me..

You can maybe see what Im on about here.. http://www.visaverde.com/Property/Tenerife/

Thanks in advance.. Justin
Quote Reply
Re: [JustinS] I just canīt figure out how to go about this Category field.. In reply to
Is there any way to edit the $category_name and $title_linked..

cause.. its just a thought and Iīm not sure itīll work.. and really not sure how to go about it.. but

if i could some how incorporate and "if then output" statement for the above i could get what im trying to do..

my category field goes like this Tenerife/Los_Cristianos/Apartment ie.. http://www.visaverde.com/Property/Tenerife/

the dutch version of the site looks like this.. http://www.visaverde.com/...erend_Goed/Tenerife/

the thing is.. both in the $category_name and $title_linked.. i need the Apartment bit.. dispalyed as Appartement (dutch) and if the was some kind of statement that would display a translated version of Apartment..

Hope I made a little sence.. Justin