[TYPO3-templavoila]  Disable edit icon from top left corner
    Tapio Markula 
    tapio.markula at atwebteam.com
       
    Sun Jan  7 16:23:08 CET 2007
    
    
  
Hi
I found that it is not possible to disable the edit icon
in the top left corner of the page in front end editing
when edit icons have been enabled.
That is hardcoded into source code of the pi1-function
     // Edit icon (frontend editing):
                         $eIconf = 
array('styleAttribute'=>'position:absolute;');
                         if ($table=='pages') 
$eIconf['beforeLastTag']=-1;    // For "pages", set icon in top, not after.
                         $content = 
$this->pi_getEditIcon($content,'tx_templavoila_flex','Edit 
element',$row,$table,$eIconf);
It is *very annoying* that this has been hardcoded into source
without option to disable. This is from the author *very bad habit*!
Good practise would be set this configurable either defening this in TS 
setup.txt or adding an option to disable this.
I must create an XCLASS fro the pi-class because of bad coding habit.
    
    
More information about the TYPO3-project-templavoila
mailing list