The solution to the problem that Dream Weaving channelartlist tags can't get external links
This article mainly introduces the solution to Weaving Dream channelartlist tags can not get external links, the article is very detailed, has a certain reference value, interested friends must read it!
Dream channelartlist tags can not get external links how to do?
The solution that Dream Weaving channelartlist tags can't get external links
Recommended study: dream weaving cms
When making drop-down menus, Dede can use channelartlist loops to call top-level columns and sub-columns, but the label cannot get external links
When the drop-down menu, a piece of code can output multiple top-level and child columns at the same time.
{dede:channelartlist row=6} can only be used on the home page, and the subpages should be changed to {dede:channelartlist row=6 typeid='top'} {dede:field name='typename'/} > {dede:channel type='son' noself='true'} [field:typename/] {/ dede:channel} {/ dede:channelartlist}.
Note: if you want to control the number of top-level columns, please change the red row parameter in the first row above
But in this loop, if the column attribute is an external link, it will not be output. If you need to display an external link, you can find include/taglib/channelartlist.lib.php line 67 or so to remove the red code.
$tpsql = "reid=0 AND ispart2 AND ishidden1 AND channeltype > 0"
Change to
$tpsql = "reid=0 AND ishidden1 AND channeltype > 0"; this is all the way to solve the problem that Dream Weaving channelartlist tags cannot get external links. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!