Create an image in a block view template, the images is in the theme directory ?

Permalink
Hi !

On some block views I will use a link to the top of a page. I will decorate the link with an image which is in a theme/images directory.

How can I create a url for the image tag, referenced an image in the theme directory.

Hope you understand :-)
Thx

wguggen
 
Mnkras replied on at Permalink Reply
Mnkras
<?=$this->getThemePath()?>
?

that? so like

<link href="<?=$this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" />
wguggen replied on at Permalink Reply
wguggen
I habe tried this und use it for site templates but in a block template it would not work.

I always get an empty string back as theme path.
jordanlev replied on at Permalink Reply
jordanlev