[TYPO3-templavoila] New page not inherit template automatically

Gideon So gideonso at livingwater.org.hk
Mon Apr 24 15:24:47 CEST 2006


Hi Marc,

	Do this works in firefox also???

Gideon

Marc Ehret wrote:
> Hi Gideon,
> 
> try this (templavoila 1.0.1):
> 
> Edit templavoila/mod1/class.tx_templavoila_mod1_wizards.php.
> 
> 
> In Line 271:
> 
> Replace
> 
> $previewIcon = '<input type="image" class="c-inputButton" 
> name="data[tx_templavoila_to]" value="'.$row['uid'].'" 
> src="'.$previewIconFilename.'" title="" />';
> 
> with
> 
> $previewIcon = '<input type="submit" class="c-inputButton" 
> name="data[tx_templavoila_to]" value="'.$row['uid'].'" 
> style="background:url('.$previewIconFilename.') 
> no-repeat;display:block;width:50px;height:60px;cursor:pointer;line-height:100em;text-indent:-100px;overflow:hidden;" 
> title="" />';
> 
> 
> Selecting a page-template should work now in IE.
> 
> Marc.



More information about the TYPO3-project-templavoila mailing list