Monday 08 October 2007 2:20:42 am
My cli script:
$script->setUseSiteAccess( 'siteaccess name' );
...skipped...
$template =& templateInit();
$template->setVariable( 'items', $items );
$emailContent =& $template->fetch('design:template.tpl');
Template:
{foreach $items as $item}
<a href={$item['link']|ezurl(,'full')}>{$item['title']|wash}</a></li>
{/foreach}
The problem is that ezurl returns relative but not FULL url. What's wrong?
|