1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

need advise about convert list value

Discussion in 'Community' started by samani, Apr 18, 2020.

  1. samani

    samani Member

    Level: Community
    hi
    i create an individual element from date.
    now i want convert it when it show in the list. where i need to change code?
    you can figure out i want show something other converted value of real value saved in database...i understand that i can use OnLoadData in list plugin but i want standalove work in my custom element. is there any way?
     
  2. bggann

    bggann Member

    Level: Community
    Samani,
    I'm afraid you did not provide enough information. What do you mean by "convert?" What are you converting it to?
    Do you mean that you just want to display the date in a different format?
    For instance, do you want to display the date 2020-04-18 as April-18-2020?
    If that is all, you can control the format in the date element itself. You can set it for lists or forms independently. See the attached screen shot.
    date format.png
     
  3. samani

    samani Member

    Level: Community

Share This Page