Editing
Variable-Length Line Item Edits
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Registering new content templates ==== Use the '''Content Properties CMS''' to define templates for additional content templates. * Create a `site_section` record for the parent content type if it doesn't already exist. * Create a separate `site_section` record representing the line-item as a child of the parent content type. ** Set the "parent", "root directory", and "table name" properties. ** Make sure to store the id of the new `site_section` record in the `SECTION_ID` property of the PHP class. * Add records for any templates used to display or edit the line items to the `content_template` table in the database. ** When editing a `site_section` record, add & edit content templates in the '''Content Templates''' module. ** Click the '''plus sign''' button to define a new template. ** Double-click existing templates to edit them. ** Typically 3 templates are defined: "edit", "view", and "delete". ** The '''path''' is always relative to a `_templates` directory. Usually it will start with either `content\` or `forms\` and '''location''' setting will control determining the remainder of the path when including the templates.
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information