A1 Website Design

Ecommerce Brochure SEO Website Designers

Tell: 01457873877
Email: sales@a1websites.co.uk

One of the little known features of CMS Made Simple is the User Defined tag. Basically, this allows you to write PHP code inside the Admin Panel. Use the 'Add User Defined Tag' button in Extension » User Defined Tags in the Admin Panel, write some code, and then insert into a template or page with {newpluginname}. Simple!

As an example, I've put together a one line plugin/tag that will show your current User Agent information (which browser you're using). The output is right here: CCBot/1.0 (+http://www.commoncrawl.org/bot.html).

If you're not looking at the source, all that is in the page is {user_agent}. To see how this code works, edit the user_agent tag in the Extensions » User Defined Tags page of the admin.

This is a VERY powerful feature if used right. Remember, user defined tags do not get cached, therefore, scripts to rotate ad banners and such will work just fine. Note also that tag code has to be written without opening < ? php and ending ? > tags.

Free website hosting

one year on small websites
Contact us for details



Get your free quote

Get your free quote

A two page website design to give you a foot hold on the internet can be expanded later if you wish. click to see more

Five page website design to give small businesses an internet presence can be expanded later. click to see more
Seven page website design small businesses can have more effective content on the internet. click to see more
Ten page website design get the most from your investment more customers more profit. click to see more
Full service ecommerce website design and online store development fully admin controlled click to see more
SEO website design search engine optimisation we get you to the highest it can be in google. click to see more
Bespoke website design all our websites are bespoke but some clients need different solutions. click to see more