SilverStripe 2.4 module extension, themes and widgets beginner's guide : create smashing SilverStripe applications by extending modules, creating themes, and adding widgets /
Create smashing SilverStripe applications by extending modules, creating themes, and adding widgets.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham [UK] :
Packt Pub./Open source,
2011.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- SilverStripe 2.4 Module Extension, Themes, and Widgets; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code for this book; Errata; Piracy; Questions; 1. Principles and Concepts; Why SilverStripe; CMS and framework; Openness and interoperability; Getting your job done; The file structure; assets/; cms/; googlesitemaps/; mysite/; sapphire
- Themes/SilverStripe's ecosystem; The company behind SilverStripe; Documentation; User help; Developer documentation wiki; API documentation; Community; Forum; IRC chat; Development mailing list; Bug tracker; Twitter; Summary; 2. Customizing the Layout; Templates and themes; Switching between themes; Time for action change the default theme; What just happened?; Getting more themes; Template engine; Another template engine?; Taking a look at BlackCandy; CSS; editor.css; layout.css, form.css, and typography.css; ie6.css; Templates; Learning the very basics; Starting to use templates
- Time for action using site title and sloganWhat just happened?; Layout; Includes; Have a go hero using page name, navigation label, and metadata title; Page control overview; More placeholders; Pop quiz placeholders; Casting placeholders; Security; Date formatting; Have a go hero add the time of the creation and when it was edited; Users; Control structures; Handle with care; Embedding and linking files; Comments and base tag; Conditional statements; Control statements; BlackCandy revisited; Creating our own theme; Time for action files and folders for a new theme; Basic layout
- File themes/bar/templates/Page.ssTime for action the base page; What just happened?; File themes/bar/templates/Layout/Page.ss; Time for action the layout page; What just happened?; The includes: BasicInfo.ss, Menu.ss, and Footer.ss; Time for action the includes; Not finding the #*?~^ error?; Adding interactive features; Time for action let users share our page on Facebook and Twitter; What just happened?; Taking care of search engines; Semantic HTML; Meaningful URLs; Broken links; Duplicate content; Meta tags; Validation; Sitemap; Pop quiz say hello to the current user
- Have a go hero create the layout and pagesWhat's next?; Summary; 3. Getting ""Control"" of Your System; Model View Controller (MVC); Why the big fuss?; View: Presenting your content; Model: Managing your data; Controller: Providing your logic; Taking a look at an example; Structure of a Page; Page.php: Your initial start; Convention over configuration revisited; Extending classes is key; Coding conventions; Have a go hero creating our own page; Using the Controller; Path constants; The default page class; Setting up CSS; Including CSS files; Time for action adding a print style