79699640

Date: 2025-07-12 23:01:45
Score: 8.5
Natty: 4.5
Report link

Hy i have the same problem on an old installation; no buttos for upload,..

        $tableColumns['dateiname'] = array(
            'display_text' => 'datei',
            'maxlen'   => 100,
            'perms' => 'EVCTAXQSHOF',
            'file_upload' => array(
                'upload_fun' => array(&$this, 'handleUpload'), 
                'delete_fun' => array(&$this, 'handleDeleteFile')),
            'table_fun' => array(&$this, 'formatLinkDownload'), 
            'view_fun' => array(&$this, 'formatLinkDownload')
);

function formatLinkDownload($col,$val,$row,$instanceName,$rowNum)
    {
        $html = '';
        if (!empty($val))
        {
            $html = '<a target="_blank" href="'.htmlspecialchars($val).'">test</a>';
        }
        return $html;
    }


i tried with you code snipsets a little bit but my fiel is rendered as type="text"
can you show the                 'upload_fun' => array(&$this, 'handleUpload'), 
                'delete_fun' => array(&$this, 'handleDeleteFile')),
funktions?


Thanks
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): i have the same problem
  • RegEx Blacklisted phrase (2.5): can you show
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): i have the same problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31027931