[TYPO3-templavoila] Feature-Request

Marco Peemöller listen at goto-marco.de
Thu Jan 24 10:49:23 CET 2008


Hi & Hi Dmitry,

where can i report bugs or feature-request for templavoila?

It was nice to have new registers in templavoila for sections in 
tx_templavoila_pi1->processDataValues() near:

*************************
// For each DS element:
foreach($DSelements as $key => $dsConf)	{
...							foreach($dataValues[$key]['el'] as $ik => $el)	{
								$GLOBALS['TSFE']->register["tx_templavoila_pi1.IsFirstSection"] 
= $registerIsFirst;
								$GLOBALS['TSFE']->register["tx_templavoila_pi1.CounterSection"] 
= $registerCounter;
								$GLOBALS['TSFE']->register["tx_templavoila_pi1.IsLastSection"] = 
count($dataValues[$key]['el']) == $registerCounter ? 1 : 0;
								$registerIsFirst = 0;
								$registerCounter++;

***********************

Typoscript Example

***********************
20 = TEXT
20.wrap = <ul|
20{		
	if.equals = 1
	if.value.data = register:tx_templavoila_pi1.IsFirstSection
}
10 = TEXT
10.current = 1
10.datawrap = <li 
class="counter_{register:tx_templavoila_pi1.CounterSection}">|</li>
20 = TEXT
20.wrap = |</ul>
20{		
	if.equals = 1
	if.value.data = register:tx_templavoila_pi1.IsLastSection
}

*****************

It is possible?

Thx,

Marco


More information about the TYPO3-project-templavoila mailing list