Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
GRILLED CHEESETO PERFECTION                 arnold | inuyaki
MEE & EE:SITTING IN A TREETrevor Davis4.22.2011
4 IMPORTANT PIECES TO EE‣ Custom Fields‣ Channels‣ Templates‣ Tags
OK DEVS, DONT KILL ME...
EE SORTA HAS MVC PROPERTIES‣ Models == Custom Fields & Channels‣ Views == Templates‣ Controllers == Templates
CUSTOM FIELDS
CUSTOM FIELDS‣ Part of a field group
MANY FIELDTYPES‣ Checkboxes      ‣ Date‣ File            ‣ Relationship‣ Multi-select    ‣ Text input‣ Select          ‣ T...
CHANNELS
CHANNELS‣ Think of them as content types  ‣ Ex: News, Events, Athletes, etc.‣ Contains field group with custom fields‣ Categ...
TEMPLATES
TEMPLATES‣ What actually gets rendered‣ Template groups  ‣ /template_group/template  ‣ /blog/index‣ Saved as files
TEMPLATE MANAGER
URL SEGMENTS
BEST THING EVER /blog/article-name/some/nonsense segment_1 == blog segment_2 == article-name segment_3 == some segment_4 =...
CONTROLLER-LIKE TEMPLATES{if segment_2 == }  //Render something{if:elseif segment_2 == category}  //Render a different thi...
EMBEDDED TEMPLATES
‘PARTIALS’ ‣ Repeatable pieces of content or functionality ‣ Pass parameters ‣ Function-like
EMBED CODE{embed="template_group/template"}{embed="template_group/template"  channel="work"}{embed:channel}
TAGS
CHANNEL ENTRIES TAG{exp:channel:entries}  ...{/exp:channel:entries}
PARAMETERS‣ channel‣ category‣ orderby‣ year‣ limit‣ many more...
WITH PARAMETERS{exp:channel:entries  channel="work"  orderby="title"  limit="3"}  ...{/exp:channel:entries}
VARIABLES
SINGLE VARIABLES‣ author‣ entry_date‣ title‣ url_title‣ many more...
WITH SINGLE VARIABLES{exp:channel:entries channel="work"}  <h2>{title}</h2>  {general_body}{/exp:channel:entries}
WITH VARIABLE PAIRS{exp:channel:entries  channel="work" limit="1"}  {categories backspace="2"}    {category_name},  {/cate...
ADD-ONS
ADD-ON TYPES‣ Fieldtypes‣ Plugins‣ Extensions‣ Modules‣ Accessories
PLUGINS{exp:ce_img:pair src="{image}"  max_width="200"}  <img src="{made}" alt=""width="{width}" height="{height}" />{/exp...
EXTENSIONS
MODULES{exp:freeform:form required="name"}  <p>Name: <input type="text"name="name" /></p>  <p>Email: <input type="text"nam...
ACCESSORIES
THE BEST PART...
EE PUNS THAT MAKE BLAIR CRINGE‣ Hon-ee Pot Captcha‣ Repeet‣ Freebie‣ Shortee‣ CSVee‣ MD Dulee Noted
HAVE A HAPPEE DAY!
Mee & EE: Sitting In A Tree
Mee & EE: Sitting In A Tree
Mee & EE: Sitting In A Tree
Mee & EE: Sitting In A Tree
Upcoming SlideShare
Loading in …5
×

Mee & EE: Sitting In A Tree

3,548 views

Published on

ExpressionEngine intro given internally.

Published in: Design, Technology, Business
  • Be the first to comment

Mee & EE: Sitting In A Tree

  1. 1. GRILLED CHEESETO PERFECTION arnold | inuyaki
  2. 2. MEE & EE:SITTING IN A TREETrevor Davis4.22.2011
  3. 3. 4 IMPORTANT PIECES TO EE‣ Custom Fields‣ Channels‣ Templates‣ Tags
  4. 4. OK DEVS, DONT KILL ME...
  5. 5. EE SORTA HAS MVC PROPERTIES‣ Models == Custom Fields & Channels‣ Views == Templates‣ Controllers == Templates
  6. 6. CUSTOM FIELDS
  7. 7. CUSTOM FIELDS‣ Part of a field group
  8. 8. MANY FIELDTYPES‣ Checkboxes ‣ Date‣ File ‣ Relationship‣ Multi-select ‣ Text input‣ Select ‣ Textarea‣ Radio buttons ‣ Create your own
  9. 9. CHANNELS
  10. 10. CHANNELS‣ Think of them as content types ‣ Ex: News, Events, Athletes, etc.‣ Contains field group with custom fields‣ Categories
  11. 11. TEMPLATES
  12. 12. TEMPLATES‣ What actually gets rendered‣ Template groups ‣ /template_group/template ‣ /blog/index‣ Saved as files
  13. 13. TEMPLATE MANAGER
  14. 14. URL SEGMENTS
  15. 15. BEST THING EVER /blog/article-name/some/nonsense segment_1 == blog segment_2 == article-name segment_3 == some segment_4 == nonsense
  16. 16. CONTROLLER-LIKE TEMPLATES{if segment_2 == } //Render something{if:elseif segment_2 == category} //Render a different thing{if:else} //Render something else{/if}
  17. 17. EMBEDDED TEMPLATES
  18. 18. ‘PARTIALS’ ‣ Repeatable pieces of content or functionality ‣ Pass parameters ‣ Function-like
  19. 19. EMBED CODE{embed="template_group/template"}{embed="template_group/template" channel="work"}{embed:channel}
  20. 20. TAGS
  21. 21. CHANNEL ENTRIES TAG{exp:channel:entries} ...{/exp:channel:entries}
  22. 22. PARAMETERS‣ channel‣ category‣ orderby‣ year‣ limit‣ many more...
  23. 23. WITH PARAMETERS{exp:channel:entries channel="work" orderby="title" limit="3"} ...{/exp:channel:entries}
  24. 24. VARIABLES
  25. 25. SINGLE VARIABLES‣ author‣ entry_date‣ title‣ url_title‣ many more...
  26. 26. WITH SINGLE VARIABLES{exp:channel:entries channel="work"} <h2>{title}</h2> {general_body}{/exp:channel:entries}
  27. 27. WITH VARIABLE PAIRS{exp:channel:entries channel="work" limit="1"} {categories backspace="2"} {category_name}, {/categories}{/exp:channel:entries}
  28. 28. ADD-ONS
  29. 29. ADD-ON TYPES‣ Fieldtypes‣ Plugins‣ Extensions‣ Modules‣ Accessories
  30. 30. PLUGINS{exp:ce_img:pair src="{image}" max_width="200"} <img src="{made}" alt=""width="{width}" height="{height}" />{/exp:ce_img:pair}
  31. 31. EXTENSIONS
  32. 32. MODULES{exp:freeform:form required="name"} <p>Name: <input type="text"name="name" /></p> <p>Email: <input type="text"name="email" /></p> <p><input type="submit"name="submit" value="Submit" /></p>{/exp:freeform:form}
  33. 33. ACCESSORIES
  34. 34. THE BEST PART...
  35. 35. EE PUNS THAT MAKE BLAIR CRINGE‣ Hon-ee Pot Captcha‣ Repeet‣ Freebie‣ Shortee‣ CSVee‣ MD Dulee Noted
  36. 36. HAVE A HAPPEE DAY!

×