Comments (16)
Morning @gautham718
Will double check quick.
But I think it is the Models/NavigationAdmin.php - missing relationship.
Give me a couple of minutes...
from laravel-admin-starter.
Hi @gautham718
Please get the latest NavigationAdmin
I am going to download the latest zip and install it to make sure it will work.
Thanks
from laravel-admin-starter.
Yes, It worked. Thanks !!!!
And could you please guide me how to configure that to work in a folder inside document root.
Now the folders are listing when i load that URL and if i load http://localhost/addclarity/public/ then CSS and JS missing
from laravel-admin-starter.
Is it on Windows?
If so, are you using wamp or xampp or something else?
I personally use Windows + wamp
If you want - you can send me a mail to help you out in more detail? bpocallaghan @ gmail
from laravel-admin-starter.
I am on linux (ubuntu 17.04, php 5.6, mysql 5.7 & apache 2.4)
from laravel-admin-starter.
The above is for windows - but I think it will push you in the right direction.
I will see if I can find some articles for Linux
from laravel-admin-starter.
This article seems to cover everything.
You will see some similarities between my gist and this article
Please shout if you have any questions.
Unfortunately my Linux knowledge is limited.
from laravel-admin-starter.
Thank you so much
from laravel-admin-starter.
My Pleasure.
All this 'virtual host setup' does is to allow you to enter something like 'addclarity.dev' in your browser and not use localhost/addclarity
This makes it easier to define the 'base' url of your website and not have to worry about css / js not loading as you can just go <img src="/images/myimage.png"/>
(to always prefix the '/')
However this does have an effect if you will deploy it to a 'sub folder' on a server, for example it will be example.com/folder instead of example.com - If that makes sense.
The other option is to add a 'base' meta in your head in your html w3schools add base tag
This will allow you to add the base url as 'http://localhost/addclarity/public/' And then the css / js should be without the '/' in front of the path / src of css / js / images.
<img src="/images/myimage.png"/>
should become <img src="images/myimage.png"/>
when you have the 'base' meta
Will close it in a bit - but please shout when you have any questions / struggle with something.
from laravel-admin-starter.
Hi,
Upon setting the Virtual host for addclarity.com the frontend pages are working fine but, when i load http://addclarity.com/admin
the following error is thrown
"Oops - unique url, please fix at TitanAdminController::setselectedNavigation()"
But http://addclarity.com/auth/login is working
from laravel-admin-starter.
Awesome - hope you like the virtual host setup - Took me a bit to get used to but very nice!
Okys, That is because it did not find any items in the navigation_admin table.
- Check in your .env file that the
APP_URL=http://addclarity.com
- Have a look at the table - navigation_admin - if there are any entries (if not, run php artisan db:seed again)
That should hopefully fix it (basically its not finding any navigation from the database)
If it does not - go to TitanAdminController::setselectedNavigation()
it will be in /vendor/bpocallaghan/titan/src/controllers
and just do a dd($nav) at around here NavigationController
I still need to work a bit on cleaning up the 'titan' package for the 'core / utility classes' :)
Usually the database is empty or the app_url is different from what laravel's request is.
The first two lines in that function
$url = $this->getCurrentUrl(); $sections = $this->getCurrentUrlSections();
Can also just dump them if it does not work to see 'why' it is not matching any navigation on the 'slug'
from laravel-admin-starter.
Thanks !! yes, I forgot to change the APP_URL
Thanks again, and sorry for taking your time
from laravel-admin-starter.
Awesome. Glad its working now. Nope, I am just happy that fellow developers are taking an interest in it.
I hope you like it - please shout when you have any questions - happy to help
from laravel-admin-starter.
Thanks !!
Is it possible to manage the page content from backend now, I couldn't locate the link for that.
And one more thing, I was not able to log in using the following credentials mentioned in the installation steps.
[email protected]
admin
But this worked
[email protected]
github
from laravel-admin-starter.
Thanks for pointing it out - Updated the readme file.
If you look at /database/seeds/UserTableSeeder.php - The initial users gets created from this file (so you can remove all of them and add one for yourself)
Mmmm. Unfortunately not.
This is not a full CMS with a website page builder. You can only manage the navigation (all the urls and html title / description of the page) But you will manually have to create the page yourself.
Might be easier to have a look for yourself.
/routes/web.php - At the top of the file you will see all the urls defined for the Website.
They all link to a Controller - most to /app/Http/Controllers/Website/PagesController
I hope that helps. The page builder is in my todo list tho.
If I understand correctly - you might be more interested into something like Asgard CMS
from laravel-admin-starter.
Thanks
from laravel-admin-starter.
Related Issues (20)
- Feature requests HOT 11
- Suggestion: Change Summernote for Toast.io HOT 2
- Slack HOT 1
- Upgrade to Laravel 5.6 HOT 3
- Add Admin Navigation HOT 6
- implement spatie/laravel-permission? HOT 7
- reCAPTCHA dependency HOT 1
- Setup google analytics for site . HOT 1
- Missing Namespace and Use declaration in the Admin/General controller group HOT 4
- Laravel Debugbar is not appearing in the project HOT 2
- Admin CRUD always acts on FAQ Categories HOT 3
- Impersonate Package Still Using App\User HOT 5
- Api problem HOT 3
- how to make localization? HOT 1
- Controller not exist on new setup HOT 4
- How upload pictures in topic?
- Errors: Errors even on installation HOT 1
- Missing migrations HOT 1
- image cannot load HOT 4
- What are the main differences between this and titan HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-admin-starter.