网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   帝国Cms (https://www.0058.net/forumdisplay.php?f=72)
-   -   帝国cms怎么把自定义字段做成分类列表? (https://www.0058.net/showthread.php?t=5264)

Fabian 2015-09-27 10:17 AM

帝国cms怎么把自定义字段做成分类列表?
 
如一个自定义字段名是patent_abstract,如何从patent_abstract截取开始260个字符作为meta tag中的description呢?
Code:

<meta name="description" content="<?=esub(strip_tags($navinfor['patent_abstract']),240)?>" />


All times are GMT +8. The time now is 04:06 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.