-
-
-
- User interface versions
- Building blocks for user interface design
- Adding styles with a css
- Surrounding page
- Changing snippets
- Creating a custom login page (pre 3.4)
- Creating a custom login page
- Using velocity templates within the blueprint
- Create your own web pages
- HTML delivery requirements
- How to customize system mails
-
-
- Introduction to security
- Secure development
- Security certification
- Field properties concerning security
- Developing user groups securely
- Security considerations for user interface
- Secure file organization
- Securely using the request
- Cross Site Scripting (XSS)
- Other options concerning secure development
- Security analysis
- Secure deployment
- Secure application management
- Scrambling of testdata
- Anonymization of personal data
- Using robots.txt
- Permission settings
- Security measures
- Data encryption
-
- Search Engine Optimization
- OTP
- User Interface migration guide
- User account management
- Instructies voor implementatie van visueel editen van nieuwsbrieven
- Login as another user
- Support
- More information about moving to User Interface Version 4.0
- Standaard page layout
- Sections moved to layout
- Aanpassingen in release 2024-7
- Media library
- Aanpassingen in release 2024-10
- Analytics and Matomo
- Registration forms
- How to change names of classes and fields?
- Responsible Disclosure Policy
- How to upload a blob in Velocity?
- Aanpassingen in release 2024-2
- Instances
- Google Analytics
- Street and City helper (postcodecheck)
- Responsible disclosure-beleid
- Postcode check service (straat en huisnummer) kosten
- Expressions
- Regular Expression Reference
-
Create your own web pages
If you want to create dynamic behaviour you can create a webpage. This combines Velocity code that uses data defined in the Blueprint and webcode such as HTML and CSS. The following Velocity code is used to create an styled overview of the products in the database.
- get table 'products' with: $session.
getTable('product') - loop through the 'product' with
#foreach($product in $products) - within the loop use the .get function to collect the product field values
Some html elements are used to style the overview such as <div>,<h2> and <p>. The img src tag is used to write the images of the class to the screen. The css tags used for additional layout are placed between de <style> tags and the<div class="layout"> tag creates the connection to the style sheet. See first example below
<style>
.layout{
background-color: #ffffcc;
text-align: center;
}
</style>
#set($products = $session.getTable('product'))
<center><h2> Our products </h2></center>
#foreach($product in $products)
<div class="layout">
<h3>$product.get('name')</h3>
#set($productImage = $product.getBlobUrl('image'))
<img src="$productImage" alt="">
<p>
#set($productPrice = $product.get('price'))
€ $productPrice.format('en')
</p>
<p>
$product.get('description')
</p>
<a href="/form/form2.vm?product=$product.getSingleKeyValue()">
Get more information
</a>
</div>
#end
The next example has additional css style elements: padding, font-family and font-size. The CSS padding properties are used to generate space around an element's content, inside of any defined borders.
<style>
.layout{
background-color: #ffffcc;
text-align: center;
padding: 15px;
font-family: verdana;
font-size: 20px;
}
</style>
#set($products = $session.getTable('product'))
<center><h2> Our products </h2></center>
#foreach($product in $products)
<div class="layout">
<h3>$product.get('name')</h3>
#set($productImage = $product.getBlobUrl('image'))
<img src="$productImage" alt="">
<p>
#set($productPrice = $product.get('price'))
€ $productPrice.format('en')
</p>
<p>
$product.get('description')
</p>
<a href="/form/form2.vm?product=$product.getSingleKeyValue()">
Get more information
</a>
</div>
#end