Dedecms Picture Template Collection of Dedecms some use experience

Source: Internet
Author: User
The following are turned around, but only to complement its official shortcomings, in fact, it does not talk about the function of the disaster, hehe, keep the first
1, in the article list, some of the title has been truncated, how to use the point end?
What code allows the mouse to display the full file name at the top?
{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 in front of the article column?
    {dede:arclist row=10 orderby=pubdate}
    · [field:typelink/] [field:textlink/]

    {/dede:arclist}
    3. Use CSS to truncate long headings and add ellipses
    We recommend that you use this to set.
    Feel how much it is related to how fast the root tag is generated. So you can use CSS without parsing as far as possible with CSS Bar ~
    Overflow:hidden; text-overflow:ellipsis;white-space:nowrap;width:100%;width:100%;
    The container must be set to a width. Otherwise it will not achieve the effect OH.

    The above describes the Dedecms image template collection of Dedecms some experience, including the Dedecms picture template aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.