Comments (3)
Or better yet - don't customise $this->owner
.
from silverstripe-betternavigator.
Hi @jedateach, I'd like the current page to be available in the BetterNavigator.ss template so that developers can override the template and have access to methods from the current page controller. It seems like an easy way to allow developers to customise the buttons on a per-page-type basis. So I'd prefer to go with your first suggestion unless there's another reason not to customise $this->owner
?
from silverstripe-betternavigator.
@jedateach did you have any additional thoughts on this?
from silverstripe-betternavigator.
Related Issues (20)
- Version numbering? HOT 2
- static errorpage shows betternavigator HOT 2
- Isn't working? HOT 2
- Newest release breaks links for sites in subfolder HOT 10
- [Notice] Undefined index: CMSLink in 3.5 HOT 1
- Developer error messages from Sourcemap HOT 1
- PHP7: Methods with the same name as their class will not be constructors HOT 1
- Log in & Log out buttons SS4
- console error for logout button
- Navigator doesn't render on SS 4.1.0 HOT 3
- Add locale parameter (e.g. ?l=de_DE) to "Edit in CMS" button for working better with the fluent module HOT 2
- Includes JS even if not rendered HOT 10
- Isn't injected into UserDefinedForm pages HOT 8
- Position and translucent config feature HOT 1
- Make CMS Link work for Data Objects HOT 4
- Not included on form response rendered with ->renderWith()
- Template customisation namespace is wrong
- v6 ToDo HOT 5
- [Question] How does one add extra dev tool links in 5.4.1 HOT 4
- Odd little line next to view draft 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 silverstripe-betternavigator.