Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the problem that Dream Weaving channelartlist tags can't get external links

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report