Comments (8)
That's a really good question. I don't know. Have you tried it with a headless framework?
from silverstripe-dashboard.
I just did a quick test and it appears to "work" but some of the default widgets depend on SiteTree (recent edits, for example).
Is there a way to just wrap them in if (class_exists('SiteTree'))
so they don't appear if you don't have the SiteTree
?
from silverstripe-dashboard.
Yeah, that sounds like the simplest solution. Otherwise, we could break it off into two modules -- dashboard-core
and dashboard-cms
(with a dependency on the former).
There's a DashboardBlogEntryPanel
in the core. That's even more presumptive than SiteTree!
from silverstripe-dashboard.
Love this module and the idea of slimming down it's dependancies sounds great. However is there any chance that in the mean time you could release an update that allows use in SS 3.2 (with dependancy on framework, cms, and siteconfig)?
from silverstripe-dashboard.
It's set to ~3.1
.. that should allow minor release upgrades, right?
from silverstripe-dashboard.
Ah, maybe not. I think that should be ^3.1
.
from silverstripe-dashboard.
~3.1
should allow 3.2 to work too or you can use ^3.1.1
from silverstripe-dashboard.
I think I tested the updating of canView
checking for SiteTree
and it did work... should get round to a PR some time...
from silverstripe-dashboard.
Related Issues (20)
- Quick links are not sorting HOT 4
- Wording on the Readme File HOT 1
- Blog post link in ReadMe is broken. HOT 1
- Dashboard with versioneddataobjects issue HOT 1
- Model admin editor HOT 1
- Quick typo fix HOT 1
- GridField Editor does not save
- Testing Error: Table '*.DashboardPanel' doesn't exist
- Updating Configuration updates wrong chart
- i installed the dash board with SS 3.4 and it made the CMS inoperable.... 30 seconds timeout HOT 2
- when there is no panels available, the dash board does not work HOT 2
- can't read message Success! This dashboard configuration has been set as the default for all new members. HOT 1
- DashboardGridFieldPanel::getHierarchy() is very slow
- SS4 branch? HOT 2
- SS4 upgrade discussion HOT 8
- Drop the requirement for CMS? HOT 1
- Feature suggestion: automatically refresh panel content at a certain frequency
- Plans about the future of this module? HOT 7
- src/extensions/DashboardItemEditForm.php causes session errors
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-dashboard.