Hi,
My project contains a multi properties development with house and flat, presented in a list through an excel file (data-based). I have all text informations and pictures related in it, plus all informations needed by intuiface to show or not pictures or text (with true / false columns). The client wanted to be able to set any property to sold, not sold, reserved, not reserved through a CMS accessible in the presentation.
I have 2 columns in my excel sheet (1 called Sold, 1 called Reserved), in which I put ātrueā or āfalseā to show the picture related or not (a āsoldā or āreservedā picture is shown on the property). The CMS that allow the client to show the āsoldā or āreservedā is simply presented through an asset grid with as many rows as there are properties, and an āupdateā button (that update cells of the excel sheet). I have several columns with the number of the property, the typeā¦ and a column āSOLDā and a column āRESERVEDā in which I have a layer text āTRUEā or āFALSEā (because fed from the excel sheet).
Here is my problem: The client doesnāt understand the true and false, they wanted to have the text āSOLDā or āNOT SOLDā / āRESERVEDā or āNOT RESERVEDā instead. So I decided to put a converter on the layer text with a custom script with this PHP code:
if (INPUT == true) { āSOLDā; }
else { āNOT SOLDā; }
This code was working properly a month ago, I left the presentation like that, but then intuiface has been updated and the PHP doesnāt work anymore. All I have now is all the rows were āfalseā (= I have NOT SOLD and NOT RESERVED), even if the excel sheet as true on some rows. So my data base is working properly, the update button that allows to update cells works also properly but my layer text never change.
So is it a problem within intuiface since the updates, with the PHP that should be written differently or is no longer understood properly? Or is this converter not working for the alteration I want to do with the text, and what can I do instead?
Thank you, and please let me know if more informations are necessary.
E