Welcome Guest, Not a member yet? Register   Sign In
Announcing: Bonfire - a drop-in admin area
#22

(This post was last modified: 12-28-2023, 12:42 AM by luckmoshy.)

(12-28-2023, 12:02 AM)dgvirtual Wrote: You can try adding this example module https://github.com/dgvirtual/bonfire2-pages-module

And if it works, check for differences with yours.

Did you remake 40+ modules of yours to conform to Bonfire2 requirements? Those go way beyond namespacing.

believe 100% I have those 40+ modules like your repo and all depend on bonfire systems

@dgvirtual    you have pointed that out exactly yes I have also used this module but does not work. this was my example if I was somewhere done wrong but nothing working at all until I use PSR4 I can use the bonfire2-pages-module
I don't know if you also checked on your side with that repo??? !!

it does not work on

PHP Code:
public $appModules = [
 
 
      
 
'App\Modules' => APPPATH 'Modules/Pages'
//does not work from https://github.com/dgvirtual/bonfire2-pages-module
 
    ];

https://github.com/dgvirtual/bonfire2-pages-module 


it works on

PHP Code:
public $psr4 = [
        
APP_NAMESPACE => APPPATH// For custom app namespace
        
'Config'      => APPPATH 'Config',
    
'App\Modules\Pages' => APPPATH 'Modules/Pages',
  
//and I can create, edit, and delete in Bonfire admin by  set group and permission
        
    
]; 
Codeigniter First, Codeigniter Then You!!
yekrinaDigitals

Reply


Messages In This Thread
RE: Announcing: Bonfire - a drop-in admin area - by luckmoshy - 12-28-2023, 12:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB