在使用smarty模板的文章网站上,我需要截断主要内容以创建预告片。我可以通过字符截断,但第一段的长度是完全未知的文章。 我想要的东西更聪明,只是表明第一段: 内容: This is my first paragraph and I want to display this and only this.
This the rest of the content and it is very l
我在我的calendar.tpl文件中有smarty数组。我尝试将该数组发送到javascript.but但我不知道该怎么做。 PHP文件 public function hookDisplayCarrierExtraContent()
{
$DeliveryWeek=new DeliveryWeek();
$resul=$DeliveryWeek->getweekday();
$