[TYPO3-templavoila] New page not inherit template automatically
    Christopher 
    bedlamminusspamhotel at gmail.com
       
    Mon Apr 24 20:40:58 CEST 2006
    
    
  
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.
> 
Weird fix. Any idea _why_ it works? The BE submits forms with '<input 
type="image" ... />' all over the place doesn't it?
-Christopher
    
    
More information about the TYPO3-project-templavoila
mailing list