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).

compatible with Joomla 2.5 compatible with Joomla 1.7 compatible with Joomla 1.6.x

  • fieldtype_code_v2.1.0.zip
    This plugin needs to be installed with the Pages-and-Items extension installer
    (Pages-and-Items > 'managers' > 'extensions install')

compat_15_native.png

compat_10.png

 

read more
   

Read more link

Displays a custom read more link.

compatible with Joomla 2.5 compatible with Joomla 1.7 compatible with Joomla 1.6.x

compat_15_native.png

compat_10.png

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.

compatible with Joomla 2.5 compatible with Joomla 1.7 compatible with Joomla 1.6.x

compat_15_native.png

compat_10.png

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).

   

Link

Displays a link.

compatible with Joomla 2.5 compatible with Joomla 1.7 compatible with Joomla 1.6.x

  • fieldtype_link_v2.1.0.zip
    This plugin needs to be installed with the Pages-and-Items extension installer
    (Pages-and-Items > 'managers' > 'extensions install')

compat_15_native.png

compat_10.png
You can configure the classname and target.

 

   

Youtube

Displays a Youtube video.

compatible with Joomla 2.5 compatible with Joomla 1.7 compatible with Joomla 1.6.x

  • fieldtype_youtube_v2.1.0.zip
    This plugin needs to be installed with the Pages-and-Items extension installer
    (Pages-and-Items > 'managers' > 'extensions install')

compat_15_native.png

compat_10.png

 

   

Item hits (example plugin for development if you want to make your own field type)

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.

This is the example plugin for if you want to code your own fieldtype.

compatible with Joomla 2.5 compatible with Joomla 1.7 compatible with Joomla 1.6.x

  • fieldtype_item_hits_v2.1.0.zip
    This plugin needs to be installed with the Pages-and-Items extension installer
    (Pages-and-Items > 'managers' > 'extensions install')

compat_15_native.png

compat_10.png

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!

   
 
Follow Us On Twitter