Everything is for free!
Shop is closed.
Due to health issues support is very limited
Shop is closed.
Due to health issues support is very limited
CCK / Custom itemtypes
CCK / Custom Itemtypes
To make a new custom itemtype:
- go to Pages-and-Items configuration (you need to be logged in as a super administrator)
- Click on tab 'itemtypes'
- Click on 'create new custom itemtype'
- Enter the name of the field
- Click 'apply'
- Enter as many fields as you like
- 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. - done
To make a template for the custom itemtype:
- go to Pages-and-Items configuration (you need to be logged in as a super administrator)
- Click on tab 'itemtypes'
- 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. - 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.
- Click 'save'
To make a new item from a custom itemtype
- Go to the (category-blog) page where you want the item to appear.
- Under 'items on this page' select the itemtype
- Click 'new item'
- Fill in the fields
- 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