Articles with more help about "DEVELOPMENT"


How to use SitemapMgrHow to use SitemapMgr
SitemapMgr creates page and module sitemap, robots.txt and humans.txt files.
Ready to use sitemaps for several modules like News, CGBlog and Products are included!
Read more
Share data between websites: the cache_remote_file tagShare data between websites: the cache_remote_file tag
This plugin tag reads content from the source website and caches it for a adjustable time. When that time has elapsed, it checks if the source content is available. If so...
Read more
Setting up SSL in CMS Made SimpleSetting up SSL in CMS Made Simple
Let's Encrypt SSL provides free SSL certificates, when your host provides popular control panels like cPanel or Plesk the installation for CMS Made Simple™ is very easy.
Read more
Smarty Templating BasicsSmarty Templating Basics
In this tutorial you get an oversight of the most useful Smarty templating codes, including practical examples.
Read more
Breadcrumbs for the CGBlog and News moduleBreadcrumbs for the CGBlog and News module
At www.welovecmsms.com I wanted a breadcrumbs trail as a navigational aid for the visitors.
Read more
Additional Front End Users module featuresAdditional Front End Users module features
A few extra's that help you using the Front End Users module in CMS Made Simple™.
Read more
Front End Users one field login formFront End Users one field login form
To enter a protected area at your website using the FEU module you need a login name and password. Sometimes it is more convenient to have just one field.
Read more
Setting up Front End Users moduleSetting up Front End Users module
A guide helping you to set up the Front End Users module in CMS Made Simple™ to easily protect the content of your pages.
Read more
Use module template output in multiple content blocksUse module template output in multiple content blocks
How to use generated module content at different spots in your page lay-out. Gotta love Smarty.
Read more
Base CMS Made Simple page template with automated metatagsBase CMS Made Simple page template with automated metatags
How to build a CMSMS page template and show the news/blog title as the page title, get the correct canonical value for module detail pages, pass a correct image to social media websites, etc...
Read more
Using non-jQuery AJAX form submission in CMSMSUsing non-jQuery AJAX form submission in CMSMS
A way to submit a form AJAX-style in CMS Made Simple™. A guestblog from the Dutch forum member Guido.
Read more
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
Calguy's RSS Reader templateCalguy's RSS Reader template
In this article I will show you tag examples, you can use building your own CG_RSS_Reader (SimplePie) template.
Read more
CGBlog Admin article list usability improvementsCGBlog Admin article list usability improvements
As a frequent user of the CGBlog module, I sometimes miss the overview of planned blog articles. Using the core module_custom feature you can simply adapt Admin templates to your likings.
Read more
Server Time DifferenceServer Time Difference
Having problems with start and end time settings in a module? A news article is published, but isn't visible at the frontend of the website... You could have problems with the time settings at your website and/or server.
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
The power of Template Inheritance and the CMSMS Design ManagerThe power of Template Inheritance and the CMSMS Design Manager
Template Inheritance is an approach to managing Smarty templates in CMS Made Simple™ that resembles object-oriented programming techniques.
Read more
Force www on all your domains, or not...Force www on all your domains, or not...
A generic piece of code you can drop in all of your root .htaccess files to force "www.", or do the opposite and remove the "www." in the URL no matter what the domain name is.
Read more
Smarty scope examplesSmarty scope examples
CMSMS 1.12 introduces the concept of 'scopes' in Smarty templates. This version of Smarty does not treat each and every variable as a global. This will solve problems with...
Read more
Add a cookie consent feature to CMS Made SimpleAdd a cookie consent feature to CMS Made Simple
When you have advertisements or certain social media code at your website, you might need a cookie consent bar at your website to comply with the EU Cookie Law. In this tutorial I will show you how easy it is to add one to your CMSMS website.
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
CMSMS modules and 'endless scrolling'CMSMS modules and 'endless scrolling'
'Endless scrolling', 'lazy loading', 'endless pages', 'infinite scrolling', is a feature that only downloads extra content when you reach the end of the current content. Perhaps the most famous example is Facebook. You can scroll down your 'wall' and it will (probably) never end.
Read more
How to make a sub folder site appear as the root websiteHow to make a sub folder site appear as the root website
How to have a website in a sub folder but let it appear as the main domain.

To have a more organized root folder at my web server I have my personal website installed in a sub folder. Now I have a better overview over all sub websites.
Read more
Printer-friendly pages without a modulePrinter-friendly pages without a module
There is really no need for a module to create printer-friendly pages at your CMS Made Simple™ website. In this tutorial I will show you how you can do this!
Read more
Additional anti-spam feature in Gbook moduleAdditional anti-spam feature in Gbook module
The Gbook guestbook module for CMS Made Simple™ has a built-in anti-spam feature. It uses the b8 statistical (Bayesian) spam filter. At one of my websites where I use the GBook module I noticed spammers are getting more clever trying to by-pass the filter and it leaves me more work checking ham or spam...
I found a really simple method to hide and show the form. When there is no form, a bot can't fill it in...
Read more
Website style switcherWebsite style switcher
To make a website accessible for visitors with visual impairments I needed a style switcher to change the output of the template. Not only for text and background colors, but also for (layout) images.
Read more
Customizing Admin theme without hacking filesCustomizing Admin theme without hacking files
If you want to make small changes to the default CMSMS Admin theme, you can change the core stylesheet files with the risk of overwriting it when upgrading the CMS. But creating a custom Admin theme might be a bit of an overkill for a few changes... CMS Made Simple™ has a - not very well-known - feature for doing this without any risk!
Read more
Breadcrumbs for the Products moduleBreadcrumbs for the Products module
There isn't one method for adding a breadcrumb trail to the Products module for CMS Made Simple™.
Climbing down the 'hierarchy ladder' to the product, you pass three templates and each template has its own method.
Read more
Group Company Directory items in alphabetical order and add shortcutsGroup Company Directory items in alphabetical order and add shortcuts
The Company Directory module is great to show a survey of companies and contacts at your CMS Made Simple™ website.
With a little adjustment to the summary template you can group the output in alphabetical order and add shortcuts to the entries.
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
Create a progress bar with Smarty and CSSCreate a progress bar with Smarty and CSS
If you want show your visitors i.e. the received money vs. the goal for a charity collection or show the still available tickets to a concert, it is nice to show a progress bar. You can do this with a few lines of Smarty and a bit of CSS.
Read more
Pass a parameter to a global content blockPass a parameter to a global content block
In CMS Made Simple you can pass your own parameter to a global content block.
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
A XML or RSS-feed reader with plain SmartyA XML or RSS-feed reader with plain Smarty
Create your own XML or RSS-feed reader with plain Smarty, there are no external modules or plug-ins needed!
Read more
Risk is probability times impactRisk is probability times impact
"The calculation of risk is probability times impact". This is not just a random quote (to me...) It is the basis of risk management that I used a lot in my daily job as a maintenance engineer.

Now I still use it when I develop my websites, in example for...
Read more
Easy way to combine and minify JavaScript files and codeEasy way to combine and minify JavaScript files and code
Loading separate JavaScript files delays the rendering of a web page. Having a large CMS Made Simple website with multiple JS files, it can have a serious effect on your total page load time.
Combine the files into one JS file - just like the {cms_stylesheet} tag does for stylesheets - is a solution for this. I was looking for a simple method to achieve this, but...
Read more
Honeypot anti-spam feature for formbuilderHoneypot anti-spam feature for formbuilder
In this tutorial I will show you how Velden a honeypot anti-spam feature added to a Form Builder form in CMS Made Simple.
Read more
Using strip tags in templates and stylesheetsUsing strip tags in templates and stylesheets
Strip white space in templates and stylesheets can improve your website in different ways. But what are the best spots to put the strip tags? I always forget it, so will post some examples here to help myself, uhh you :)
Read more
Highlight moderator name in CGFeedback resultsHighlight moderator name in CGFeedback results
As the owner or moderator of a CMS Made Simple website using the CGFeedback module, you often reply to questions asked by visitors. But how to let the visitors see *you* are answering and not another person with your name...?
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
FormBuilder template and stylesheetFormBuilder template and stylesheet
The default form template and stylesheet provided by the excellent FormBuilder module for CMS Made Simple™ is straightforward. Just the very basics are there. In this post I try to give a more extended styled form template.
I hope it will give you a headstart styling the forms at your CMSMS website.
Read more
Direct link to searchresults Products moduleDirect link to searchresults Products module
At my no salt diet website I use the Products module for a Nutrient Database. When you want to know the nutritional values of in example an apple, you type "apple" in the searchbox, hit the submit button and you will get a list of all items containing the word "apple". So far, so good. But what I missed is a direct link to the search resultspage in case people ask me questions about some product. I created a work around to achieve this.
Read more
Formbuilder form in a FancyBox modal viewFormbuilder form in a FancyBox modal view
In this guestblog CMSMS forummember Velden will show you how he implemented an Ajax based 'call-me-back' Form Builder form, that pops up in a FancyBox modal view.
Read more
Website maintenance tipsWebsite maintenance tips
While helping people at the CMS Made Simple forum I have seen a lot of websites and different working methods. I also notice pitfalls and see people having problems that I think could have been prevented...
Read more
Flexible HTML code block in your blogs WYSIWYG editorFlexible HTML code block in your blogs WYSIWYG editor
Sometimes you need to add HTML-code to a blog article, i.e. an iFrame or some code to include a third party (YouTube) movie. Using a WYSIWYG editor this isn't possible, you need to put the code in a Global Content Block and copy the GCB-tag in the text-editor. Having a small website this works fine, but for large websites it is a different story. The down side is you get lots of GCB's associated with different articles, the admin doesn't get clearer of it...
Read more
Multiple pages in one with jQuery tabsMultiple pages in one with jQuery tabs
One page showing several other pages without reloading the page. The CGSimpleSmarty module for CMS Made Simple™ will help you!
Read more
Create your own slider for news articles or imagesCreate your own slider for news articles or images
I will describe the basics of how to create a slider, you can use it yourself in your CMS Made Simple module templates. Think of rotating summary views of the News or CGBlog modules or rotating company logos in the CMSMS Banners module.
Read more
Building an image library in CMS Made SimpleBuilding an image library in CMS Made Simple
At my Pneumatic Tube website I show lots of photos. In order to meet all ownership laws (at least try to) I must find a way to document the source information of the photos at my website. Just a photo album module isn't enough... I needed an Image Library at my website! But there isn't an out-of-the-box CMSMS module for that... I had to think something out myself! And if I say so myself, I have succeeded! :o) I will briefly describe what I used and did.
Read more
Tabbed content using jQueryTabbed content using jQuery
Tabbed content is a great way to have much content on a page (which might be SEO-friendly). I used it for a multilingual solution at my website. I will show you how easy it is to add them to a CMSMS template.
Read more
Smooth page scroll to an anchorSmooth page scroll to an anchor
With jQuery you can easily create nice smooth page scrolls to different content blocks.
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 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
Assign a different header image per pageAssign a different header image per page
A recurring question at the CMS Made Simple forum is how to show a different header image for each website page. In this article I will show some examples how this can be done.
Read more
Add tags to the CGBlog or News moduleAdd tags to the CGBlog or News module
In this tutorial I will show you a simple methode (using Smarty) to add a tagging feature to the CGBlog and News module for CMS Made Simple. In CGBlog you can use categories for tags, but the options are limited.
Read more
Change website lay-out depending on page contentChange website lay-out depending on page content
With this sample template you have three content blocks, the frontend of the website will change depending on the presence of content in these blocks. There is no need for multiple templates.
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
Marking protected pages in your navigationMarking protected pages in your navigation
When using Calguy1000's FrontEndUsers module in CMS Made Simple you can easily protect the content of your pages and hide the buttons in the navigation for visitors who are not logged in.
But when you are logged in, you can't see the difference in the menu between regular and protected page buttons. With a small addition to the menu template you can add that feature.
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
GeSHi - Generic Syntax HighlighterGeSHi - Generic Syntax Highlighter
Add the Generic Syntax Highlighter (GeSHi) to the frontend of your website.
Read more
Multilingual template for CMS Made SimpleMultilingual template for CMS Made Simple
In this article I will try to give a description of my second approach to create a multilingual website with basic CMSMS functions.
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
Test templates without breaking the frontendTest templates without breaking the frontend
You need to do some tests at your website. But you don't want to break the frontend for your visitors. A simple solution using Smarty.
Read more
Sort array modifierSort array modifier
Sorting the output of an array with this simple Smarty modifier.
Read more
Styling formsStyling forms
Styling a website form isn't that hard. A stylesheet example making your life much easier.
Read more

A2 Webhosting CMS Made Simple

A2 Webhosting CMS Made Simple