English Español Deutsch Italiano Polski Nederlands Português Français 中文 日本語 हिन्दी اللغة العربية Русский Українська עִברִית Ελληνικά Türk Latvietis
Log In
English

Log In

 

Customize Database Record using HTML template

Using Record templates is the really powerful way to customize database record HTML. You can insert any CSS or HTML to create just any page you need

The main idea - using HTML templates you can change the page of the database record widget. It will be easier to use the record page by your website users.

You can use this feature for every project. Modify the standard database record widget as you need.

HTML templates

First you need to enable Redirect to record widget page.

You can do this in the Form widget page, Settings tab:

To start using templates go to the Table widget menu and open Record tab.

Click on 'Create record template' and create your own template in WYSIWYG editor. 

 

To get your record values from database click on How to insert record data link and use HTML field names, which you can get from the dropdown below.

You can  also edit the template on the HTML code level.

To do this, click on the Source button in the editor.

If need to save Record Widget to PDF: 

- Click on the Print icon:

- Choose "Save as PDF" from Destination dropdown list and click on "Save" button:

Url-image in Record Widget

Using URL field type, you can notice that "If URL points to image, show it in table" option is enabled by default:

In the Records menu and in the Table Widget, the image will be displayed. But in the Record Widget it will be url only:

To display the image you need to:

1. Open Record's widget templatet editor and open the Source in the toolbar.

2. Find the Url field and add the img src tag before the html field name, as it shown in the screenshot below:

Result:

Watch the video at the article beginning to see an example of using HTML template.

We hope this functionality will help in the development of your online business.

Link to Record Widget

Using Formula field you can create a link to your Record Widget.

Also, you can select the record template. This way you can create the several formula fields, by click on each the different record template will be applied to the record view.

Read more about "Link to Record View" option by this link.


Please, login to QuintaDB to be able to post comments

advantistravel

Hi, can I change the widget template directly from the record view online? E.g. if I have 2 templates in one database / record – with different look and fields – can I switch between them directly from the record online view? Or have to go to my account and switch the template there first? Other way round – is it possible to have a database which is a mirror of another one – so as to use it for another record widget template view?

Thanks a lot for your help

Ivan Peltekov


Igor Petrushenko

Hi,

one record template can be set for table or report.
And it can be set only on Record menu in Widgets section.

You can set different templates for different reports. I think Reports is what you looking for. On the Reports page there is a way to create Report from all table records – it’ll be mirror you asking for.

Share the discussion in the social networks: