I have a line like this it prints text link but I prefer image link how should i edit it I would appreciate some feedback
$templates['etiket'] = array('name' => t('ETİKET'), 'module' => 'uc_invoice_pdf', 'path' => $templates_uc_invoice_pdf_path, 'pdf_settings' => $pdf_settings);
current link is ETIKET
Rubble
February 28, 2011, 8:32pm
2
Without seeing any more of your code I would say you need to change ‘name’ => t(‘ETİKET’), to an image location and where the link is displayed add the image tags.
yes I am trying to do that I just want the syntax to change t(‘ETİKET’) with image location. I mean in this case t() for text but for image?
Gar_onn
February 28, 2011, 9:00pm
4
what does the function t() do?
t(‘ETİKET’) prints the link to an invoice in the web page
rguy84
February 28, 2011, 9:13pm
6
please put the code for the t fuction wrapped in [ php ] tags.