久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='GiubW'></bdo><ul id='GiubW'></ul>

<legend id='GiubW'><style id='GiubW'><dir id='GiubW'><q id='GiubW'></q></dir></style></legend>

<i id='GiubW'><tr id='GiubW'><dt id='GiubW'><q id='GiubW'><span id='GiubW'><b id='GiubW'><form id='GiubW'><ins id='GiubW'></ins><ul id='GiubW'></ul><sub id='GiubW'></sub></form><legend id='GiubW'></legend><bdo id='GiubW'><pre id='GiubW'><center id='GiubW'></center></pre></bdo></b><th id='GiubW'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GiubW'><tfoot id='GiubW'></tfoot><dl id='GiubW'><fieldset id='GiubW'></fieldset></dl></div>

<small id='GiubW'></small><noframes id='GiubW'>

  1. <tfoot id='GiubW'></tfoot>
    1. PbootCMS生成的sitemap.xml中增加tag標(biāo)簽鏈接

      pbootcms默認(rèn)生成的sitemap.xml中是不含tag標(biāo)簽鏈接的,如果我們想要實(shí)現(xiàn)在sitemap.xml直接生成tags標(biāo)簽,這個(gè)要怎么操作呢? 實(shí)現(xiàn)步驟 養(yǎng)好習(xí)慣,修改這些文件之前做好備份。 1、打開(kāi)/app

      1. <legend id='zM9o6'><style id='zM9o6'><dir id='zM9o6'><q id='zM9o6'></q></dir></style></legend>
        1. <tfoot id='zM9o6'></tfoot>

          <i id='zM9o6'><tr id='zM9o6'><dt id='zM9o6'><q id='zM9o6'><span id='zM9o6'><b id='zM9o6'><form id='zM9o6'><ins id='zM9o6'></ins><ul id='zM9o6'></ul><sub id='zM9o6'></sub></form><legend id='zM9o6'></legend><bdo id='zM9o6'><pre id='zM9o6'><center id='zM9o6'></center></pre></bdo></b><th id='zM9o6'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='zM9o6'><tfoot id='zM9o6'></tfoot><dl id='zM9o6'><fieldset id='zM9o6'></fieldset></dl></div>
            • <bdo id='zM9o6'></bdo><ul id='zM9o6'></ul>

              <small id='zM9o6'></small><noframes id='zM9o6'>

                  <tbody id='zM9o6'></tbody>
              • pbootcms默認(rèn)生成的sitemap.xml中是不含tag標(biāo)簽鏈接的,如果我們想要實(shí)現(xiàn)在sitemap.xml直接生成tags標(biāo)簽,這個(gè)要怎么操作呢?

                實(shí)現(xiàn)步驟

                養(yǎng)好習(xí)慣,修改這些文件之前做好備份。
                1、打開(kāi)/apps/home/model/SitemapModel.php,在78行后面增加個(gè)指定分類標(biāo)簽調(diào)用代碼。
                // 指定分類標(biāo)簽調(diào)用
                public function getSortTags($scode)
                {
                    $join = array(
                        array(
                            'ay_content_sort b',
                            'a.scode=b.scode',
                            'LEFT'
                        ),
                        array(
                            'ay_model c',
                            'b.mcode=c.mcode',
                            'LEFT'
                        )
                    );
                    
                    $scode_arr = array();
                    if ($scode) {
                        // 獲取所有子類分類編碼
                        $this->scodes = array(); // 先清空
                        $scodes = $this->getSubScodes(trim($scode)); // 獲取子類
                                                                     
                        // 拼接條件
                        $scode_arr = array(
                            "a.scode in (" . implode_quot(',', $scodes) . ")",
                            "a.subscode='$scode'"
                        );
                    }
                    $result = parent::table('ay_content a')->where('a.status=1')->where("c.type=2 AND a.tags<>''")
                        ->where($scode_arr, 'OR')
                        ->join($join)
                        ->order('a.visits DESC')
                        ->column('a.tags');
                    return $result;
                }
                2、打開(kāi)/apps/home/controller/SitemapController.php,在73行后面增加
                if (! ! $rs = $this->model->getSortTags('')) {
                    $tags = implode(',', $rs); // 把欄目tags串起來(lái)
                    $tags = array_unique(explode(',', $tags)); // 再把所有tags組成數(shù)組并去重
                    foreach ($tags as $key2 => $value2) {
                        if (! in_array($value2, array_column($data, 'tags'))) { // 避免重復(fù)輸出
                            $url_rule_type = $this->config('url_rule_type') ?: 3;
                            if ($url_rule_type == 3) {
                                $link2 = Url::home('tag=' . urlencode($value2), '');
                            } else {
                                $link2 = Url::home('tag/' . urlencode($value2));
                            }
                            $str .= $this->makeNode($link2, date('Y-m-d'), '0.80');
                        }
                    }
                }
                【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                我們有時(shí)候在使用pbootcms時(shí),需要設(shè)置外部鏈接,但是想保持站內(nèi)鏈接直接打開(kāi),外部鏈接新窗口打開(kāi)要怎么操作呢?,在這里需要做一個(gè)判斷,具體代碼如下: {pboot:nav} a href="[nav:lin
                問(wèn)題描述 PbootCMS附件上傳報(bào)錯(cuò)UNKNOW: Code: 8192; Desc: stripos(),具體顯示如下圖所示: 解決辦法 打開(kāi)/core/function/file.php,找到以下代碼: if (stripos($types, $ext) !== false) 改為如下代碼: if (st
                本文是針對(duì)后臺(tái)文章列表每頁(yè)顯示數(shù)量的修改!pbootcms后臺(tái)默認(rèn)文章顯示條數(shù)最大是200條/頁(yè),如果需要修改更多怎么辦,只能去修改下后臺(tái)相關(guān)代碼。 打開(kāi)\apps\admin\view\default\content\con
                用pbootcms時(shí)候,當(dāng)一個(gè)字段為空時(shí)候,我們調(diào)用另外一個(gè)字段,要怎么寫(xiě)呢?其實(shí)方法很簡(jiǎn)單,比起dedecms還是比較容易調(diào)用的,調(diào)用方法如下: 比如我們建立了一個(gè)icos的字段為圖片字段
                我們?cè)谟胮bootcms做網(wǎng)站時(shí)候,在列表頁(yè)用到istop=1,并且在后臺(tái)選擇了置頂,但是一點(diǎn)作用都沒(méi)有。 這個(gè)問(wèn)題的話通常是我們自己調(diào)用的原因,假如我只想調(diào)用置頂了的文章,其他文章不
                一段簡(jiǎn)單實(shí)用的Pbootcms頁(yè)碼顯示樣式代碼,具體代碼如下,需要的朋友可以試下: {pboot:if({page:rows}0)} div class="pagebar" div class="pagination" a class="page-item page-link hidden-sm" href="{page:index}" title

              • <small id='tTyX8'></small><noframes id='tTyX8'>

              • <legend id='tTyX8'><style id='tTyX8'><dir id='tTyX8'><q id='tTyX8'></q></dir></style></legend>
                  1. <tfoot id='tTyX8'></tfoot>
                    • <bdo id='tTyX8'></bdo><ul id='tTyX8'></ul>

                            <tbody id='tTyX8'></tbody>

                          <i id='tTyX8'><tr id='tTyX8'><dt id='tTyX8'><q id='tTyX8'><span id='tTyX8'><b id='tTyX8'><form id='tTyX8'><ins id='tTyX8'></ins><ul id='tTyX8'></ul><sub id='tTyX8'></sub></form><legend id='tTyX8'></legend><bdo id='tTyX8'><pre id='tTyX8'><center id='tTyX8'></center></pre></bdo></b><th id='tTyX8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tTyX8'><tfoot id='tTyX8'></tfoot><dl id='tTyX8'><fieldset id='tTyX8'></fieldset></dl></div>
                          主站蜘蛛池模板: 在线一区 | 欧美一区二区三区在线观看 | 精品国产18久久久久久二百 | 国产精品欧美一区二区三区 | 中文字幕一区二区三区精彩视频 | 日韩欧美在线播放 | 久久网一区二区 | 97超碰在线播放 | 91色视频在线观看 | www.色.com| 日韩在线视频观看 | 欧美mv日韩mv国产网站91进入 | 伊人啪啪网| 综合久久综合久久 | 亚洲视频欧美视频 | 东方伊人免费在线观看 | 亚洲第一在线 | 日韩色视频 | 美女黄色在线观看 | 亚洲精品日韩在线观看 | 国产三级| 美女一级毛片 | 狠狠草视频 | 欧美日韩亚洲视频 | 精品国产免费一区二区三区五区 | 国产日韩精品视频 | 日韩欧美一区二区三区免费观看 | 亚洲国产精品久久 | 国产精品久久国产精品 | 欧美精品一区三区 | 狠狠干五月天 | 精品视频 免费 | 99久久国产综合精品麻豆 | 欧美精品片 | 精品一区二区三区四区在线 | 欧美日韩最新 | 精品自拍视频在线观看 | 一区二区伦理电影 | 精品91久久 | 99热最新 | 日韩精品无码一区二区三区 |