Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from jweiland-net/addPluginPreview
Add plugin preview
- Loading branch information
Showing
9 changed files
with
138 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
mod.wizards.newContentElement.wizardItems.plugins { | ||
elements { | ||
reserve_reservation { | ||
iconIdentifier = ext-reserve-wizard-icon | ||
title = LLL:EXT:reserve/Resources/Private/Language/locallang_db.xlf:plugin.reserve_reservation.title | ||
description = LLL:EXT:reserve/Resources/Private/Language/locallang_db.xlf:plugin.reserve_reservation.description | ||
tt_content_defValues { | ||
CType = list | ||
list_type = reserve_reservation | ||
} | ||
} | ||
reserve_management { | ||
iconIdentifier = ext-reserve-wizard-icon | ||
title = LLL:EXT:reserve/Resources/Private/Language/locallang_db.xlf:plugin.reserve_management.title | ||
description = LLL:EXT:reserve/Resources/Private/Language/locallang_db.xlf:plugin.reserve_management.description | ||
tt_content_defValues { | ||
CType = list | ||
list_type = reserve_management | ||
} | ||
} | ||
} | ||
} | ||
|
||
# Add CType Preview | ||
mod.web_layout.tt_content.preview.list.reserve_reservation = EXT:reserve/Resources/Private/Templates/PluginPreview/Reservation.html | ||
mod.web_layout.tt_content.preview.list.reserve_management = EXT:reserve/Resources/Private/Templates/PluginPreview/Management.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<html lang="en" | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
data-namespace-typo3-fluid="true"> | ||
|
||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th>Config</th> | ||
<th>Value</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><strong>Plugin</strong></td> | ||
<td>Management</td> | ||
</tr> | ||
<tr> | ||
<td><strong>Facility</strong></td> | ||
<td>{pi_flexform_transformed.settings.facility}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</html> |
27 changes: 27 additions & 0 deletions
27
Resources/Private/Templates/PluginPreview/Reservation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<html lang="en" | ||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | ||
data-namespace-typo3-fluid="true"> | ||
|
||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th>Config</th> | ||
<th>Value</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><strong>Plugin</strong></td> | ||
<td>Reservation</td> | ||
</tr> | ||
<tr> | ||
<td><strong>Facility</strong></td> | ||
<td>{pi_flexform_transformed.settings.facility}</td> | ||
</tr> | ||
<tr> | ||
<td><strong>Order PID</strong></td> | ||
<td>{pi_flexform_transformed.settings.orderPid}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters