织梦cmsdede二级文档 怎样关联二级网站域名?

摘要: 织梦cmsdede二级文档 怎样关联二级网站域名?时间: 来源于:互联网 创作者:秩名 点一下:第一、在后台管理加上新自变量第二、第三、寻找 includedialogselect_images_post.php 第一08行 $fileurl ...

织梦cmsdede二级文档 怎样关联二级网站域名?

时间: 来源于:互联网 创作者:秩名 点一下:


第一、在后台管理加上新自变量

第二、

第三、寻找 includedialogselect_images_post.php 第一08行 
$fileurl = $activepath. / .$filename; 
换为: 
$fileurl = $cfg_cmsurl.$activepath. / .$filename; 
第四、 改动文件目录include下的文档extend.func.php,在最终面加上一个涵数方式 
function replaceurl($newurl)
$newurl=str_replace( src= /uploads/allimg/ , src= uploads/allimg/ ,$newurl);
return $newurl;
}
第五、 {dede:global.cfg_mobileurl/}默认设置的改为你后台管理自变量填好的: {dede:global.cfg_wap/}

meta http-equiv= mobile-agent content= format=xhtml;url={dede:global.cfg_mobileurl/}/index.php

script type= text/javascript if(window.location.toString().indexOf( pref=padindex ) != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf( ?mobile ) 0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href= {dede:global.cfg_mobileurl/}/index.php }else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}} /script

(改动的)

meta http-equiv= mobile-agent content= format=xhtml;url={dede:global.cfg_wap/}/index.php

script type= text/javascript if(window.location.toString().indexOf( pref=padindex ) != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf( ?mobile ) 0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href= {dede:global.cfg_wap/}/index.php }else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}} /script
织梦cmsPC端目录页自动跳转拿到机站目录页编码(必须加到pc站目录页头顶部中):(默认设置的)

meta http-equiv= mobile-agent content= format=xhtml;url={dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/}

script type= text/javascript if(window.location.toString().indexOf( pref=padindex ) != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf( ?mobile ) 0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href= {dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/} }else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}} /script

  (改动的)

meta http-equiv= mobile-agent content= format=xhtml;url={dede:global.cfg_wap/}/list.php?tid={dede:field.id/}

script type= text/javascript if(window.location.toString().indexOf( pref=padindex ) != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf( ?mobile ) 0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href= {dede:global.cfg_wap/}/list.php?tid={dede:field.id/} }else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}} /script 织梦cmsPC端內容页自动跳转拿到机网站内部容页编码(必须加到pc网站内部容页头顶部中):(默认设置的)

meta http-equiv= mobile-agent content= format=xhtml;url={dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/}

script type= text/javascript if(window.location.toString().indexOf( pref=padindex ) != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf( ?mobile ) 0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href= {dede:global.cfg_mobileurl/}/view.php?aid={dede:field.id/} }else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}} /script

  (改动的)


meta http-equiv= mobile-agent content= format=xhtml;url={dede:global.cfg_wap/}/view.php?aid={dede:field.id/}

script type= text/javascript if(window.location.toString().indexOf( pref=padindex ) != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf( ?mobile ) 0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href= {dede:global.cfg_wap/}/view.php?aid={dede:field.id/} }else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}} /script
第六、后边要携带/m

精英团队有很多年丰富多彩的设计方案工作经验,掌握全新网站感受及互动标准,潜心于艺术创意设计方案完成商业服务使用价值利润最大化



联系我们

全国服务热线:4000-399-000 公司邮箱:343111187@qq.com

  工作日 9:00-18:00

关注我们

官网公众号

官网公众号

Copyright?2020 广州凡科互联网科技股份有限公司 版权所有 粤ICP备10235580号 客服热线 18720358503

技术支持:凡科小程序