Hi,
I tried auth()->user() but this return null !!
How can get it?
Posts made by hChamran
-
How to get login user?
-
How to change currency unit?
Hi,
How can I change the currency unit from dollar to other currency units? -
RE: Error after install !!
hi,
I get clone but when I would compsoer install this error show to me: -
Error after install !!
Hi,
I'm geting error after install bagisto?
Class SliderRepository does not exist!
-
RE: Error "Trying to get property 'role' of non-object"?
This problem occurred while I was in the admin dashboard!
-
Error "Trying to get property 'role' of non-object"?
Hi,
what is this error? -
Reading customers from another database?
Hi,
I have a database which there are inside users another website.
How to sync users to customers? -
Problem in bagisto_assets function!!
Hi,
I have a problem when I want to create a new blade page but bagisto_assets function dose not working??
I put @extend('shop::layout.master') but this section not working!In this picture, the red area must be like:
-
Problem in bagisto_assets function!!
Hi,
I have a problem when I want to create a new page but bagisto_assets function dose not working??
In this picture, the red area must be like: -
How to create relation between my model and customer model??
Hi,
I created a new package for bagisto and inside its migration I have customer_id.
I need to do sync() for saving my data.
What should I do? -
getAttribute Model in custom extensions
Hi,
I made an extension and need use from getAttribute laravel function model but this not work?! -
Problem don't saved product
Hi,
I when want to create a product after fill the inputs and details when I click on add save product button, the success message shows me, but not saving?! -
Problem when uploading images!
Hi,
I choose picture for a category or other where in site but after saved my data, pictures not uploaded?
-
How to change inputs validation language?
Hi,
I need change inputs validation language.
Please help!! -
How can i have Jalali flatpicker?
Hi,
Can anyone please help me how to convert flatpicker to Jalali? -
RE: How can i do RTL this?
I find it and created fa language.
You can see to this page.
-
RE: How can i do RTL this?
I find it
I should add this code:
app()->getLocale() == 'fa'
to packages/Admin/src/resources/view/layouts/master.blade.php
<body @if (app()->getLocale() == 'ar') class="rtl" @endif>
at last
<body @if (app()->getLocale() == 'ar' || app()->getLocale() == 'fa') class="rtl" @endif>
thanks
-
RE: How can i do RTL this?
thanks @Naresh-webkul.
And for changing language from 'arabic' to 'persian' what should i do?
I thinking i should create a new folder with name 'fa' and 'app.php' file inside it.