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.

Post reply

Can't comment until