Skip to content

Commit ac0a2bb

Browse files
committed
Add content element
1 parent 9e968b7 commit ac0a2bb

4 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: sk/bootstrap-menu-subpages
2+
title: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_menu_subpages.title
3+
typeName: bootstrap_menu_subpages
4+
description: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_menu_subpages.description
5+
group: content_blocks_bootstrap
6+
basics:
7+
- TYPO3/Appearance
8+
fields:
9+
- identifier: pages
10+
useExistingField: true
11+
type: Relation
12+
allowed: 'pages'
13+
maxitems: 1
14+
suggestOptions:
15+
default:
16+
additionalSearchFields: 'nav_title, url'
17+
addWhere: 'AND pages.doktype = 1'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<div id="c{data.uid}">
2+
menu subpages
3+
<f:debug>{data}</f:debug>
4+
</div>

Resources/Private/Language/locallang.xlf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
<header/>
55
<body>
66

7+
<trans-unit id="bootstrap_menu_subpages.title">
8+
<source>Menu of Subpages</source>
9+
</trans-unit>
10+
<trans-unit id="bootstrap_menu_subpages.description">
11+
<source>Creates a menu of subpages of a selected page</source>
12+
</trans-unit>
13+
714
<trans-unit id="bootstrap_text.title">
815
<source>Text</source>
916
</trans-unit>

0 commit comments

Comments
 (0)