DedeCms DedeCMS Sub column The advantage is that an article can be displayed in multiple columns at the same time, but on the home page and cover channel Template Medium means that the content of sub columns cannot be displayed, especially the sub columns selected in the sub category.
The solution is as follows:
Modify the file/include/taglib/arclist.lib.php around line 189
if($CrossID=='') $orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).')';
else
$orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).','.$ CrossID.')';
Replace with:
if($CrossID=='')
$orwheres[] = ' typeid in ('.GetSonIds($typeid).') or typeid2 in ('.GetSonIds($typeid).')';
else
$orwheres[] = ' typeid in ('.GetSonIds($typeid).','.$ CrossID.') or typeid2 in ('.GetSonIds($typeid).','.$ CrossID.')';
After modification, save and generate.
Statement: All articles on this site, unless otherwise specified or marked, are originally published on this site. No individual or organization is allowed to copy, embezzle, collect and publish the content of this website to any website, book and other media platforms without the consent of this website. If the content of this website infringes upon the legitimate rights and interests of the original author, please contact us for handling.