Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tile
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
typo3
tile
Commits
f19bf5ff
Commit
f19bf5ff
authored
Jul 15, 2019
by
Dirk Wildt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.0.8
parent
4962399a
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
90 additions
and
89 deletions
+90
-89
ChangeLog
ChangeLog
+7
-1
Classes/Utility/Caddy/CaddySessionUtility.php
Classes/Utility/Caddy/CaddySessionUtility.php
+1
-0
Classes/ViewHelpers/Get/CellClassViewHelper.php
Classes/ViewHelpers/Get/CellClassViewHelper.php
+4
-2
Documentation/KnownBugs/Frontend/Index.rst
Documentation/KnownBugs/Frontend/Index.rst
+20
-0
Documentation/KnownBugs/Frontend/Tiles/Index.rst
Documentation/KnownBugs/Frontend/Tiles/Index.rst
+25
-0
Documentation/KnownBugs/Index.rst
Documentation/KnownBugs/Index.rst
+9
-1
Resources/Private/Language/de.locallang_db.xlf
Resources/Private/Language/de.locallang_db.xlf
+10
-6
Resources/Private/Language/locallang_db.xlf
Resources/Private/Language/locallang_db.xlf
+10
-6
ext_emconf.php
ext_emconf.php
+2
-2
ext_typoscript_constants.typoscript
ext_typoscript_constants.typoscript
+1
-18
ext_typoscript_setup.typoscript
ext_typoscript_setup.typoscript
+1
-53
No files found.
ChangeLog
View file @
f19bf5ff
0.0.
8
0.0.
9
19-07-13
Improvements
* #i0003: State: alpha to beta
* #i0002: Clean up TypoScript
0.0.8
19-07-15
Feature
* #t3869: Caddy
...
...
Classes/Utility/Caddy/CaddySessionUtility.php
View file @
f19bf5ff
...
...
@@ -104,6 +104,7 @@ class CaddySessionUtility
$space
=
$this
->
_getSessionSpace
();
$sessionData
=
$GLOBALS
[
'TSFE'
]
->
fe_user
->
getKey
(
$space
,
$this
->
_extKey
.
'_'
.
$this
->
_pid
);
//var_dump( __METHOD__, __LINE__, $space, $this->_extKey . '_' . $this->_pid, $sessionData );
return
$sessionData
;
}
...
...
Classes/ViewHelpers/Get/CellClassViewHelper.php
View file @
f19bf5ff
...
...
@@ -226,9 +226,10 @@ class CellClassViewHelper extends AbstractFlexformViewHelper
$uidProductsInTheCaddy
=
$this
->
_getUidsFromCaddy
();
$uidProduct
=
$this
->
_cell
->
getTxTileProduct
()
->
getUid
();
//var_dump( __METHOD__, __LINE__, $uidProduct, ( array ) $uidProductsInTheCaddy );
switch
(
true
)
{
case
(
in_array
(
$uidProduct
,
$uidProductsInTheCaddy
))
:
case
(
in_array
(
$uidProduct
,
(
array
)
$uidProductsInTheCaddy
))
:
$status
=
'caddy'
;
break
;
case
(
$this
->
_cell
->
getTxTileProduct
()
->
getStockquantity
()
>=
1
)
:
...
...
@@ -347,9 +348,10 @@ class CellClassViewHelper extends AbstractFlexformViewHelper
$content
=
$contentRepository
->
findByUid
(
$caddyUid
);
$caddyPid
=
$content
->
getPid
();
//var_dump( __METHOD__, __LINE__,$caddyUid, $caddyPid );
$CaddySessionUtility
=
GeneralUtility
::
makeInstance
(
CaddySessionUtility
::
class
,
$caddyPid
);
$sessionData
=
$CaddySessionUtility
->
GetSessionData
();
//
var_dump( __METHOD__, __LINE__,$sessionData[ 'items' ]
);
//
var_dump( __METHOD__, __LINE__,$sessionData
);
foreach
(
(
array
)
$sessionData
[
'items'
]
as
$item
)
{
...
...
Documentation/KnownBugs/Frontend/Index.rst
0 → 100644
View file @
f19bf5ff
.. ==================================================
.. FOR YOUR INFORMATION
.. --------------------------------------------------
.. -*- coding: utf-8 -*- with BOM.
.. include:: ../../Includes.txt
.. _knownbugs_frontend:
Frontend
========
**Table of Contents**
.. toctree::
:maxdepth: 3
:titlesonly:
Tiles/Index
\ No newline at end of file
Documentation/KnownBugs/Frontend/Tiles/Index.rst
0 → 100644
View file @
f19bf5ff
.. ==================================================
.. FOR YOUR INFORMATION
.. --------------------------------------------------
.. -*- coding: utf-8 -*- with BOM.
.. include:: ../../../Includes.txt
.. _knownbugs_frontend_tiles:
Tiles
=====
Caddy color
-----------
Bug: Product is part of the caddy, but tiles don't have the caddy color
Please check:
'''''''''''''
* Plugin: Did you linked to the proper caddy (if you are using more than one caddy on the same website)?
* Constant Editor: Did you entered the proper pages and folders for the extensions Caddy and Quick Shop?
\ No newline at end of file
Documentation/KnownBugs/Index.rst
View file @
f19bf5ff
...
...
@@ -9,4 +9,12 @@
.. _knownbugs:
Known Bugs
==========
\ No newline at end of file
==========
**Table of Contents**
.. toctree::
:maxdepth: 3
:titlesonly:
Frontend/Index
\ No newline at end of file
Resources/Private/Language/de.locallang_db.xlf
View file @
f19bf5ff
...
...
@@ -11,6 +11,10 @@
<source>
Display tiles (can take a long time)
</source>
<target>
Kacheln anzeigen (kann lange dauern)
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_area.image"
>
<source>
Background image
</source>
<target>
Hintergrundbild
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_area.lenx"
>
<source>
Length
</source>
<target>
Länge
</target>
...
...
@@ -148,16 +152,16 @@
<target>
Name
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_ticket.tx_tile_csscaddy"
>
<source>
Color
for a ticket
in the caddy
</source>
<target>
Farbe
für ein Ticket
im Warenkorb
</target>
<source>
Color
, if
in the caddy
</source>
<target>
Farbe
wenn
im Warenkorb
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_ticket.tx_tile_cssdefault"
>
<source>
Color
for a ticket
</source>
<target>
Farbe
für ein Ticket
</target>
<source>
Color
</source>
<target>
Farbe
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_ticket.tx_tile_cssselled"
>
<source>
Color
for a selled ticket
</source>
<target>
Farbe
für verkauftes Ticke
t
</target>
<source>
Color
, if selled
</source>
<target>
Farbe
wenn verkauf
t
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_pi1.name"
>
<source>
Pi1
</source>
...
...
Resources/Private/Language/locallang_db.xlf
View file @
f19bf5ff
...
...
@@ -11,6 +11,10 @@
<source>
Display tiles (can take a long time)
</source>
<target>
Kacheln anzeigen (kann lange dauern)
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_area.image"
>
<source>
Background image
</source>
<target>
Hintergrundbild
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_area.lenx"
>
<source>
Length
</source>
<target>
Länge
</target>
...
...
@@ -148,16 +152,16 @@
<target>
Name
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_ticket.tx_tile_csscaddy"
>
<source>
Color
for a ticket
in the caddy
</source>
<target>
Farbe
für ein Ticket
im Warenkorb
</target>
<source>
Color
, if
in the caddy
</source>
<target>
Farbe
wenn
im Warenkorb
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_ticket.tx_tile_cssdefault"
>
<source>
Color
for a ticket
</source>
<target>
Farbe
für ein Ticket
</target>
<source>
Color
</source>
<target>
Farbe
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_domain_model_ticket.tx_tile_cssselled"
>
<source>
Color
for a selled ticket
</source>
<target>
Farbe
für verkauftes Ticke
t
</target>
<source>
Color
, if selled
</source>
<target>
Farbe
wenn verkauf
t
</target>
</trans-unit>
<trans-unit
id=
"tx_tile_pi1.name"
>
<source>
Pi1
</source>
...
...
ext_emconf.php
View file @
f19bf5ff
...
...
@@ -6,11 +6,11 @@ $EM_CONF[$_EXTKEY] = [
'category'
=>
'plugin'
,
'author'
=>
'Dirk Wildt (Die Netzmacher)'
,
'author_email'
=>
'http://wildt@die-netzmacher.de'
,
'state'
=>
'
alph
a'
,
'state'
=>
'
bet
a'
,
'uploadfolder'
=>
0
,
'createDirs'
=>
''
,
'clearCacheOnLoad'
=>
0
,
'version'
=>
'0.0.
8
'
,
'version'
=>
'0.0.
9
'
,
'constraints'
=>
[
'depends'
=>
[
'typo3'
=>
'8.7.0-9.5.99'
,
...
...
ext_typoscript_constants.typoscript
View file @
f19bf5ff
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:tile/Configuration/TypoScript/_constants.ts">
XXXmodule.tx_tile_md1 {
view {
# cat=TILE – MODULE – VIEW/file; type=string; label=Path to template root (BE)
templateRootPath = EXT:tile/Resources/Private/Module/Templates/
# cat=TILE – MODULE – VIEW/file; type=string; label=Path to template partials (BE)
partialRootPath = EXT:tile/Resources/Private/Module/Partials/
# cat=TILE – MODULE – VIEW/file; type=string; label=Path to template layouts (BE)
layoutRootPath = EXT:tile/Resources/Private/Module/Layouts/
}
persistence {
# cat=TILE – MODULE – PERSISTENCE//a; type=string; label=Default storage PID
storagePid =
# cat=TILE – MODULE – PERSISTENCE//a; type=string; label=Levels
recursive = 999
}
}
\ No newline at end of file
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:tile/Configuration/TypoScript/_constants.ts">
\ No newline at end of file
ext_typoscript_setup.typoscript
View file @
f19bf5ff
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:tile/Configuration/TypoScript/_setup.ts">
// empty statement for proper comments only
lib {
}
// tile
lib =
lib {
// math
tile =
tile {
// current, prioriCalc
math = TEXT
math {
current = 1
prioriCalc = 1
}
}
}
// empty statement for proper comments only
module {
}
// tx_tile_web_tilemd1
module =
module {
// persistence, view
tx_tile_web_tilemd1 =
tx_tile_web_tilemd1 {
// recursive, storagePid
persistence =
persistence {
recursive = {$module.tx_tile_md1.persistence.recursive}
storagePid = {$module.tx_tile_md1.persistence.storagePid}
}
// templateRootPaths, partialRootPaths, layoutRootPaths
view =
view {
templateRootPaths {
0 = EXT:tile/Resources/Private/Module/Templates/
1 = {$module.tx_tile_md1.view.templateRootPath}
}
partialRootPaths {
0 = EXT:tile/Resources/Private/Module/Partials/
1 = {$module.tx_tile_md1.view.partialRootPath}
}
layoutRootPaths {
0 = EXT:tile/Resources/Private/Module/Layouts/
1 = {$module.tx_tile_md1.view.layoutRootPath}
}
}
}
}
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:tile/Configuration/TypoScript/_setup.ts">
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment