{AUTHOR} tag not working inside the teaser template
Posted: Fri 10. Aug 2007, 02:13
Hi:
I put the {AUTHOR} replacement tag inside the teaser template:
<!--TEASER_ENTRY_START//-->
<hr style="margin:7px 0 7px 0;padding:0;height:0;border:0;border-bottom:1px dotted #CCCCCC;clear:both" />
<div id="resumenTeaser">
<div id="fechaTeaser">{DATE:d/m/y:ES}</div>
<h3><a href="{ARTICLELINK}">{TITLE}</a></h3>
{AUTHOR}<br />
[IMAGE]<div style="float:left"><a href="{ARTICLELINK}">{IMAGE}</a>[CAPTION]<p>{CAPTION}</p>[/CAPTION]</div>[/IMAGE]
<p>[SUBTITLE] <b>{SUBTITLE}.</b>[/SUBTITLE]
{SUMMARY} <a href="{ARTICLELINK}">»</a></p>
</div>
<!--TEASER_ENTRY_END//-->
But what I get is the owner of the article, not the author. Inside the article the replacement tag works great, but not in the teaser.
Does anyone know what to do to correct this?
Thanks
I put the {AUTHOR} replacement tag inside the teaser template:
<!--TEASER_ENTRY_START//-->
<hr style="margin:7px 0 7px 0;padding:0;height:0;border:0;border-bottom:1px dotted #CCCCCC;clear:both" />
<div id="resumenTeaser">
<div id="fechaTeaser">{DATE:d/m/y:ES}</div>
<h3><a href="{ARTICLELINK}">{TITLE}</a></h3>
{AUTHOR}<br />
[IMAGE]<div style="float:left"><a href="{ARTICLELINK}">{IMAGE}</a>[CAPTION]<p>{CAPTION}</p>[/CAPTION]</div>[/IMAGE]
<p>[SUBTITLE] <b>{SUBTITLE}.</b>[/SUBTITLE]
{SUMMARY} <a href="{ARTICLELINK}">»</a></p>
</div>
<!--TEASER_ENTRY_END//-->
But what I get is the owner of the article, not the author. Inside the article the replacement tag works great, but not in the teaser.
Does anyone know what to do to correct this?
Thanks