Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Is it possible to have a Pager config file in a module's config directory?
Post: RE: Is it possible to have a Pager config file in ...

@"davis.lasis" thanks for referencing registrars (https://codeigniter.com/user_guide/general/configuration.html#registrars). After a fresh night's sleep, that is superior to our previous workarounds. ...
2,829 Views
7 Replies
01-21-2025, 08:03 AM
mavelo
    Thread: Is it possible to have a Pager config file in a module's config directory?
Post: RE: Is it possible to have a Pager config file in ...

Quote: -- Actually in that case, just add Pager to this list -- No obvious effect. Still had to call config('Admin\Pager') before model to make module templates load. Just now realizing admin/Con...
2,829 Views
7 Replies
01-20-2025, 03:49 PM
mavelo
  Lightbulb Thread: Is it possible to have a Pager config file in a module's config directory?
Post: RE: Is it possible to have a Pager config file in ...

@"includebeer" How I got around the problem below. Replace "Admin" with your module's namespace. \Admin\Controllers\BaseController PHP Code: -- public function initController(RequestInterface $reque...
2,829 Views
7 Replies
01-20-2025, 02:25 PM
mavelo
  Bug Thread: Is it possible to have a Pager config file in a module's config directory?
Post: RE: Is it possible to have a Pager config file in ...

Encountering same issue in 4.6.0 with automatic pagination using CodeIgniter's model. Config/Autoload PHP Code: -- public $psr4 = [     APP_NAMESPACE => APPPATH,     'Admin' => ROOTPATH . 'admin', ]...
2,829 Views
7 Replies
01-20-2025, 12:56 PM
mavelo
    Thread: set404Override and debug toolbar
Post: RE: set404Override and debug toolbar

We ended up using Code: -- header("Location: "/profile/{$username}", true 302); exit; -- upon username match. Would be nice if we could use Code: -- return redirect()->to("/profile/{$username}") --...
4,215 Views
4 Replies
12-02-2021, 09:10 AM
mavelo
    Thread: set404Override and debug toolbar
Post: RE: set404Override and debug toolbar

The site uses set404Override to route unmatched URI's to a controller/method thereby facilitating domain.com/username lookups.If the username is not found, we display the 404 view otherwise we show t...
4,215 Views
4 Replies
11-23-2021, 12:48 PM
mavelo
    Thread: set404Override and debug toolbar
Post: RE: set404Override and debug toolbar

Worth noting that HTML debug comments like appear in source, but the toolbar script and style are not injected at
4,215 Views
4 Replies
11-22-2021, 12:06 PM
mavelo
    Thread: set404Override and debug toolbar
Post: set404Override and debug toolbar

Anyone else able to get the debug toolbar to show on 404 overrides? $routes->set404Override('App\Foo::bar'); Debug toolbar shows on every page in 'development' environment EXCEPT the App\Foo::ba...
4,215 Views
4 Replies
11-16-2021, 12:10 PM
mavelo

Theme © iAndrew 2016 - Forum software by © MyBB