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.
Read how to insert an image into the record widget page here.
To start using templates go to the Record menu in the Widgets section.
On this page you can select the view of a single database record:
- Or your own HTML template
Click on 'Create record template' button at the top right and create your own template in WYSIWYG editor.
To get your record value, use a format |Column Name|. It's space and case sensitive!
We have a database with URL and Photo columns. In our project we use HTML template to customize the record widget page. We need to insert an image and url link.
To insert the image or url link into the record widget page you need to change the HTML code. Find a HTML link at the bottom of the window and click on it.
In the popup window you need to change a html code for a photo field and for a URL field. See the screenshot below:
<td><img src="|photo|" alt="Kiev, Ukraine" width="100" height="100" /></td>
We'll be happy if this feature will help you with your online bussines.