skinning
play

Skinning Tips, Tricks, Hacks & How Tos Lee Wise / Front End - PowerPoint PPT Presentation

Skinning Tips, Tricks, Hacks & How Tos Lee Wise / Front End Developer @theleewise Don t forget to include #DNNCon in your tweets! @DNNCon 10 Pound Gorilla Team Everything DNN Everything Else Skins Internet Marketing


  1. Skinning Tips, Tricks, Hacks & How Tos Lee Wise / Front End Developer @theleewise Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  2. 10 Pound Gorilla Team Everything DNN Everything Else • Skins • Internet Marketing • Modules • Web Development • Development • Graphic Design • Consulting • SEO • Social Media Marketing • Adwords • Online Marketing • Email Marketing Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  3. My Goal “ That ’ s really “ No Duh ” stinkin ’ cool! ” Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  4. Configure Viewport Using the meta tag we can set your page to to be displayed properly on mobile devices instead of just be a zoomed out version of your desktop design. By utilizing DNN's "Meta" skin object we can do this right in the skin. Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  5. Include Files You can insert the content of one file into another #include directive. Use this to create functions, headers, footers, or elements that will be reused on multiple pages Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  6. Client Resource Management This is a skin object that allows you to include JavaScript and CSS files in the head of the document. A great way to utilize this is with Google fonts. Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  7. Desktop & Mobile Menus Output duplicate menus for different viewport sizes. Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  8. Multiple Menus By utilizing the available attributes "ExcludeNodes" & "IncludeNodes" you can create several different menus. The most common use of this is with the two sets of navigation usually at the top of the page and one being the more prominent and important and the other being a smaller, secondary set of menu items. Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  9. Multiple Menus (Example) Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  10. Conditional Content In the skin, content can be set to show or hide based on a condition such as user being logged in or has a specific role. This would free you from having to create panes and using modules with these permission restrictions. Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  11. Conditional Content (Example) Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  12. Dynamic Attributes Setting some dynamic and conditional data as CSS classes or HTML data attributes allows you to make style and layout changes simple in CSS. Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  13. Dynamic Attributes (Example) Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  14. Dynamic Attributes (Code) Output Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  15. DNN Properties In JavaScript You can add various properties of the site, page, and user to a JavaScript object for client side access to such information like the current page id or the roles of the current user. Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  16. DNN Properties In JavaScript (Code) dnnVars.page.name would output something like: “ My Awesome Page ” Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  17. Resources • http://www.10poundgorilla.com/DNN/Skinning-Tool • https://github.com/10-Pound-Gorilla/DNNCON-15-Skin-Tricks • http://boomerangdns.com/Computers/Specifications/DNNDotNetNukeStuff/ DotNetNukeModuleTokens.aspx Don ’ t forget to include #DNNCon in your tweets! @DNNCon

  18. THANKS TO ALL OF OUR GENEROUS SPONSORS! Don ’ t forget to include #DNNCon in your tweets! @DNNCon

Recommend


More recommend