Resolves to call a secondary column in a list page, but the list page article does not display the method:
Open/include/taglib/arclist.lib.php, the original code is as follows:
if ($CrossID = = ") $orwheres [] = ' Arc.typeid in ('. Getsonids ($typeid). ') ';
else $orwheres [] = ' Arc.typeid in ('. Getsonids ($typeid). ', '. $CrossID. ') ';
Replace it with the following code:
if ($CrossID = = ")
$orwheres [] = "(Arc.typeid in (). Getsonids ($typeid). ") or Arc.typeid2 in (". Getsonids ($typeid). ") or CONCAT (', ', Arc.typeid2, ', ') like '%, '. $typeid. ",% ')";
Else
$orwheres [] = "(Arc.typeid in (). Getsonids ($typeid). ",". $CrossID. ") or Arc.typeid2 in (". Getsonids ($typeid). ",". $CrossID. ") or CONCAT (', ', Arc.typeid2, ', ') like '%, '. $typeid. ",% ')";
Well, the above is a small series for you to organize an article on the DEDECMS label Artlist call two times to develop changes to the content and location, I hope the article to bring help to you.