Articles with more help about "UDT"


Use a UDT for content stylingUse a UDT for content styling
Using PHP-code for styling a content page or blog article is probably not the first thing that comes in mind. But because of the easy way to name and call the UDT, and the flexibility of its content it is very useful!!
Read more
Easy way to use Font Awesome in CMS Made SimpleEasy way to use Font Awesome in CMS Made Simple
In WYSIWYG editors Font Awesome code can be difficult to add, and when have multiple icons in templates it might be a bit confusing... Solution: a simple UDT!
Read more
Admin (failed) login notificationAdmin (failed) login notification
You want to have more control over your Admin panel? Who is entering it and when are people failing to login...
Read more
Convert a string to availability imagesConvert a string to availability images
A simple and easy to use availability feature for CMS Made Simple™. A User Defined Tag (UDT) converts a comma seperated string of 0's and 1's into a list of images.
Read more
A floating box with an Admin edit linkA floating box with an Admin edit link
A User Defined Tag (UDT) to show an edit page button in the front end of your website if you are logged in to the Admin area and have the permission to access that page.
Read more
Simple listSimple list
A User Defined Tag (UDT) in CMS Made Simple™ to convert a plain text content block value into an array of lines.
Read more
UDT that outputs the current seasonUDT that outputs the current season
At our community website I made a header with a changing photo of our village and the surrounding area. I made four folders with photos, one for each season. With a User Defined Tag I read the date and determine what season it is and set it in a Smarty string. With that I change the output of the photo gallery path.
Read more
content_type UDT for use in CMSMS 1.12.x and 2.xcontent_type UDT for use in CMSMS 1.12.x and 2.x
In several of my tips and tricks articles I use the content_type UDT to change the content type of the page. In the 2.x release of CMS Made Simple this method is changed and won't work anymore...
Read more
Smartphone call me linkSmartphone call me link
A small User Defined Tag that can be used to create clickable call-me links of telephone numbers when the website is opened in a mobile web browser. After clicking the link it first opens a pop-up box asking for confirmation, to prevent accidental phone calls.
Read more
Maintain a list of release versions of your CMSMS sitesMaintain a list of release versions of your CMSMS sites
A small plugin to maintain a list of release versions for the CMS Made Simple™ websites you manage.
Read more
Mousetrap for template errorsMousetrap for template errors
Sometimes difficult problems have simple solutions. I noticed in the adminlog of one of my CMS Made Simple™ websites some template errors have occurred, but I didn't know where exactly... Well, just browse the pages and search for the broken page you would say. But this is easier said then done, it is a huge website with let alone over 2000 blog articles. No way I could solve it this way. I created a...
Read more
Call a Smarty tag from a UDTCall a Smarty tag from a UDT
For my pneumatic tube website I am using the Products module for CMS Made Simple as an image library. The module is great for this purpose, I can add images and can store additional information in custom fields. But for adding a single image to a page I needed a large moduletag with parameters. If at some point I want to change something here I need to change all tags in the pages...
I searched and found a methode to make this easier for me...
Read more
Create a RSS feed without a moduleCreate a RSS feed without a module
I will show you an example RSS feed in combination with the CGBlog module for CMS Made Simple. You can also use it for several other modules, like News, CGCalendar, etc. You need to change the Smarty tags in the feed template matching with the module used.
Read more
Create dynamic sitemap, humans.txt and robots.txt filesCreate dynamic sitemap, humans.txt and robots.txt files
To help search engines like Bing and Google index your website you can use sitemaps and a robots.txt file. A module like SiteMapMadeSimple is a great solution to create your static sitemap. A disadvantage of the module is that after each content change the sitemap file is recreated. For very large websites it can take a while... I had that problem at one of my own websites. A few hunderd pages, a few thousand...
Read more
Set, read and debug cookiesSet, read and debug cookies
A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is usually a small piece of data sent from a website and stored in a user's web browser while a user is browsing a website. You can use cookies to store user settings for i.e. website styling, language preferences, etc.
I will show you how to set, read and debug cookies at your CMS Made Simple website.
Read more
Send Email Notification on Page ChangeSend Email Notification on Page Change
This is a User Defined Tag / Event combination that sends an email when a page is changed.
Read more
Show a list of the recently updated pagesShow a list of the recently updated pages
Outputs a list of recently updated pages.
This code is forked from the CMS Made Simple {recently_updated} plugin. At the existing CMSMS plugin it isn't possible to change the lay-out of the output. I needed it for my website though, so I created this UDT which gave me more flexibility.
Read more
Admin Login Info MailerAdmin Login Info Mailer
A simple mailing script based on the existing CMSMS mailer module, to send the newly added admin user's login info to his/her e-mail.
Read more
Count days, is this page recent?Count days, is this page recent?
With this User Defined Tag you can calculate the age of a content page and use it in your page/template to show a notice or style some text.
Read more
Hide forms for certain IP addressesHide forms for certain IP addresses
Hide website forms for certain IP addresses (partial banning)
Read more
Make a link to a fileMake a link to a file
User Defined Tag to create a link to open a file, followed by the filesize.
Read more
Get a page's root parent's hierarchy-positionGet a page's root parent's hierarchy-position
This User Defined Tag gets the hierarchy-position of a pages very top parent.
Read more
Get a page's root parent's aliasGet a page's root parent's alias
This User Defined Tag gets the alias of a pages very top parent.
Read more
Count itemsCount items
Small User Defined Tag that count items in an array, useful for several modules like News, CGBlog, Products, etc.
Read more
List of imagesList of images
An example UDT which reads the images in a folder and shows it in a unordered list. With JQuery, Fancybox and some styling you can use it to create a simple photogalery.
Read more
Table of contentsTable of contents
Generate a table of contents for your pages based on the heading tags. It requires, depending on how you want to use it, IDs or anchors in your page.
Read more
Add a class to all page(groups)Add a class to all page(groups)
You can use this small tag to get yourself a class name for the current page. This is very useful when you want to apply particular CSS style only to a certain page, or a subset of pages.
Read more

A2 Webhosting CMS Made Simple

A2 Webhosting CMS Made Simple