HTML Sample

Component ID

1741354

Component name

HTML Sample

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

A Drupal 7 module that gives a user with permission a page [example.com/html-sample] for testing theme renders of elements common in most Drupal sites, including many basic drupal interface freatures (tabs, messages, help) and Form API elements.

    how's it different than others like it:
  • Cleaner theme selector. leaves tab render for demoing tabs itself!
  • breaks apart 'content html' from 'form html' making it easier for people who may not be so 'able to foresee layouts' to see the theme using better use-case output.
  • isn't restricted to '/admin' path (provide new permission)
  • provide demo of all regions with messages, in their true regions. also non-'/admin' path.
    todo's:
  • ..more usefull html
  • ..more usefull form
  • ...load a node sample page tab

just a little reminder: this is for testing/demo-ing themes…just make sure the theme work first!. Not indented for production sites.