The default picture Set home page does not fall out of content, how to solve this problem.
1, we need to modify the include/extend.func.php file
Add the following code:
Gets the Atlas content
function GetBody ($id)
{
global $dsql;
$row = $dsql->getone ("Select Body from #@__addonimages WHERE aid= ' $id '");
$res = $row [' body '];
return $res;
}
2, the front adjustment code:
{dede:arclist typeid= ' 6 ' row= ' 5 ' type= ' image. ' imgwidth= ' 376 ' imgheight= ' ' 376 ', ' limit= ' 0,5 ' orderby= ' Sortrank '}
<div class= "goods_ltcontent [field:global name=autoindex runphp= ' yes '] (@me >1)? @me = ' Sk_hide ': @me = '; [/field:global] "id=" Goods_[field:global name=autoindex runphp= ' yes '] @me = @me; [/field:global] ">
<div class=" ltctimg "></div>
<div class=" LTCTCT ">
[field:id function= ' GetBody (@me) '/]
</div>
<div class= "Ltctmore" > <a href= "[field:arcurl/]" class= "btn" > More details </a> </div >
</div>
{/dede:arclist}
Ps:
Call mode: [Field:id function= ' GetBody (@me) '/]
Typeid= ' 6 ' calls the column with ID 6.
row= ' 5 ' calls 5 messages.
limit= ' 1,5 ' calls 5 messages after 1.
Orderby= ' Sortrank ' is sorted by Sortrank.
Imgwidth= ' 376 ' picture width is 376.
imgheight= ' 376 ' picture height is 376.