chicagoland cfug
play

Chicagoland CFUG 10 April 2013 Steve Withington Director of - PowerPoint PPT Presentation

Chicagoland CFUG 10 April 2013 Steve Withington Director of Education & Events / Application Engineer at Blue River Interactive Group CFML Developer & cf.Objective() Steering Committee Member ...but Im also a Front-End


  1. Chicagoland CFUG 10 April 2013

  2. Steve Withington • Director of Education & Events / Application Engineer at Blue River Interactive Group • CFML Developer & cf.Objective() Steering Committee Member • ...but I’m also a Front-End Developer • Worked at an advertising agency prior to joining Blue River • Started using Mura CMS in 2008 • “Wrote the book” on Mura CMS

  3. What’s Up? • Overview of the latest features of Mura CMS • Learn how Mura can make life easier for both content managers and developers alike

  4. Bootstrap Resources • getbootstrap.com • boottheme.com • jetstrap.com • Bootstrap Magic (pickock.github.com/bootstrap-magic) • bootstrapdesigner.com • bootsnipp.com • bootswatch.com • bootstraphero.com • wrapbootstrap.com • ...and more • bootswatchr.com

  5. {less} • It’s your new best friend (if it’s not already) • Mura can compile .less files for you but... • You can use a desktop tool to do the same thing— Codekit, Simpless, Crunch • You don’t have to know Less to use .less files—you can use plain old CSS in your .less file while you ramp up • Don’t get overwhelmed, bite off small, useful chunks

  6. CfStatic • Compiles .less files • Minifies your CSS and JavaScript files using rules that you configure • Provides a framework for including static files in requests and rendering the include html • https://github.com/DominicWatson/cfstatic/wiki/About-CfStatic

  7. Demo: UI

  8. Simplify The User Interface • Class Extension Manager • SubTypes (Custom Content Types) • Attribute Sets (Think “Fieldsets”) • Custom Attributes (Think “Form Elements”)

  9. Demo: Custom UI

  10. Theme-Based Site Configuration config.xml.cfm <theme> <extensions> <extension type=”Page” subType=”Product”> <attributeset name=”Product Info”> <attribute name=”productDescription” label=”Product Description” hint=”Enter a description.” type=”HTMLEditor” defaultValue=”” required=”false” validation=”” regex=”” message=”” optionList=”” optionLabelList=”” /> <!-- you can create more attributes here --> </attributeset> </extension> </extensions> </theme>

  11. The Mura $cope • A standard, concise syntax for interfacing with Mura objects (and their properties and events) • Available either as “$” or “mura” • In CFML: #$.content(‘title’)# OR #mura.content(‘title’)# • Within Content (via the WYSIWYG Editor) : [mura] $.content(‘menuTitle’) [/mura]

  12. Template Variables • $.siteConfig(‘themeAssetPath’) • $.siteConfig(‘siteID’) • $.content(‘title’) • $.createHref(filename=‘’) • $.dspPrimaryNav() • $.dspBody() • $.dspObjects(1) • $.dspObject(‘component’,‘MyComponent’)

  13. $.content(‘field’) • • • Audience FileID Notes • • • Body Filename ReleaseDate • • • ContentID Title Summary • • • Created HTMLTitle Tags • • • Credits URLTitle Template • • • Display MenuTitle Type • • • DisplayStart KeyPoints SubType • • • DisplayStop LastUpdate Plus custom class extensions! • • FeatureStart LastUpdateBy $.content(‘myField’) • • FeatureStop MetaDesc • • FileExt MetaKeyWords

  14. Other Sub-$copes • $.event() • $.siteConfig() • $.globalConfig() • $.component() • $.currentUser()

  15. Demo: Themes

  16. Support • Mura Books: http://cfml.us/73 • Mura CMS Forum • Paid Support Plans: Short-Term & Annual • In-Person Training • Online Training

  17. More Information • GetMura.com • BlueRiver.com • github.com/blueriver

Recommend


More recommend