Home > Backend Development > PHP Tutorial > dedecms picture template collected some experience using DedeCMS

dedecms picture template collected some experience using DedeCMS

WBOY
Release: 2016-07-29 08:36:37
Original
1025 people have browsed it

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.

  • Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template