Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter InventiveWebDesign

    (@inventivewebdesign)

    It shows the year with a comma in the map popup window also.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    That is because you have set up that attribute as numeric. We do not have a special type for Year attributes. Try to change the type to Text in Settings/Developer tab.

    Regards.

    Thread Starter InventiveWebDesign

    (@inventivewebdesign)

    This worked but then it broke our search function. The search works on a dropdown of years like 1975+ 1980+ 1985+, etc. Because of this it needs to be a number. Is there another way to remove the comma?

    It doesn’t display on the front end, just the details/map area.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    The only way to fix that is to add new type which will be for Year attributes. That can be done customizing the code. Right now there is no solution for that.

    You can contact us for custom development to improve that option.
    We will also add that idea to our roadmap for future releases.

    Regards.

    Thread Starter InventiveWebDesign

    (@inventivewebdesign)

    So how much would it cost to develop something like that?

    Plugin Contributor smoot328

    (@smoot328)

    @inventivewebdesign

    All of our custom work is billed hourly. I’d be happy to dive into this customization to get you an estimate. below is my meeting link. grab a time that works best to connect to discuss specifics.

    Meet with Marcus | UDX

    Thread Starter InventiveWebDesign

    (@inventivewebdesign)

    So, I have a question for you. Why does the year show up with no comma on the main listing page: https://www.yourwhiteknight.com/properties/ but with a comma on the individual listing page? https://www.yourwhiteknight.com/properties/comstock-village-183-crown-point/

    Why can’t we use the same process to display the number?

    It seems like it should be a simple PHP command like:

    $a = "1,435";
    
    if(is_numeric($a))
        $a = str_replace(',', '', $a);

    or something simliar.

    Where is the code to display the year?

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    What you see in Property overview is your custom template. Not sure how complex is the task, but if you want that right now to be done that is custom paid service. Otherwise, we will think of that enhancement when some developer will have free time, exempted from our main activity doing custom services, which we are doing for a living.

    Hope for your understanding.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Remove Comma from Number in Attributes’ is closed to new replies.