Hi folks
I am unable to create
Menu Items using JCckContentJoomla_Menu_Item.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
// Create the instance.
$newData = new JCckContentJoomla_Menu_Item;
// Populate the instance
$addNewData = $newData->create( 'page', $columns, $columnsMore, $columnsMore2);
// Result
Class 'JCckContentJoomla_Menu_Item' not found
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
$newData = new JCckContentJoomla_Article; <= Works
$newData = new JCckContentJoomla_Category; <= Works
$newData = new JCckContentJoomla_User_Note; <= Not Work
$newData = new JCckContentJoomla_Menu_Item; <= Not Work
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Checklist
- Menu Item Object installed
- Seblod 12.2
- Joomla 3.7.5
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Anything I might have missed?
^ JCckContent classes added on each Object plug-in.
>> use "$content = new JCckContentJoomla_Article;" in order to create new Articles.
>> use "$content = new JCckContentJoomla_Category;" in order to create new Categories.
>> use "$content = new JCckContentJoomla_User;" in order to create new Users.
>> use "$content = new JCckContent[OBJECT_NAME];" in order to create new Items from a specific Object.
>> use "$content = JCckContent::getInstance(...); in order to load/update any kind of Item."
Bucklash