Dedecms Call Ucenter Home latest album

Source: Internet
Author: User
Keywords Dedecms ucenter

The following content will teach you how to invoke Ucenter home latest album in Dedecms!

Picture (call one for each album) + author + photo Album name + number (each photo album contains number of sheets)
All links to the Space personal homepage of this album thumbnail list

The

Code is as follows:
&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp;         
{dede:sql sql= "select * from Uchome_album FORCE INDEX (updatetime) Order by Dateline DESC LIMIT"}
<li>
<a href= "Uchome address/space.php?uid=[field:uid/]&do=album&id=[field:albumid/]" target= " _blank "><img src=" Uchome address/attachment/[field:pic] "/" "Imgwidth=" 124 "imgheight=" ></A>
<a Style= "Link:text-decoration:none; Color: #0088bb; "href=" Uchome address/space.php?uid=[field:uid/]&do=album&id=[field:albumid/] "target= _blank" >[field:username/][field:title_template function= ' Str_replace ("{actor}", "", @me) '/]</a>
<a href= ' Uchome address/space.php?uid=[field:uid/]&do=album&id=[field:albumid/] "target=" _blank ">[field:albumname/" [Field:title_template function= ' Str_replace ("{actor}", "", @me) '/]</a>
<a style= ' link:text-decoration: None; Color: #999; "href=" Uchome address/space.php?uid=[field:uid/]&Amp;do=album&id=[field:albumid/] "target=" _blank > ([field:picnum/] amplitude) </a>
</li>
{/dede: SQL}

Please replace the Uchome address with your ucenter home access URL, and you can adjust the code to suit your needs.

Related Article

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.