Comments (6)
did you add variables in your template as example below ?
`
$BlockArea(BeforeContent)
<% if $Content %><div class="row form">$Content</div><% end_if %>
<% if $Form %><div class="row form">$Form</div><% end_if %>
$BlockArea(AfterContent)
`
from silverstripe-blocks.
Yeap none of those will work. Read the documentation, there are very clear examples ;)
from silverstripe-blocks.
Well, when I follow the documentattion exactly, the Blocks tab at the pages disappear and didn't set exclude_from_page_types for any page type.
from silverstripe-blocks.
Update: when I use version 1.0.7. everything is working well. But with version 1.0.8. and dev my experience is that the Blocks tab disappears once you add an area to the page type. I experience this in SilverStripe 3.2.1 and 3.3.1.
from silverstripe-blocks.
Hmm... I've just done a test with 1.0.8 and was unable to replicate the issue. Can you paste in your config for me and I'll test with that
from silverstripe-blocks.
I can replicate this issue when I have not set the theme I use for blocks in my config.yml but only in the cms.
This has been set after a fresh installation of SilverStripe 3.3.1 without selecting the Simple theme:
SSViewer:
theme: 'tutorial'
I then installed the blocks module, created a new theme and selected it via the CMS. Then I followed the documentation and configured the blocks module (1.0.7). The blocks tab is shown but I get the message "This page type has no Block Areas configured". I then set the theme in config.yml to my new theme and it worked.
But when I install 1.0.8 or 1.0.9 the Blocks tab is not visible.
from silverstripe-blocks.
Related Issues (20)
- No blocks tab in page view on SS 3.5.3 HOT 4
- Misleading draft button state
- SilverStripe 4 alpha7 versioning - incorrect namespace
- CMSFields error adding blocks to DataObjects HOT 1
- Blocks don't show in edit page view HOT 6
- Update composer requirements for Symbiote vendor
- Symbiote - namespacing vendor updates in use statements
- Class 'SilverStripe\Core\Object' not found in BlockManager
- BlocksSiteTreeExtension - references BlockSet `PageTypesValue`
- SS4 - used Versioned buttons in CMS
- release tag, please HOT 1
- BUG incorrect symbiote package names in 1.1 branch HOT 1
- Default block area HOT 1
- After duplicating block, content is linked in original & duplicated block.
- Dependent issue Symbiotic 4.x-dev HOT 3
- Using silverstripe-blocks with blog module
- compatible issue with silverstripe-gridfieldextensions 3.1.1
- Silverstripe 4.1 and the future? HOT 3
- SS 3.7.2 / PHP 7.2 Compatibility HOT 1
- multivaluefield 3 is SS4 HOT 1
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-blocks.