Comments (3)
@chequille please see: https://github.com/TYPO3GmbH/blog/blob/master/Classes/Controller/PostController.php#L140
We added {data}
a while ago so you should be able to access these information and adapt the templates to your needs.
from blog.
Hi Benjamin,
might be, that this is working already, but I still do not know how to define layouts which can be than selected as in the screenshot
For tt_content elements i can do this in TCEFORM.tsconfig but I do not know how to do this for the Blog elements.
Do you have a sample how to do this?
BR
Chequille
from blog.
As far as I know adding items to tt_content.layout is only possible for CTypes. The blog elements have CType "list" with a specific list_type like "blog_demandedposts". So it's not possible.
Workaround: You can add a new layout in TCEFORM for list, but then you'll see it in all list elements. Make wording specific, so integrators know where it applies.
Better solutions: Best would be to extend typo3 core with the possibility to change layouts for specific list_types. Another solution is to have an own layout field (flexform) like in the news-extension.
Please re-open. ;-)
from blog.
Related Issues (20)
- New blog setup, TypeError
- How do I include my users as authors? HOT 1
- not able to alter Publish Date HOT 6
- LatestPosts.xml missing in v12.0.0
- Publish date always comes back to timestamp on edit in BE HOT 1
- TYPO3 11 LTS with Blog Extension 12.0.1: Comment form breaks default language sys_page
- change social media icon: Twitter -> X
- StaticDatabaseMapper slows down typolinks a lot
- Blog: Metadata Plug-IN missing. HOT 1
- Record Storage Page is ignored with multiple blog plugins on the same page HOT 4
- Plugin List of Categories or List of Tags shows categories/tags that are not assigned to any blog post page
- Missing/incomplete translations from Crowdin HOT 3
- Constants editor are ignored
- explode() - string required, int passed HOT 2
- Parent of category can not be accessed
- Content elements around the blog plugin are not working
- Incorrect Uid check in ListPostsByDate Template
- Empty category widget
- Allow psr/http-message 2.0
- Exclude blog/tag/ page url from the sitemap
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 blog.