Any tutorials here on building custom themes for Asgard?
kenmonster
@kenmonster
Posts made by kenmonster
-
Unable to locate factory with name [default] [Modules\Brokerquotes\Entities\Insuree].
I definitely have a factory
$factory->define(Modules\Brokerquotes\Entities\Insuree::class,....
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 errorNow i know there is a
php artisan module:seed
but it doesn't have the--class
option 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() === false
which 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.
-
RE: Overriding Module Views
According to this discussions modifying the config properties would yeild the results
-
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?
-
Symfony\Component\HttpKernel\Exception\HttpException
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?