Comments (14)
Well I got it partly working by manually editing the admin template files $master setting to a static value of:
@extends('backend.layouts.master')
and then changing the admin_route in config/ticketit.php:
'admin_route' => 'admin/tickets',
and now it will show the ticket admin index, but when I go to a link, i get:
ErrorException in UrlGenerator.php line 278: Route [admin/tickets.status.create] not defined. (View: /var/www/html/laravel-5-boilerplate/resources/views/vendor/ticketit/admin/status/index.blade.php)
and
InvalidArgumentException in UrlGenerator.php line 278: Route [admin/tickets.status.create] not defined.
Guess I have to figure a way around that. hmm.
from ticketit.
Set admin_route to "admin" and main_route to "tickets" right?
from ticketit.
Nope, I don't think they compound like that. Unfortunately then I only get 404's for any of the ticket admin area.
from ticketit.
Easy enough. Change admin_route to dashboard. Now make a blank view for dashboard and you can list users tickets, stats, etc there.
from ticketit.
I'm taking a stab in the dark and guessing that the Boilerplate reserves /admin// and so does Ticketit based on your config.
from ticketit.
but admin/tickets worked fine (I think). Just not any of the sub pages.
from ticketit.
Trust me. Just set it to Dashboard or something except admin. Then navigate to /dashboard/priority in url. I'd try a suggestion before saying "but" lol :D
from ticketit.
ok, so dashboard is my index for my user area already and I am really wanting to integrate the admin area of the ticket system into the actual admin area of the app.
from ticketit.
Sorry, will try something else. missed that point
from ticketit.
You wanted to make it work, I got it to work :)
Until we get some code updates, I'd suggest redirect()->route('admin.index'); for now.
from ticketit.
You know the reason you publish views is so you can tweak them :) -- You never actually have to link to the admin route anywhere, ever if you adjust the view html
from ticketit.
Actually just keeping it at the default of ticket-admin worked. Adjusting the master path in the templates as I mentioned earlier kept the admin view. Thanks!
from ticketit.
Good to know!
from ticketit.
Yep. My admin url might not be as pretty as I would have liked, but this works well enough. Woo hoo!
from ticketit.
Related Issues (20)
- Feature Request: Turn off reply-to email of agent
- Multiguard integration HOT 1
- How to localize ticketit HOT 1
- Email feature
- how to run ticket app on browser after installation , i executed php artisan ticketit:install and php artisan serve i am getting this site cant be reached on localhost:8000
- Graphics error HOT 2
- Error when install package HOT 3
- Webhook support
- kordy.info domain seems not reachable HOT 1
- composer require 'kordy/ticketit:0.*' HOT 2
- How can I enable the localization feature?
- Unable to complete Installation Process HOT 3
- Does the pacakge offer APIs? HOT 2
- Make sure that App\User exists HOT 1
- installation failed and showing below mentioned error
- Bootstrap 5
- E-Mail Function is not Working
- Use with Jetstream HOT 1
- laravel and php version
- Authenticated Remote Code Execution via Insecure Deserialization
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 ticketit.