Any tutorials here on building custom themes for Asgard?
Posts made by kenmonster
Unable to locate factory with name [default] [Modules\Brokerquotes\Entities\Insuree].
I definitely have a factory
And in a DatabaseSeeder I have
factory("Modules\\Brokerquotes\\Entities\\Insuree", 5)->create()-> ......
But when I try to call the seeder class directly using
php artisan db:seed --class=....I get the subject error
Now i know there is a
php artisan module:seedbut it doesn't have the
--classoption so it runs all the seeders. I just need to run some individual seeders from time to time.
What am I doing wrong here??
auth() vs SentinelAuthentication::class
i've upgraded to the latest version of asgard cms 3.x I'm using the auth() to do most of my auth functions. I am also using the Sentinel package for my default user intents which apparently has its own auth functions.
My question is....can both auth and SentinelAuthentication be used to perform auth functions and yield the same result?
To bring perspective to my question....
I'm running a middleware that will log the user in by Id
auth()->loginUsingId($id)however there is another middleware that checks for the logged in user using
$this->auth->check() === falsewhich apparently yields truth breaking my application.
should I be now using the SentinelAuthentication or is there some other way I should be using laravel's default auth functions. I was under the impression that the new version of Asgard made both functions compatible.
Overriding Module Views
I have the User and Profile modules installed for asgard cms 3. How can I override the views from these two modules so that the views from my custom view is rendered in place of it? Sort of like if it exists in one location load it otherwise default to original view?
I'm using the asgard application to automatically register and login a dynamic user( user has no "backend" permissions). After doing this process I get the below screen
Clicking on either "Edit page" or "Back to Backend"
Brings up the subject error exception. What was the intention here? How do I avoid it and get rid of the blue nav area that led to this page?