Up and running with Textpattern CMS and Materialize

admin-ajax

One of the current trends in website design is the widespread (but not universal) adoption of flat user interfaces. There are, of course, limits to how three-dimensional a flat screen can be, but with the advent of mobile-first architecture the taste for flat UI has become more acceptable and far more commonplace. Front-end CSS frameworks are a great example of how design patterns have evolved in the past 5 years or so. Taking Bootstrap as a well-known example, version 1 of Bootstrap has buttons with gradients and subtle bordering to give the effect of a raised button. The next iteration, version 2, presented buttons with a bit more ‘pop’ and clarity, but still with the gradient approach and borders. Version 3 took a u-turn and the button component was now gradient-less with and almost invisible border. Learn More

Tags: , , , , , , , , , , | Posted under Textpattern | Leave a comment

Add new Form validation handler

Alfresco share user interface is form based. Where each form consist of multiple fields and for all those different type of fields template is defined. Along with templates there are validation handlers and renderers are defined in javascript functions. Now if there is a situation where none of the out of box validator is matching our requirement we might need to define our custom validator. Validation handler is a small JavaScript function that gets called by the forms runtime when a field value needs to be validated.The interface for a validation handler is shown below. Learn More

Tags: , , , , | Posted under Alfresco | Leave a comment