Menu Content
Custom Itemtypes

To make a new custom itemtype:

  1. go to Pages-and-Items configuration (you need to be logged in as a super administrator)
  2. Click on tab 'itemtypes'
  3. Click on 'create new custom itemtype'
  4. Enter the name of the field
  5. Click 'apply'
  6. Enter as many fields as you like
  7. Go to the configuration tab 'itemtypes' to publish the new itemtype
    the new itemtype will now be visible in the itemtype-select when creating a new item.
  8. done

To make a template for the custom itemtype:

  1. go to Pages-and-Items configuration (you need to be logged in as a super administrator)
  2. Click on tab 'itemtypes'
  3. Click on the itemtype's name
    There are 3 textfields for templats: one for intro (when item is viewed in category blog layout), one for full-view (when item is viewed as single item on a page) and one with the default template code.
  4. You can either copy-paste the default code into the other template field(s) and work on them there, or enter your own HTML-CSS into the template fields and copy-paste the special template-codes for each of the fields into the HTML.
  5. Click 'save'

To make a new item from a custom itemtype

  1. Go to the (category-blog) page where you want the item to appear.
  2. Under 'items on this page' select the itemtype
  3. Click 'new item'
  4. Fill in the fields
  5. Click 'save'

In the default Pages-and-Items installation these fields are integrated:

  • PHP
  • checkbox
  • editor
  • html
  • image
  • item_author
  • item_creation_date
  • item_modified_date
  • item_publish_date
  • item_title
  • item_version
  • radio
  • select
  • text
  • textarea
 


login

VirtueMart Module

Show Cart
Your Cart is currently empty.

Email Notifications

  • of updates
  • of new extensions
sign up or tick the box in your profile.

Extension for free?

make one of these:
  • translation of Admin-User-Access language files
  • translation of Frontend-User-Access language files
  • new itemtype
  • new custom-itemtype-field-type
and get a free copy of:
  • Frontend-User-Access or
  • Admin-User-Access
please read this and contact me first