Back to Power Components Support

josh208
josh208

When running create crud, it was able to create a model, create components, and add pages, but when I got to the step of registering CRUD components in the Plugin it balked with "Exception - Unsupported registerComponent method syntax. Read the docs."

Any ideas?

InIT.biz
InIT.biz

Possible bug. I will take a closer look at it tomorrow.

To be honest, this part of the method is very fragile and it's just adding a few lines to your Plugin.php file. For now, I would ask you to do it manually if you don't mind.

InIT.biz
InIT.biz

Can you post me your registerComponents method from the Plugin.php file?

josh208
josh208

I did work around by adding the registerComponent entries manually. This seems to happen when there are already components being registered.

Thanks, Josh

1-4 of 4