joomlaboat / custom-tables

The Custom Tables extension allows you to create, manage, and display custom data on your Joomla site. It is helpful if you need to display data that is not part of the standard Joomla content structure. For example, you could use this extension to create a custom table for product information, customer data, or any other type of data that you need to display on your site. The Custom Tables is the CRUD solution for Joomla 3.x and 4.x - CREATE, READ, UPDATE and DELETE. You can add tables, fields, and layouts to create catalogs, forms, or details pages. It has 40 Field Types: Integer (numbers), Decimal, Text String, Time, Email, Color, Image, File, User, Language, etc.
https://joomlaboat.com/custom-tables
GNU General Public License v2.0
35 stars 11 forks source link

Can the value of the Checkbox (Yes/No) field be displayed with an icon in a list? #39

Closed mennoswaak closed 1 year ago

mennoswaak commented 1 year ago

Hi

is there a way to have icons in stead of strings (yes / no) or integer (0 / 1) in a List and maybe also on Detail pages? T.I.A. menno

joomlaboat commented 1 year ago

Hi, try to use the IF statement: {% if fieldname.value == 1 %}{% endif %}

joomlaboat commented 1 year ago

{% if fieldname.value == 1 %} icon or image here {% endif %}

mennoswaak commented 1 year ago

it is working Ivan thanks

mennoswaak commented 1 year ago

I have another question: does Custom Tables work on PHP 8.1 ?

joomlaboat commented 1 year ago

It doesn't work on PHP 8.1 yet. I am working on it.

mennoswaak commented 1 year ago

how long will that take, Ivan, will that be days, weeks or months? Have you any idea?

joomlaboat commented 1 year ago

A day or two, already did, few more tests and done.

joomlaboat commented 1 year ago

PHP 8.1 compatibility is ready. Please update to 2.9.9 version.