Open the file
/include/taglib/channel.lib.php
Find the code
else if($type=='self') { if($reid==0) return ''; $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath FROM `#@__arctype` WHERE reid='$reid' And ishidden1 order by sortrank asc limit 0, $line "; }add it after it
else if($type=='topone') { if($reid==0) return ''; $rowR = $dsql->GetOne("SELECT * FROM `dede_arctype` WHERE id='$typeid' "); $topids = $rowR['topid']; $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath FROM `dede_arctype` WHERE reid='0' And id='$topids' And ishidden1 order by sortrank asc limit 0, $line "; } else if($type=='fatherlist') { $rowR = $dsql->GetOne("SELECT * FROM `dede_arctype` WHERE id='$typeid' "); $reid = $rowR['reid']; $rowR = $dsql->GetOne("SELECT * FROM `dede_arctype` WHERE id='$reid' "); $reid = $rowR['reid']; $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath FROM `dede_arctype` WHERE reid='$reid' And ishidden1 order by sortrank asc limit 0, $line "; }can then call the parent column and parent top-level column in the template:
{dede:channel type='fatherlist'}[field:typename/]{/dede:channel}
{dede:channel type='topone'}[field:typename/]{/dede:channel}
Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above introduces the link and name of the parent column called by Dreamweaver, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

php提交表单通过后,弹出的对话框怎样在当前页弹出php提交表单通过后,弹出的对话框怎样在当前页弹出而不是在空白页弹出?想实现这样的效果:而不是空白页弹出:------解决方案--------------------如果你的验证用PHP在后端,那么就用Ajax;仅供参考:HTML code<form name="myform"

dede+php低版本出现500错误解决方法:1、使用最新版本的PHP,最新版本的PHP包括更多的特性和工具,可以帮助你更轻松地开发应用程序;2、检查错误日志,以确定错误的具体位置和原因;3、检查PHP扩展,并确保它们是最新版本,并且与你的PHP版本兼容。

dede去掉index.html的方法:1、替换index.php的内容生成动态;2、直接删除CMS根目下的index.php文件;3、使用htaccess文件去掉index.html;4、在主机里面设置默认首页顺序。

随着网络技术的不断发展,越来越多的人开始涉足网站开发领域,其中,PHP作为目前最为流行的开发语言之一,被广泛地应用于各类网站的搭建。然而,在使用dede系统搭建网站时,有些用户反映系统设置中缺少PHP5.3.4版本,今天我们就来探讨下这个问题的解决方法。

dede去掉html的方法:1、直接删除CMS根目下的index.php文件;2、在根目录的.htaccess里加入代码“DirectoryIndex index.html index.php index.htm”;3、在主机里面设置默认首页顺序;4、替换index.php的内容生成动态即可。

图片消失如何解决先是图片文件上传$file=$_FILES['userfile']; if(is_uploaded_file($file['tmp_name'])){$query=mysql_query("INSERT INTO gdb_banner(image_src ) VALUES ('images/{$file['name'

不用数据库来实现用户的简单的下载,代码如下,但是却不能下载,请高手找下原因,文件路劲什么的没问题。<?phpfunction down_file($file_name,$file_sub_dir){//为防止乱码使用函数iconv$file_name=iconv("utf-8","gb2312",$file_

为什么我在php上写的这个代码,在浏览器上什么都不显示啊<?php if(isset($_POST['Submit'])&& $_POST['Submit']=="登陆"){ $user=$_POST['user']; $pass=$_POST['pass']; if(empt


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download
The most popular open source editor

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool