The following are all transferred over, just to make up for its official shortcomings. In fact, its functions have not been mentioned. Haha, keep it first
1. In the article list, some titles are truncated. How can I use them? Click the end?
What kind of code can be used to display the complete file name when the mouse is on it?
{dede:arclist row=16 orderby=pubdate col=1 typeid=3}
· [field:title function="cn_substr('@me',30)" /]{/dede:arclist}
2. How to display the article column in front of the article name?
{dede:arclist row=10 orderby=pubdate}
·[field:typelink/] [field:textlink/]< ;br/>
{/dede:arclist}
3. Use CSS to truncate overly long titles and add ellipsis
It is recommended that you use this setting.
I feel that the generation speed of the root tag has something to do with it. So if you can use CSS without parsing, try to use CSS~
overflow:hidden; text-overflow:ellipsis;white-space:nowrap;width:100%;width:100%;
The container must set a width. Otherwise, the effect cannot be achieved.
The above introduces some experience of using DedeCMS collected by dedecms picture template, including the content of dedecms picture template. I hope it will be helpful to friends who are interested in PHP tutorials.