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
36 stars 11 forks source link

Ordering field not displaying content in list in frontend #27

Closed swennomaak closed 2 years ago

swennomaak commented 2 years ago

While the Ordering Field is working well and can be viewed in detail pages and can be edit in edit pages in the frontend, it's content is not visible in a list view. It will be helpful if that is repaired. Table header is there but an 'empty' column under it.

And on some pages I see this message: "Catalog View: Table not selected." The table is there of course but not it's name.

Desktop (please complete the following information):

I really like Custom Tables!

joomlaboat commented 2 years ago

Can I see list of fields? Is it possible that you have many languages installed and field title not translated to that language?

swennomaak commented 2 years ago

No, we work only with one language. I sent you a list of fields with email

joomlaboat commented 2 years ago

Please try to update the Custom Tables, I saw this issue a while ago and fixed it. I checked it once again - works. Field title must be set.

swennomaak commented 2 years ago

I have been experimenting and the content of the ordering field will be visible in the list when I replace {{ volgorde }} with {{ volgorde.value }}

joomlaboat commented 2 years ago

Can you post a screen-shot here? I didn't received an email. What type "volgorde" field?

What version of Custom Tables do you have?

swennomaak commented 2 years ago

Hi Ivan Volgorde is the name of the Ordering field type. My problem was that the value stored in the records were not displayed when they are in Detail or Edit layouts,. But when I replaced {{ Volgorde }} in the layouts with {{ Volgorde.value }} it works. So my problem is actually solved. The only is that {{ Volgorde }} is generated automatically. So i have to be aware to change it.

joomlaboat commented 2 years ago

Hello Swennomaak,

The issue is fixed.

{{ orderingfield }} returns an icon that allows to drag and drop rows to sort them easily. This feature is available in Simple Catalog, Catalog Page and Catalog Item layouts. If you use {{ orderingfield }} field tag on Details Page layout then numerical value will be returned.

{{ orderingfield.value }} returns numerical value.

Please update to 2.8.8 version to see the changes.

https://github.com/joomlaboat/custom-tables/wiki/15.-Change-Log

It may require to clean temporary internet files (or CTRL+F5) because "catalog.js" file has been changed.