1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.

Copying a plugin

Feb 21, 2018
Copying a plugin
  • Lets say we want to copy the list plug-in 'caneditrow' as a basis for us to start work on a new plug-in, called 'custom_can_edit'.

    First of all copy the folder:
    and rename it to
    rename caneditrow.php to custom_can_edit.php
    rename caneditrow.xml to custom_can_edit.xml

    edit custom_can_edit.xml file and change the string in:

    Code (XML):

    <name>Can Edit Row</name>
     
    to

    Code (XML):

    <name>Custom Can Edit Row</name>
     
    then replace 'canedit' in this line

    Code (XML):

    <filename plugin="caneditrow">caneditrow.php</filename>
     
    with custom_can_edit:

    Code (XML):

    <filename plugin="custom_can_edit">custom_can_edit.php</filename>
     
    Rename the class name in custom_can_edit.php

    to

    Rename the language files in the respective language folder(s)

    to