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

chicagoland cfug
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Chicagoland CFUG

10 April 2013

slide-2
SLIDE 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
slide-3
SLIDE 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

slide-4
SLIDE 4
slide-5
SLIDE 5

Bootstrap Resources

  • getbootstrap.com
  • jetstrap.com
  • bootstrapdesigner.com
  • bootswatch.com
  • wrapbootstrap.com
  • bootswatchr.com
  • boottheme.com
  • Bootstrap Magic

(pickock.github.com/bootstrap-magic)

  • bootsnipp.com
  • bootstraphero.com
  • ...and more
slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8
  • 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

{less}

slide-9
SLIDE 9

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
slide-10
SLIDE 10

Demo:

UI

slide-11
SLIDE 11

Simplify The User Interface

  • Class Extension Manager
  • SubTypes

(Custom Content Types)

  • Attribute Sets

(Think “Fieldsets”)

  • Custom Attributes

(Think “Form Elements”)

slide-12
SLIDE 12

Demo:

Custom UI

slide-13
SLIDE 13

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=””

  • ptionList=””
  • ptionLabelList=”” />

<!-- you can create more attributes here --> </attributeset> </extension> </extensions> </theme>

slide-14
SLIDE 14

The Mura $cope

  • A standard, concise syntax for interfacing with Mura
  • bjects (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]

slide-15
SLIDE 15

Template Variables

  • $.siteConfig(‘themeAssetPath’)
  • $.siteConfig(‘siteID’)
  • $.content(‘title’)
  • $.createHref(filename=‘’)
  • $.dspPrimaryNav()
  • $.dspBody()
  • $.dspObjects(1)
  • $.dspObject(‘component’,‘MyComponent’)
slide-16
SLIDE 16

$.content(‘field’)

  • Audience
  • Body
  • ContentID
  • Created
  • Credits
  • Display
  • DisplayStart
  • DisplayStop
  • FeatureStart
  • FeatureStop
  • FileExt
  • FileID
  • Filename
  • Title
  • HTMLTitle
  • URLTitle
  • MenuTitle
  • KeyPoints
  • LastUpdate
  • LastUpdateBy
  • MetaDesc
  • MetaKeyWords
  • Notes
  • ReleaseDate
  • Summary
  • Tags
  • Template
  • Type
  • SubType
  • Plus custom class

extensions!

$.content(‘myField’)

slide-17
SLIDE 17

Other Sub-$copes

  • $.event()
  • $.siteConfig()
  • $.globalConfig()
  • $.component()
  • $.currentUser()
slide-18
SLIDE 18

Demo:

Themes

slide-19
SLIDE 19
slide-20
SLIDE 20

Support

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

More Information

  • GetMura.com
  • BlueRiver.com
  • github.com/blueriver