Cover image for CMS Made Simple Development Cookbook.
CMS Made Simple Development Cookbook.
Title:
CMS Made Simple Development Cookbook.
Author:
Goldstein, Samuel.
ISBN:
9781849514699
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (363 pages)
Contents:
CMS Made Simple Development Cookbook -- Table of Contents -- CMS Made Simple Development Cookbook -- 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 -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Understanding CMS Extensions -- Introduction -- Will a User-Defined Tag solve my problem? -- How to do it... -- How it works... -- See also -- Will a Tag Solve My Problem? -- How to do it... -- How it works... -- See also -- Will a Module solve my problem? -- How to do it... -- How it works... -- See also -- Create a "Hello World" User-Defined Tag -- Getting ready -- How to do it... -- How it works... -- There's more... -- Caching -- See also -- Create a "Hello World" Tag -- Getting ready -- How to do it... -- How it works... -- There's more... -- Caching -- Tag Names and Namespaces -- See also -- Create a "Hello World" Module -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using CMS in Debug Mode -- How to do it... -- How it works... -- See also -- 2. Programming with Smarty and Core Modules -- Introduction -- Using Smarty to create a color set in your stylesheet -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using Smarty to do the math in your stylesheet -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Renaming the "Extra Page Attributes" in the CMS Admin -- Getting ready -- How to do it... -- How it works... -- There's more... -- What else can I rename? -- See also -- Creating a personnel directory using Menu Manage -- Getting ready.

How to do it... -- How it works... -- There's more... -- Using other page attributes -- Why use a naming convention for images? -- See also -- Creating a basic Google Sitemap with Menu Manager and mod_rewrite -- Getting ready -- How to do it... -- How it works... -- There's more... -- The changefreq and priority attributes -- What if my site is not UTF-8? -- See also -- Embedding JavaScript in your template without causing Smarty to throw a fit -- Getting ready -- How to do it... -- How it works... -- An alternative approach -- Using Smarty Variables in your JavaScript -- Using Smarty loops to generate similar stylesheet constructs -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Displaying a block only for the Home page -- Getting ready -- How to do it... -- How it works... -- There's more... -- More complex comparisons -- See also -- Using Smarty "Capture" and conditionals to hide empty content blocks -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Seeing what Smarty variables are available to your template -- Getting ready -- How to do it... -- How it works... -- There's more... -- Risky recursion -- See also -- 3. Getting the Most out of Tags and User-Defined Tags -- Introduction -- Displaying the User's IP address from a User-Defined Tag -- Getting ready -- How to do it... -- How it works... -- See also -- Using the CmsObject and the current content object in a User-Defined Tag -- Getting ready -- How to do it... -- How it works... -- There's more... -- Getting attributes using page_attr -- Old code and the use of globals -- Making a variable available to Smarty -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Displaying the number of pages in the CMS using a User-Defined Tag -- Getting ready -- How to do it...

How it works... -- There's more... -- See also -- Using URL parameters safely in a User-Defined Tag -- Getting ready -- How to do it... -- How it works... -- See also -- Using Smarty values as inputs in a User-Defined Tag -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Displaying stock prices from Yahoo with a User-Defined Tag -- Getting ready -- How to do it... -- How it works... -- There's more... -- Understanding Yahoo's stock quote URL format -- See also -- Displaying a translation of the current page using Babelfish with a User-Defined Tag -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Posting an article to the News Module when the Admin adds a new Group -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Reversing a string in two ways using a Smarty Modifier -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Adding registered trademark symbols to a name automatically -- Getting ready -- How to do it... -- How it works... -- There's more... -- Handling more than just content blocks -- Pre-compile filters -- See also -- 4. Getting Started with Modules -- Introduction -- Creating the file structure for a module -- Getting ready -- How to do it... -- How it works... -- There's more... -- Other files in your module directory -- Directly accessed scripts -- See also -- Creating a new module stub using the Skeleton module -- Getting ready -- How to do it... -- How it works... -- See also -- Creating a new module stub using the ModuleMaker module -- Getting ready -- How to do it... -- How it works... -- See also -- Breaking a module into multiple files -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Making a module localizable -- Getting ready.

How to do it... -- How it works... -- There's more... -- Localization of modules without Subversion -- See also -- Using Smarty variables and templates with a module -- Getting ready -- How to do it... -- How it works... -- There's more... -- this->smarty versus smarty -- See also -- Calling methods on other modules and specifying module dependencies -- Getting ready -- How to do it... -- How it works... -- There's more... -- Dependencies and ModuleManager -- Error checking -- See also -- 5. Using the Database API -- Introduction -- Creating a database table when a module gets installed -- How to do it... -- How it works... -- There's more... -- ADOdb or ADOdb-lite? -- See also -- Creating a database index when creating a table -- How to do it... -- How it works... -- There's more... -- See also -- Making a database query from a module -- How to do it... -- How it works... -- See also -- Creating and using a database sequence -- How to do it... -- How it works... -- There's more... -- Deciding between Sequences and Auto-increment -- See also -- Altering a database table when a module gets upgraded -- How to do it... -- How it works... -- There's more... -- See also -- Cleaning up when a module is uninstalled -- How to do it... -- How it works... -- There's more... -- See also -- 6. Using the Module Form API -- Introduction -- Creating a basic form in a module -- How to do it... -- How it works... -- There's more... -- See also -- Restricting and sanitizing parameters to a module -- How to do it... -- How it works... -- There's more... -- CLEAN_STRING and entity encoding -- See also -- Using debug_display or error_log to see what parameters your module is receiving -- How to do it... -- How it works... -- See also -- Making your module display its output without disrupting the rest of the page -- How to do it... -- How it works... -- There's more...

See also -- Embedding your module output in a different page after a form submission -- How to do it... -- How it works... -- There's more... -- Modules and multi-page forms -- See also -- Creating checkboxes that always submit a value -- How to do it... -- How it works... -- There's more... -- See also -- 7. Your Module and the Community -- Introduction -- Creating an account on the CMS Made Simple Developer's Forge -- Getting ready -- How to do it... -- How it works... -- See also -- Adding your module to the Forge -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating your Subversion Repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- Subversion Documentation -- See also -- Using Subversion while developing your module -- Getting ready -- How to do it... -- How it works... -- There's more... -- More useful Subversion commands -- Viewing and reverting to earlier revisions -- See also -- Publishing a module release -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating your Git repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using Git while developing your module -- Getting ready -- How to do it... -- How it works... -- There's more... -- Handling conflicts in Git -- See also -- Deciding on Git versus Subversion -- How to do it... -- How it works... -- There's more... -- See also -- 8. Creating Useful Admin Panels -- Introduction -- Creating an admin panel for your module -- How to do it... -- How it works... -- There's more... -- See also -- Creating multiple tabs for your admin module -- How to do it... -- How it works... -- There's more... -- See also -- Creating and enforcing new permissions for your module's administration -- How to do it... -- How it works...

There's more...
Abstract:
Over 70 simple but incredibly effective recipes for extending CMS Made Simple with detailed explanations - useful for beginners and experts alike!.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: