Skip to content

A Symphony extension that allows a developer to quickly create Sections from JSON

Notifications You must be signed in to change notification settings

TwistedInteractive/scaffolds

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaffolds

Scaffolds allows you to quickly create Sections from a file. Section definitions can be exported and then imported into other Symphony installations using JSON. Definitions can be saved and reused on other Symphony projects to save you time recreating those common sections.

Installation

  1. Upload the 'scaffolds' folder (or checkout from git) to your Symphony 'extensions' folder.
  2. Enable it by selecting the "Scaffolds" on the Extensions page and choose Enable/Install from the with-selected menu, then click Apply.
  3. You when creating, or editing, Sections, you will now be able to Import a definition. When a Section has been saved, you will also be able to Export it for reuse

For further information, please refer to the wiki.

Notes

  • This extension makes use of the FileReader API to parse the files without actually uploading them a destination. At the time of release, this is supported by Firefox 3.6+, Chrome 7+ and IE10+. A Safari nightly also has support for the FileReader API. Check the latest support at caniuse.com
  • The only valid file that can be parsed at the moment is JSON, with the file extension of .json.
  • Checkbox values accept 'yes' and 'no' for 'checked' or 'unchecked', just like Symphony.

Credits

Thanks to @czheng for the initial idea, at least for the name, some many moons ago.

About

A Symphony extension that allows a developer to quickly create Sections from JSON

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.6%
  • PHP 26.4%