[TYPO3] php help in regards to frontend logins
    dave typo 
    typothree at gmail.com
       
    Wed May  9 17:48:02 CEST 2007
    
    
  
yeah i did.
but even with that fixed, it still doesnt work
$usergroups = explode(',', $logged['usergroups']);
t3lib_div::debug($logged);
if (in_array(8, $usergroups)) {
           $this->markContentArray["###DOWNLOAD_LINK###"] = '';
           if($this->conf['addDownloadLink']) {
               $this->markContentArray["###DOWNLOAD_LINK###"] = '<a
href="' . $info['origFile'] . '"' .
                       $target.$GLOBALS['TSFE']->ATagParams .
'>download original image</a>';
               }
       }
If you could just get me to get the debug to work, that would be great too
thanks
On 5/9/07, Martin Mifsud <martin.mifsud at bikealert.com> wrote:
>
>
> dave typo wrote:
> > if (in_array($8, usergroups)) {
>
> Think you mixed up which one has the $ ??
>
> Can't help with anything else, sorry.
>
>
> --
> Martin Mifsud
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
    
    
More information about the TYPO3-english
mailing list