• <i id='r3tgph29'><tr id='quh2qirl'><dt id='vnc77x51'><q id='5isp5uc3'><span id='zxhcygyc'><b id='mo5c28hc'><form id='jm0fz3lx'><ins id='apezfw3i'></ins><ul id='cr4reu1i'></ul><sub id='zpj2nj7i'></sub></form><legend id='svrwjyas'></legend><bdo id='47j1s4fc'><pre id='qfewpwui'><center id='wnzktta9'></center></pre></bdo></b><th id='f2ru8djp'></th></span></q></dt></tr></i><div id='trlvwejk'><tfoot id='ofslfozd'></tfoot><dl id='gu83vq4z'><fieldset id='5jvhk63j'></fieldset></dl></div>

    <legend id='o7d21luk'><style id='02oygrqz'><dir id='tx56kvu5'><q id='vjh697kp'></q></dir></style></legend>

        <bdo id='nqo5frhj'></bdo><ul id='x3rn4qnw'></ul>

      1. <small id='g6n5mkwm'></small><noframes id='13ydas4n'>

        <tfoot id='qbb4pqju'></tfoot>

        精准传达 • 价值共享

        洞悉互联网前沿资讯,探寻网站营销规律

        网站栏目大图 栏目小图 英文名称 手动添加的方法

        作者: 庚午网络 | 2020-11-21 00:58 |点击:

        1. <small id='xsqb9rcy'></small><noframes id='ybvuhjtn'>

            <i id='zfhaxxp9'><tr id='z5ksrv15'><dt id='p2znm9ek'><q id='0et1z2eg'><span id='dh5jlusg'><b id='5j6ozlst'><form id='cyxgxz2l'><ins id='cavxvntp'></ins><ul id='vu8e7vff'></ul><sub id='2yuc4k71'></sub></form><legend id='9okkkhnx'></legend><bdo id='8z18v4b2'><pre id='n5jzyy6p'><center id='tttgcdun'></center></pre></bdo></b><th id='8w2qxrgi'></th></span></q></dt></tr></i><div id='n78y36ue'><tfoot id='rcpghuhy'></tfoot><dl id='6nz9zlpo'><fieldset id='fe4hylw5'></fieldset></dl></div>
                <tbody id='j02p3g5k'></tbody>
            1. <legend id='gyeve2zt'><style id='pwh0hi4r'><dir id='j4ishcvl'><q id='n11mywj4'></q></dir></style></legend>
                  <bdo id='s3jlzxtc'></bdo><ul id='gmxmi793'></ul>

                • <tfoot id='adigrccl'></tfoot>


                  以下是网站栏目大图 栏目小图 英文名称 手动添加的方法

                  1、添加2个文件到后台目录

                  • /dede/catalog_up.php
                  • /dede/js/catalog.js

                  文件下载

                  链接: https://pan.baidu.com/s/1fkzxldVho6JeFznNMWjLpQ 提取码: yjqs

                   

                  2、添加代码

                  8.1、/dede/templets/catalog_add.htm 找到

                  onSubmit="return checkSubmit();"

                  改成

                  onSubmit="return checkSubmit();" enctype="multipart/form-data"

                  继续找到

                  name="typename"

                  在它下面的</tr>另起一行插入代码

                   

                  1. <script language='javascript' src='js/catalog.js'></script>
                    <tr>
                    <td class='bline' height="26" style="padding-left:10px;"> 英文名称: </td>
                    <td class='bline'>
                    <input name="enname" id="enname" type="text" size="30" class="iptxt" />
                    </td>
                    </tr>
                    <tr>
                    <td height="24" colspan="5" class="bline">
                    <table width="800" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="26" style="padding-left:10px;"> 栏目大图: </td>
                    <td width="482">
                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                    <td height="30">
                    <input name="litpic" id="litpic" type="text" style="width:220px;opacity:1;margin-left:0;cursor:auto;" value="" />
                    <input type="button"  value="本地上传" style="width:70px;cursor:pointer;" />
                    <iframe name='uplitpicfra' id='uplitpicfra' src='' width='200' height='200' style='display:none'></iframe>
                    <span class="litpic_span"><input name="bigpic" type="file" id="bigpic"  onChange="SeePicNew(this, 'divpicview', 'uplitpicfra', 165, 'catalog_add.php','save','bigpic','litpic');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;" /></span>
                    <input type="button" name="Submit2" value="站内选择" style="margin-left:8px;" onClick="SelectImageN('form1.litpic','imgstick','picview');" class='np coolbg'/>
                    <input type='checkbox' class='np' name='ddisremote' value='1'>远程 
                    </td>
                    </tr>
                    </table>
                    </td>
                    <td width="160" align="center">
                    <div id='divpicview' class='divpre'><img height="50" src="images/pview.gif"></div>
                    </td>
                    </tr>
                    </table>
                    </td>
                    </tr>
                    <tr>
                    <td height="24" colspan="5" class="bline">
                    <table width="800" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="26" style="padding-left:10px;"> 栏目小图: </td>
                    <td width="482">
                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                    <td height="30">
                    <input name="litimg" id="litimg" type="text" style="width:220px" value="" />
                    <input type="button"  value="本地上传" style="width:70px;cursor:pointer;" />
                    <iframe name='upsmallpicfra' id='upsmallpicfra' src='' width='200' height='200' style='display:none'></iframe>
                    <span class="litpic_span"><input name="smallpic" type="file" id="smallpic"  onChange="SeePicNew(this, 'divsmallpicview', 'upsmallpicfra', 165, 'catalog_add.php', 'save', 'smallpic', 'litimg');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;"/></span>
                    <input type="button" name="Submit2" value="站内选择" style="margin-left:8px;" onClick="SelectImageN('form1.litimg','imgstick','smallpicview');" class='np coolbg'/>
                    <input type='checkbox' class='np' name='ddisremote2' value='1'>远程 
                    </td>
                    </tr>
                    </table>
                    </td>
                    <td width="160" align="center">
                    <div id='divsmallpicview' class='divpre'><img height="50" src="images/pview.gif"></div>
                    </td>
                    </tr>
                    </table>
                    </td>
                    </tr>

                   

                  /dede/templets/catalog_edit.htm 找到

                  onSubmit="return checkSubmit();"

                  改成

                  onSubmit="return checkSubmit();" enctype="multipart/form-data"

                  继续找到

                  name="typename"

                  在它下面的</tr>另起一行插入代码

                   

                  1. <script language='javascript' src='js/catalog.js'></script>
                    <tr>
                    <td class='bline' height="26" style="padding-left:10px;"> 英文名称: </td>
                    <td class='bline'>
                    <input name="enname" id="enname" type="text" size="30" class="iptxt" value="<?php echo $myrow['enname']?>" />
                    </td>
                    </tr>
                    <tr>
                    <td height="24" colspan="5" class="bline">
                    <table width="800" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="26" style="padding-left:10px;"> 栏目大图: </td>
                    <td width="482">
                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                    <td height="30">
                    <input name="litpic" id="litpic" type="text" style="width:220px;opacity:1;margin-left:0;cursor:auto;" value="<?php echo $myrow['litpic']?>" />
                    <input type="button"  value="本地上传" style="width:70px;cursor:pointer;" />
                    <iframe name='uplitpicfra' id='uplitpicfra' src='' width='200' height='200' style='display:none'></iframe>
                    <span class="litpic_span"><input name="bigpic" type="file" id="bigpic"  onChange="SeePicNew(this, 'divpicview', 'uplitpicfra', 165, 'catalog_edit.php','save','bigpic','litpic');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;" /></span>
                    <input type="button" name="Submit2" value="站内选择" style="margin-left:8px;" onClick="SelectImageN('form1.litpic','imgstick','picview');" class='np coolbg'/>
                    <input type='checkbox' class='np' name='ddisremote' value='1'>远程 
                    </td>
                    </tr>
                    </table>
                    </td>
                    <td width="160" align="center">
                    <div id='divpicview' class='divpre'><img height="50" src="<?php if($myrow['litpic']!="") echo $myrow['litpic']; else echo "images/pview.gif";?>"></div>
                    </td>
                    </tr>
                    </table>
                    </td>
                    </tr>
                    <tr>
                    <td height="24" colspan="5" class="bline">
                    <table width="800" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="26" style="padding-left:10px;"> 栏目小图: </td>
                    <td width="482">
                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                    <td height="30">
                    <input name="litimg" id="litimg" type="text" style="width:220px" value="<?php echo $myrow['litimg']?>" />
                    <input type="button"  value="本地上传" style="width:70px;cursor:pointer;" />
                    <iframe name='upsmallpicfra' id='upsmallpicfra' src='' width='200' height='200' style='display:none'></iframe>
                    <span class="litpic_span"><input name="smallpic" type="file" id="smallpic"  onChange="SeePicNew(this, 'divsmallpicview', 'upsmallpicfra', 165, 'catalog_edit.php', 'save', 'smallpic', 'litimg');" size="1" class='np coolbg' style="cursor:pointer;height:20px;margin-left:-20px;opacity:0;width:85px;"/></span>
                    <input type="button" name="Submit2" value="站内选择" style="margin-left:8px;" onClick="SelectImageN('form1.litimg','imgstick','smallpicview');" class='np coolbg'/>
                    <input type='checkbox' class='np' name='ddisremote2' value='1'>远程 
                    </td>
                    </tr>
                    </table>
                    </td>
                    <td width="160" align="center">
                    <div id='divsmallpicview' class='divpre'><img height="50" src="<?php if($myrow['litimg']!="") echo $myrow['litimg']; else echo "images/pview.gif";?>"></div>
                    </td>
                    </tr>
                    </table>
                    </td>
                    </tr>


                  /dede/catalog_add.php 找到 大概在239行

                  UpDateCatCache();

                  在它上面加入
                   

                  1. //添加英文名称栏目大图栏目小图
                    require_once(DEDEADMIN.'/inc/inc_archives_functions.php');
                    if(!empty($ddisremote))
                    {
                    $litpic = UploadOneImage('imgfile', $litpic, $ddisremote, 1);
                    }
                    if(!empty($ddisremote2))
                    {
                    $litimg = UploadOneImage('imgfile', $litimg, $ddisremote2, 1);
                    }
                    $id = $dsql->GetLastID();
                    $upquery = "UPDATE `#@__arctype` SET `enname`='$enname',`litpic`='$litpic',`litimg`='$litimg' WHERE id='$id' ";
                    $dsql->ExecuteNoneQuery($upquery);
                    //添加英文名称栏目大图栏目小图

                  /dede/catalog_edit.php 找到 大概在106行

                  UpDateCatCache();

                  在它上面加入

                  1. //添加英文名称栏目大图栏目小图
                    require_once(DEDEADMIN.'/inc/inc_archives_functions.php');
                    if(!empty($ddisremote))
                    {
                    $litpic = UploadOneImage('imgfile', $litpic, $ddisremote, 1);
                    }
                    if(!empty($ddisremote2))
                    {
                    $litimg = UploadOneImage('imgfile', $litimg, $ddisremote2, 1);
                    }
                    $upquery = "UPDATE `#@__arctype` SET `enname`='$enname',`litpic`='$litpic',`litimg`='$litimg' WHERE id='$id' ";
                    $dsql->ExecuteNoneQuery($upquery);
                    //添加英文名称栏目大图栏目小图


                  标签库输出修改

                  /include/taglib/channel.lib.php 找到

                  id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath

                  有4处这样的多个字段,4处都改成

                  *

                  /include/taglib/channelartlist.lib.php 找到

                  id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath

                  这样的多个字段,改成

                  *

                   

                  /include/taglib/type.lib.php 找到

                  id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath

                  这样的多个字段,改成

                  *

                   

                  这样就完成了网站栏目大图 栏目小图 英文名称 手动添加的方法


                  二度创作,如有侵权请联系删除。如没特殊注明,文章均为庚午网络原创,转载请注明https://www.hngengwu.com/gengwuwenku/474.html

                  <tfoot id='yvoizpc5'></tfoot>
                    <i id='5x5o7lvw'><tr id='9g3iuf32'><dt id='hijkjrsi'><q id='uevc1nbh'><span id='3ti52otl'><b id='q4eszbkt'><form id='fzp8oexa'><ins id='727jrepl'></ins><ul id='hqulgo0r'></ul><sub id='0uxsws0x'></sub></form><legend id='m03keaj1'></legend><bdo id='9q0jhszk'><pre id='ie55buoy'><center id='epy8i1ds'></center></pre></bdo></b><th id='thru4hws'></th></span></q></dt></tr></i><div id='rb25zmwp'><tfoot id='a6mzvvx6'></tfoot><dl id='4w92bspp'><fieldset id='smncffi6'></fieldset></dl></div>

                      <legend id='wi4ccmxs'><style id='ig2as6wl'><dir id='6peuv8tw'><q id='effqewbg'></q></dir></style></legend>
                      • <bdo id='m71ezvnx'></bdo><ul id='oghp4uls'></ul>

                      <small id='krpr3yin'></small><noframes id='x9zv0h5r'>

                    1. 多一份策划方案,总有益处。

                      请直接添加技术总监微信联系咨询

                      网站设计 品牌营销

                      多一份参考,总有益处

                      联系庚午网络,获得专属《策划方案》及报价

                      咨询相关问题或预约面谈,可以通过以下方式与我们联系

                      业务热线:18574395938 / 大客户专线:18574395938