Search code examples
phpscaffoldingfuelphpscaffold

Error: The subfolder for admin templates does not exist or is spelled wrong


I have tried to Generate Custom Template using oil Scaffold on FUELPHP.

  1. Move oil/views in oil/views/my_custom
  2. run php oil generate scaffold/my_custom -f monkey name:string description:text

the result is

Error: The subfolder for admin templates does not exist or is spelled wrong: my_custom 

I'm sure admin folder and scaffolding folder available in my_custom folder.

and this is the reference for that https://github.com/snrp/fuel/commit/b1f15c2116386ac11639d6a0705ce7607c58c4d1

Note FuelPHP version is 1.3

any someone know about this problem ?


Solution

  • I'm custom oil fuelphp, maybe can help you with similar issue

    check this

    https://github.com/viyancs/fuelphp-oil

    or upgrade with new version, oil using subdirectory available since version 1.5

    https://github.com/fuel/fuel/blob/1.5/master/CHANGELOG.md