26 |
--------------------------------------------------------------------------------
/Resources/Private/Fusion/Library/NodeTypes/YouTube.ts2:
--------------------------------------------------------------------------------
1 | // under development until NEOS 1.2 when @IF for optional attributes is added - see Button.ts2 comment
2 |
3 | # based on the "YouTube" element of the NeosDemoTypo3Org package - added responsiveness support
4 | prototype(Weissheiten.Neos.Bootstrap:YouTube) < prototype(Neos.Neos:Content) {
5 | templatePath = 'resource://Weissheiten.Neos.Bootstrap/Private/Templates/NodeTypes/YouTube.html'
6 | sectionName = 'YouTube'
7 | aspectRatio = ${q(node).property('aspectRatio')}
8 | video = ${q(node).property('video')}
9 | /*
10 |
12 | */
13 | attributes.class >
14 | attributes = Neos.Fusion:Attributes{
15 | src = ${'http://www.youtube.com/embed/' + q(node).property('video') + '?wmode=transparent'}
16 | frameborder = '0'
17 | allowfullscreen = 'allowfullscreen'
18 | }
19 |
20 | divattributes = Neos.Fusion:Attributes{
21 | class = ${q(node).is('[aspectRatio=unresponsive]') ? 'video' : ' video embed-responsive embed-responsive-' + q(node).property('aspectRatio')}
22 | }
23 |
24 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Neos CMS Twitter Bootstrap Plugin
2 |
3 | The Weissheiten Bootstrap package should allow its users to get an easy introduction to Neos CMS with the popular bootstrap template. Starting from the great TYPO3.NeosDemoTypo3Org Site package the amount of available content elements has been significantly extended and at some places altered.
4 | A big thank you to the awesome Neos CMS core team that gave me insight needed to create many of these new nodes.
5 |
6 | ## Installation
7 |
8 | The Weissheiten.Neos.Bootstrap is listed on packagist now (https://packagist.org/packages/weissheiten/neos-bootstrap) - therefore you don't have to include the package in your "repositories" entry any more.
9 |
10 | Just add the following line to your require section:
11 |
12 | ```
13 | "weissheiten/neos-bootstrap": "2.*"
14 | ```
15 |
16 | And the run this command to fetch the plugin:
17 |
18 | ```
19 | composer update
20 | ```
21 |
22 | ## Including Bootstrap
23 |
24 | The Weissheiten Bootstrap package does NOT use the TYPO3.Twitter.Bootstrap package at the moment.
25 | So you have to include either that package or Bootstrap yourself in your main templates.
26 |
27 | ## Author
28 |
29 | * email: florian.weiss@weissheiten.at
30 | * url: http://www.weissheiten.at
31 | * twitter: @WeissheitenWien
32 |
33 | ## Contributors
34 |
35 | Thank you for contributing
36 | * Egobude (zeroboh@gmail.com)
37 |
--------------------------------------------------------------------------------
/Resources/Private/Templates/NodeTypes/Partials/ResponsiveImage.html:
--------------------------------------------------------------------------------
1 | {namespace neos=Neos\Neos\ViewHelpers}
2 | {namespace media=Neos\Media\ViewHelpers}
3 |
4 |
5 |
6 |
7 |
8 |
10 |
11 |
12 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | {neos:contentElement.editable(property: 'caption', node: node)}
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Changelog.txt:
--------------------------------------------------------------------------------
1 | ######################################
2 | # Bootstrap Package 2.1 for Neos 2.0 #
3 | ######################################
4 |
5 | Changes
6 | -------
7 | *) removed BreadCrumb -> Neos 2.0 core covers this well with: prototype(TYPO3.Neos:BreadcrumbMenu)
8 | *) minor adjustments from 2.0
9 | *) fixes for composer file to let versions be handled by tags instead of listing them in composer.json
10 |
11 | ################################
12 | # Bootstrap Package 1.2 stable #
13 | ################################
14 |
15 | BREAKING CHANGES
16 | -----------------
17 | *) "Menu" and "Breadcrumbmenu" have been moved to a new namespace to avoid interference with the basic implementations that come with the core
18 | Please change the use of
19 | (TYPO3.Neos:Menu) to (Weissheiten.Neos.Bootstrap:Menu)
20 | and
21 | (TYPO3.Neos:BreadcrumbMenu) to (Weissheiten.Neos.Bootstrap:BreadcrumbMenu)
22 | accordingly.
23 |
24 | Changes
25 | --------
26 | *) New NodeType: NavTab (see http://getbootstrap.com/javascript/#tabs for details)
27 | -) currently it is not possible to make a different tab than the first one the automatically selected one when loading the page containing the NavTab
28 |
29 | *) Made use of the new possibility of restricting childnodes in ContentCollections in the following nodes:
30 | -) PanelGroup
31 | -) Carousel
32 | -) NavTab
33 |
34 | Notes
35 | ------
36 | *) Button Node is still present but not implemented with interactive functionality yet
37 | *) In case you don't see all NodeTypes when adding new content please scroll down in the "add" dialog to see all elements
--------------------------------------------------------------------------------
/Resources/Private/Templates/NodeTypes/Panel.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |