Blog & Category view

  • lukasz8
    Active member
  • Topic Author
  • Member
  • Member
More
2 weeks 5 days ago - 2 weeks 5 days ago #51654 by lukasz8
Blog & Category view was created by lukasz8
Hi
Just update a J4 to J5.2.2 and also, the Homes template with PHP 8.3.12 works fine but previously I had some changes in the /html files.I found the overwrites but still can't put one additional field to the HTML code
 
When I put the additional "if with correct filed name - dzialka-m2" as above then the page has an error as you can see.
57.128.218.104/cesarz.wielun.pl/sprzedaz...osci/12-sprzedam-dom
When the additional "if doesn't find the filed name or label (I changed it to another name) then the page loads OK also when I duplicate the additional "if" as a second "area" field also page loads without error.
 
Last edit: 2 weeks 5 days ago by lukasz8.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
2 weeks 4 days ago #51655 by milos
Replied by milos on topic Blog & Category view
Hello,

The error says that the argument of the "number_format" function (this is $field->value) must be a floating number (just a number, no text). In your case, it's a string.

Regards,
Milos

Please Log in to join the conversation.

  • lukasz8
    Active member
  • Topic Author
  • Member
  • Member
More
2 weeks 4 days ago - 2 weeks 4 days ago #51656 by lukasz8
Replied by lukasz8 on topic Blog & Category view
ok, but as you can see here 57.128.218.104/cesarz.wielun.pl/sprzedaz-wynajem-nieruchomosci/
the same field is working fine  

ok, I made a correction without a number_format function and it works fine
Last edit: 2 weeks 4 days ago by lukasz8.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
2 weeks 3 days ago #51657 by milos
Replied by milos on topic Blog & Category view
Hello,

The page from your first post is now working, so I guess you figured it out.

Regards,
Milos

Please Log in to join the conversation.

Time to create page: 0.210 seconds
Powered by Kunena Forum