Commit f19bf5ff authored by Dirk Wildt's avatar Dirk Wildt

0.0.8

parent 4962399a
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
......
......@@ -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;
}
......
......@@ -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 )
{
......
.. ==================================================
.. 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
.. ==================================================
.. 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
......@@ -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
......@@ -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 Ticket</target>
<source>Color, if selled</source>
<target>Farbe wenn verkauft</target>
</trans-unit>
<trans-unit id="tx_tile_pi1.name">
<source>Pi1</source>
......
......@@ -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 Ticket</target>
<source>Color, if selled</source>
<target>Farbe wenn verkauft</target>
</trans-unit>
<trans-unit id="tx_tile_pi1.name">
<source>Pi1</source>
......
......@@ -6,11 +6,11 @@ $EM_CONF[$_EXTKEY] = [
'category' => 'plugin',
'author' => 'Dirk Wildt (Die Netzmacher)',
'author_email' => 'http://wildt@die-netzmacher.de',
'state' => 'alpha',
'state' => 'beta',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '0.0.8',
'version' => '0.0.9',
'constraints' => [
'depends' => [
'typo3' => '8.7.0-9.5.99',
......
<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
<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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment