Articles with more help about "CONTENT"


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
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
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
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
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
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
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 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
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, News and other modules in CMS Made Simple.
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
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
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
GeSHi - Generic Syntax HighlighterGeSHi - Generic Syntax Highlighter
Add the Generic Syntax Highlighter (GeSHi) to the frontend of your website.
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
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
Hide forms for certain IP addressesHide forms for certain IP addresses
Hide website forms for certain IP addresses (partial banning)
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