Forums

Nested Sets

bmurphey 03 Feb, 2017
I am trying to save hierarchical data into a table using nested sets. Is it possible to use the JTableNested class to do this in Chronoforms?

Many thanks

-Brian
GreyHead 03 Feb, 2017
Hi Brian,

I don't know the class but it should be possible to use it in a Custom Code action. You can load the class and then use it as you would any other Joomla! code.

One thing to watch - the CF code runs in a namespace and you may need to prefix Joomla! class names with \ to access the root namespace e.g. \JFactory . . .

Bob
bmurphey 03 Feb, 2017
Many thanks for the heads-up on the namespace.

-Brian
This topic is locked and no more replies can be posted.