织梦CMS调用栏目的地址(非标签调用)

摘要:调动栏目的地址,静态时为静态访问地址,动态浏览时为动态访问地址。 //zmzmb.com$sql=SELECT * FROM dede_arctype where topid=0 and ishidden = 0 order by sortrank asc,id asc;$dsql-SetQuery($sql);$dsql-Execute();$topids= arra

调动栏目的地址,静态时为静态访问地址,动态浏览时为动态访问地址。

//zmzmb.com
$sql="SELECT * FROM dede_arctype where topid=0 and ishidden = 0 order by sortrank asc,id asc";
$dsql->SetQuery($sql);
$dsql->Execute();
$topids= array();
while($arr = $dsql->GetArray()) {
	$typeurl = GetOneTypeUrlA($arr);
	//获得栏目地址
}
版权声明:本文为本站原创文章,未经本站允许不得转载。https://www.zmzmb.com/a/study/dede/122.html

织梦栏目外部链接https网址调用出错BUG解决

追梦者模板 8

现在https是网站最广泛也是提倡使用的一个协议,比如说现在的大部分第三方接口,小程序都是https协议的,主要有以下几个好处: 1、使用HTTPS协议可认证用户和服务器,确保数据发送到正确的

织梦DEDECMS首页列表页调用文章TAG标签的方法

追梦者模板 8

1.如果是dedecms v5.7版本直接使用标签 [field:id function=GetTags(@me)/] 就可以调用出来了。只不过不带连接的。 2.如果需要连接请注释掉include/helpers/archive.helper.php文件的130行, $tags .= ($tags=='' ? $row['

织梦tag提示“系统无此标签,可能已经移除”的解决方法

追梦者模板 8

今天在开发新网站搜索标签的时候,居然有2个标签提示系统无此标签,可能已经移除..但是标签确实存在在系统中 然后我的这两个标签包含大写 SEO推广 和 SEO优化.. 所以需要改下代码 找到根目录