1283 Posts
Bucklash
7 years ago
2
Topic

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

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
1
Level 1

You probably need to update Joomla menu item object plugin

1283 Posts
Bucklash
7 years ago
0
Level 2

H Klas

Thought I had current version, have downloaded and will check today

Thanks 

Get a Book for SEBLOD