Comments (6)
Hello there! Thanks for opening your first issue on this repo!
Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.
Backpack communication mediums:
- Bug Reports, Feature Requests - Github Issues (here);
- Quick help (How do I do X) - Gitter Chatroom;
- Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the
backpack-for-laravel
tag;
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
Thank you!
--
Justin Case
The Backpack Robot
from pagemanager.
Hello @adrienne
Do you want your page view to open inside a parent layout?
For that, You are free to extend any parent layout for your page using @extends('parent_view')
Let me know what you mean by this is something else.
from pagemanager.
@karandatwani92 No, I mean for URLs and organization.
So for instance maybe i have a page "About Us", at url /about-us
And then I want to add a page "Team" and its URL should be /about-us/team -- UNDERNEATH the About Us page.
from pagemanager.
Hi @adrienne
Got your point, It's related to the route
in web.php
.
You can define a route in this order as per your need:
Route::get('about-us/{page}/{subs?}', ['uses' => '\App\Http\Controllers\PageController@index'])
->where(['page' => '^(((?=(?!admin))(?=(?!\/)).))*$', 'subs' => '.*']);
//this would be last one
Route::get('{page}/{subs?}', ['uses' => '\App\Http\Controllers\PageController@index'])
->where(['page' => '^(((?=(?!admin))(?=(?!\/)).))*$', 'subs' => '.*']);
and in page manager, your slug would be team
Or simply replace the main route to
Route::get('/{slug}', '\App\Http\Controllers\PageController@index')->where('slug', '(.*)');
In this case page slug would be about-us/team
This could be done in many other ways too, depending on the developer's choice.
I hope this helps
The front end is not part of the Backpack. The route
and page controller
are there as an example only.
Let us know if there is something else, We are closing the issue for now.
Regards
from pagemanager.
Yeah, that's still not what I'm asking, but it's okay, I found a different package to use.
from pagemanager.
@adrienne can you share the package link..so we could understand the implementation you want.
from pagemanager.
Related Issues (20)
- Target class [PageController] does not exist. HOT 4
- Unable to install via Composer: code error leading to post-autoload-dump event error HOT 6
- Error : Declaration of ... Page::sluggable() must be compatible with Cviebrock\EloquentSluggable\Sluggable::sluggable(): array HOT 4
- [Bug] visibility: hidden ckeditor and Wysiwyg HOT 11
- reorder items inside the repeatable field HOT 1
- None of the views in the given array exist HOT 6
- the wisywig fieldtype doensn't exist in the backpack v5.0 HOT 2
- Own Controller or Model not used by PageManager HOT 3
- Doesn't work with no wysiwyg field HOT 3
- [Bug] select_page_template field cannot be used multiple times HOT 1
- Version control when editing a page HOT 2
- support for translation / multiple language HOT 5
- Upload field not working with Backpack v6 using new uploader HOT 11
- Upload File Validation HOT 2
- Unknown database type bit requested, Doctrine\DBAL\Platforms\MySQL80Platform may not support it. HOT 6
- how to get fake column value HOT 1
- Errors while upgrading from 3.6 to 4.0 HOT 2
- PHP Fatal error: Trait 'App\PageTemplates' not found in HOT 2
- Not installing Laravel 5.8 HOT 2
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 pagemanager.