PDA

View Full Version : When no translation show Details in title



Mustafa ilker Yonel
September 22, 2017, 10:11 AM
Hi Flynax heroes,

i have the follow problem,

customer is filling out the ad form, but most in the time he only knows 1 language.

now i want to manage that when the customer is not filling out the title it will otomaticly show some details in the same place. for example

Titel = Super nice 4000 square feet villa with ocean view. (customer is filling out only english)

Titel for the other languages (getting the values from customer entrys) = For Sale - Villa - 4000 m2 - 15 bedrooms

i think you get what i need. i am friendly with php but not so with the engine you guys use .

could you guys point me in the right direction.

Viktor
September 22, 2017, 11:19 AM
Hello Mustafa,

You can set for text and textarea fields multilangual function and users on add listing page should fill text with 2 or more languages and you will see different titles on each language. But you cannot build different listing titles for each language.

Mustafa ilker Yonel
September 23, 2017, 10:47 AM
is there a option to ask like this

php logic example:


if ( ! empty ( $is_standart_language ) ) { echo $titel_field_value; } else { echo $propertyfor_field_value . " - " . $bedroom_field_value ." and so on...." ; }

comon it is possible i did it before :D but i am not so handy with smarty

Mustafa ilker Yonel
September 23, 2017, 01:56 PM
the answer is Listing Title Builder :wacko: