Ecmall 's homepage is basically implemented by the form of a pendant. Ecmall all the pendant programs are under the External\widgets file. Ecmall Home Bulletin Plug-in, is the notice directory inside.
Analysis of the file inside, config.html is some script parameters, and widget.info.php is a description of the pendant. The most important is main.widget.php and widget.html where widget.html is the template for the pendant, and it is also the standard Ecmall Smarty label.
Widget.html, there is a section of code below.
<ul class= "News_list" >
<!--{foreach from= $widget _data.notices item=article}-->
<li>{$article. add_time|date:m-d} <a href= "index.php?app=article&act=view&article_id={$ ARTICLE.ARTICLE_ID} "title=" {$article. Title|escape} ">{$article .title|escape}</a></li>
<!--{/foreach}-->
</ul>
He is used to display information about the display of the pendant.
{$article. add_time|date:m-d} is the time in which the article was published. {$article. Title|escape} is the title name of the article.
If you want to modify them, you need to adjust these local variables.
Ecmall Announcement Pendant Analysis (RPM)--This pendant has been written in an updated notation.