Steps to usage fieldtype PI!Fish old Version 0.1.1

  • make an new custom_itemtype and put the fieldtype 'pi_fish' in it,
    put other fieldtypes you like in the custom_itemtype
    or use an exist custom_itemtype and put the fieldtype 'pi_fish' in it
  • config the fieldtype 'pi_fish':
    • Set 'Template field type' to 'use {pf_field_'}' or 'use: input hiden pf_field_*
    • spezial articel fields options:
      here you can config in the fieldtype pi_fish all other fields in the custom itemtype
      do not wonder not all fields display here (eg item_version this field have no output to generate in PI!Fish table)
      • the first option you can set is that this fieldtype do not save in the PI!Fish table then all other options are insignificantly
      • and this field can not translate
      • Text Type' is who handle joomfish the fieldtype.null = no translation
      • 'Field Type' is the type in mysql database please select only text, mediumtext or int(G) all other are not testet.
      • 'Field Size' only for 'Field Type' with (G) only testet with int(G)
  • config the custom_itemtype:
    Insert over the template-Button (or manual) the fieldtypes you will use in 'template intro' or in 'template full'.
    If you let blank 'template intro' or 'template full' all fields (see 'default template') are used similare to the normal PI.
    make shure the right syntax
    in intro-template:
    {pf_field_"field_name"_"field_id"_intro} or
    {*"field_id"}<input name="pf_field_"field_name"_"field_id"_intro" value=""field_id"" type="hidden" />

    in full-template:
    {pf_field_"field_name"_"field_id"_full} or
    {*"field_id"}<input name="pf_field_"field_name"_"field_id"_full" value=""field_id"" type="hidden" />

    example:
    {pf_field_Article_13_full} or
    {*13}<input name="pf_field_Article_13_full" value="13" type="hidden" />
    the {*"field_id"} is optional
  • make an new item use the custom itemtype
  • fill the values in the other fields
  • save the item
  • joomfish:
      translate the custom_itemtype ( in joomfish named: 'PI!Fish Table ' +custom_itemtype Name)

      translate the article/content (only the title) with the item_id from the custom_itemtype then 'There are no translations
      available' is not show . Or install the system plugin PI!Fish.
  • look at the frontpage output