Feature #4230
Create ViewHelpers for Backend Modules
| Status: | Resolved | Start date: | 2009-08-12 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assigned To: | Bastian Waidelich | % Done: | 100% |
|
| Category: | ViewHelpers | |||
| Target version: | - | |||
| Has patch: |
Description
Creating backend modules should be very simple. I started with creating these viewhelpers and grouped them by category.
This grouping needs a patch in fluid as the directory level resolved by fluid is limited to one level.
To show you the way i used them here is my template (now all used in blog_example)
{namespace blog=Tx_BlogExample_ViewHelpers}<blog:be.startPage pageTitle="{title}" jumpToUrl="true" extJs="true" />
<form action="" method="post" enctype="multipart/form-data">
<div class="typo3-fullDoc">
<!-- Page header with buttons, path details and csh -->
<div id="typo3-docheader">
<div id="typo3-docheader-row1">
<div class="buttonsleft">
<div class="buttongroup">
<blog:be.buttons.csh table="_MOD_web_func" />
<blog:be.buttons.save />
</div>
</div>
<div class="buttonsright">
<div class="buttongroup">
<blog:be.buttons.shortcut setList="{setKeys}" />
</div>
</div>
</div>
<div id="typo3-docheader-row2">
<div class="docheader-row2-left">
<div class="docheader-funcmenu">
<blog:be.menus.functionMenu modMenu="{modMenu}" key="{modMenuKey}" />
<blog:be.menus.functionMenu modMenu="{submodMenu}" key="{submodMenuKey}" />
</div>
</div>
<div class="docheader-row2-right">
<blog:be.status.pagePath />
<blog:be.status.pageInfo />
</div>
</div>
</div>
<!-- Content of module, for instance listing, info or editing -->
<div id="typo3-docbody">
<div id="typo3-inner-docbody">
<h1>{title}</h1>
<p>Welcome in the OldStyle backend module!<br />Looks like Standard, but is an Extbase driven module :)</p>
</div>
</div>
</div>
</form>
<blog:be.endPage />
attached is a patch for blog_example to show you how they will work
History
#1 Updated by Jochen Rau almost 6 years ago
- Tracker changed from Bug to Feature
#2 Updated by Steffen Kamper almost 6 years ago
I committed them to blog_example to show how it works. Later these viewhelpers could be part of FLUID, but for now i hope others start to work with them and make suggestions for completition.
#3 Updated by Jochen Rau almost 6 years ago
- Category set to 432
- Status changed from New to Accepted
- Assigned To set to Steffen Kamper
#4 Updated by Bastian Waidelich almost 6 years ago
- Project changed from Extbase MVC Framework to TYPO3.Fluid
- Category deleted (
432)
#5 Updated by Bastian Waidelich about 5 years ago
- Category set to ViewHelpers
- Status changed from Accepted to Resolved
- Assigned To changed from Steffen Kamper to Bastian Waidelich
- % Done changed from 0 to 100
- Branch set to v4
Following Backend ViewHelpers have been added with r1347 ff:
be.container, be.pageInfo, be.pagePath, be.tableList, be.menus.actionMenu, be.menus.actionMenuItem
I wouldn't consider them stable as the whole BE functionality of Extbase & Fluid is still rather experimental, but I'm closing this issue for now.
