• Home
    • Things To Do
      • Casino Gaming
      • Area Attractions
      • Outdoor Activities
      • Culture/Heritage
      • Shopping
      • Events
      • Entertainment
      • Family Fun
    • Places to Stay
      • Tent Camping
      • RV Parks & Campgrounds
      • Bed and Breakfasts
      • Guest/Dude Ranches
      • Motels
      • Hotels
      • Lodges & Inns
      • House & Cabin Rentals
      • Resorts
      • Conference Centers & Retreats
      • Group & Reunion Facilities
      • Wedding & Banquet Facilities
    • Restaurants
      • Coffee Shops
      • Bakery
      • Deli/Sandwiches
      • Cafe & Bistro
      • Family Style Dining
      • Fast Food
      • Fine Dining
      • Steakhouse
      • Wine, Pubs & Breweries
      • Ethnic Cuisine
    • Living Here
      • Our Communities
      • Real Estate Information
      • Business Directory
      • Chambers of Commerce
      • County Governments
      • Our Schools
      • Our History
      • Quick Facts
      • Driving Directions & Maps
    • Visitor Info
      • Visitor Guides
      • Video & Photo Tour
      • Specials & Coupons
      • Calendar of Events
      • Maps & Directions
      • Request A Visitors Guide
      • eNewsletter Signup
      • Current Weather
      • Area Webcams
      • Contact Visitors Bureau

Visitor Guides

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: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com).

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.

LIVING HERE

    • Visitor Guides
    • Video & Photo Tour
    • Specials & Coupons
    • Calendar of Events
    • Maps & Directions
    • Request A Visitors Guide
    • eNewsletter Signup
    • Current Weather
    • Area Webcams
    • Contact Visitors Bureau

Upcoming Events

Share with Others

Be a fan on Facebook
RSS Feed
Follow us on Twitter

eNewsletter Sign-Up



Get In Touch

Name*
Phone Contact
Email Address*
Questions/Comments

Copyright 2011 Design by Online Marketing Services, Inc, member of Teller County Vacation Visitors Bureau