Ad Space

1.8.1

News



It's here!! Get your book today!

This great book from Packt Publishing is the key to getting up to speed in creating your own CMSMS site. Being one of the reviewers in the book, I can personal attest to its ability to take the greenest person and getting them up and running. Get your book today.

Want to read my review on this? Click here to see what I wrote.

 

Keep it Going

 If you find something here that you think was helpful, please donate to the support of this site.
Cheers
Jeremy Bass

 

http://twitter.com/statuses/user_timeline/jeremyBass26.xml?count=10&page=1

--jeremyBass26

Twitter Me This

Can't wait to get to Amsterdam and do my http://lnkd.in/byDJvp http://lnkd.in/rU225_
Friday, 27 August 2010 @ 12:56

Home-http://www.steelheadderby.com/-test of the site, not a bad competition to get in on. use my real url UDT, GetURL() is 'broken' #CMSMS
Monday, 23 August 2010 @ 09:27

Will be off to do a workshop in Amsterdam for #CMSMS #GeekMoot http://bit.ly/cUAvnW will be fun share my #jQuery n #CMSMS tricks, cy there
Tuesday, 10 August 2010 @ 11:02

k, dorky but go2 http://bit.ly/8eY1i click one of the Translate items @ the bottom and move page2page :D it's the simple things, lov #jQuery
Tuesday, 10 August 2010 @ 09:28

Don't forget 2 nominate #CMSMS for the Packt Publishing Open Source Awards http://bit.ly/9EsprT Best cms I've worked with +1 vote for me :D
Tuesday, 10 August 2010 @ 08:07

Pre-review Documentum 6.5 Content Management Foundations: Pre-review Documentum 6.5 Content Management Foundat... http://bit.ly/aRMz9d
Friday, 30 July 2010 @ 11:30

Announcement: New plug-in browsertools: Hello, thou this is not a "new" plug-in http://dev.cmsmadesimple.org/p... http://bit.ly/c0H27Y
Thursday, 22 July 2010 @ 15:37

Fallow Me -- 44 followers


 
Questions Answered
Articles Written
Overall Points

User Defined Tags

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.

Previous page: Tags in the core  Next page: Billing 

Ad Space