Skip to content

Instantly share code, notes, and snippets.

@dbhurley
Created November 8, 2014 17:04
Show Gist options
  • Save dbhurley/7ef8c5d2c5a501d3f533 to your computer and use it in GitHub Desktop.
Save dbhurley/7ef8c5d2c5a501d3f533 to your computer and use it in GitHub Desktop.
Table Name: #__blurbs
Fields:
ID, primary key, unique, int(11)
state, tinyint(2) // published vs. unpublished
content, text
title, varchar(255)
url, varchar(55)
created/modified - datetimes
createdby/modifiedby - int(11)
hits, int(11)
Model Name: blurb
View Folder: blurbs
Layouts:
default (list of all blurbs)
view.html.php
View Folder: blurb
Layouts:
default (single blurb)
view.html.php
Controller Name: blurb
com_blurb.php
com_blurb.xml
com_blurb.xml
> com_blurb
com_blurb.php
com_blurb.xml
> models
blurb.php
> views
> blurbs
> tmpl
default.php
view.html.php
> blurb
> tmpl
default.php
view.html.php
> controllers
blurb.php
> languages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment