Custom itemtype field plugins for Pages-and-Items
In the default destributions of Pages-and-Items are 15 fieldtypes integrated. If you need more, this is the place to be. On this page are custom-itemtype-field-plugins for component Pages-and-Items. They all install using the Joomla mambot/plugin installer. After install, go to your custom-itemtype-configuration and you will see the new field-type in the select-list.
It is easy making your own field-types. Feel free to download them and check the code (is simple!).Joomfish
To translate custom-item-types created with Pages-and-Items you have to install additional plugins created by Michael Struller.gecko.struller.de
code
Displays any code without processing it.(if you want to process code, use the PHP-field-type which is intergrated in the Pages-and-Items core).
![]()
lees verder
Read more link
Displays a custom read more link.
You can configure the text on the link, the class and if the item's-alias and category-alias should be included in the url (last 2 options not for Joomla 1.0.x).
Read more url
Displays the 'read more'-url.
![]()
It simply generates a read-more-url which you can then position in your custom-itemtype-template in any link-tag. So you can use the url to make read-more-links on images and/or text. example:
<a href="/{field_readmoreurl_27}"><img src="/images/readmore.gif" alt="read more" /></a>
You can configure if the item's-alias and category-alias should be included in the url (not for Joomla 1.0.x).
Item hits (depricated)
Displays the number of hits.
The hits-field is now included in the Pages-and-items core. You can find it on the custom-itemtype-config-page in the select 'insert other code' below the template-textarea's. The code to use in the template editor is 11.
Depricated, but still interesting study-material if you want to make your own dynamic field-type.
![]()
Developers note:
This fieldtype renders plugin-code into the content, which is then picked up by the Pages-and-Items content-plugin and rendered as defined in function display_dynamic_field(). Yes, this does mean dynamic fields are now possible in Pages-and-Items!