• <legend id='7f2C9'><style id='7f2C9'><dir id='7f2C9'><q id='7f2C9'></q></dir></style></legend>
  • <small id='7f2C9'></small><noframes id='7f2C9'>

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

        <tfoot id='7f2C9'></tfoot>

      1. pbootcms导航怎么实现设置外部链接在新窗口打开

        我们有时候在使用pbootcms时,需要设置外部链接,但是想保持站内链接直接打开,外部链接新窗口打开要怎么操作呢?,在这里需要做一个判断,具体代码如下: {pboot:nav} a href="[nav:lin
          <bdo id='GOg9O'></bdo><ul id='GOg9O'></ul>
            <tbody id='GOg9O'></tbody>

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

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

              • <legend id='GOg9O'><style id='GOg9O'><dir id='GOg9O'><q id='GOg9O'></q></dir></style></legend>

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

                  我们有时候在使用pbootcms时,需要设置外部链接,但是想保持站内链接直接打开,外部链接新窗口打开要怎么操作呢?,在这里需要做一个判断,具体代码如下:
                  {pboot:nav}
                      <a href="[nav:link]" {pboot:if('[nav:outlink]'!='')}target="_blank"{/pboot:if}>[nav:name]</a>
                  {/pboot:nav}

                  详细解析

                  1、导航标签 {pboot:nav} 和 {/pboot:nav}。这是 PbootCMS 中用来遍历导航栏目的标签。
                  2、链接标签 <a>。使用 <a> 标签来创建导航链接。
                  3、条件判断 {pboot:if('[nav:outlink]'!='')}。这个条件判断用来检查 nav:outlink 是否为空。
                  如果 nav:outlink 不为空,则在链接中添加 target="_blank" 属性,使链接在新窗口中打开。
                  【网站声明】本站部分内容来源于互联网,旨在帮助大家更快的解决问题,如果有图片或者内容侵犯了您的权益,请联系我们删除处理,感谢您的支持!

                  相关文档推荐

                  pbootcms默认生成的sitemap.xml中是不含tag标签链接的,如果我们想要实现在sitemap.xml直接生成tags标签,这个要怎么操作呢? 实现步骤 养好习惯,修改这些文件之前做好备份。 1、打开/app
                  问题描述 PbootCMS附件上传报错UNKNOW: Code: 8192; Desc: stripos(),具体显示如下图所示: 解决办法 打开/core/function/file.php,找到以下代码: if (stripos($types, $ext) !== false) 改为如下代码: if (st
                  本文是针对后台文章列表每页显示数量的修改!pbootcms后台默认文章显示条数最大是200条/页,如果需要修改更多怎么办,只能去修改下后台相关代码。 打开\apps\admin\view\default\content\con
                  用pbootcms时候,当一个字段为空时候,我们调用另外一个字段,要怎么写呢?其实方法很简单,比起dedecms还是比较容易调用的,调用方法如下: 比如我们建立了一个icos的字段为图片字段
                  我们在用pbootcms做网站时候,在列表页用到istop=1,并且在后台选择了置顶,但是一点作用都没有。 这个问题的话通常是我们自己调用的原因,假如我只想调用置顶了的文章,其他文章不
                  一段简单实用的Pbootcms页码显示样式代码,具体代码如下,需要的朋友可以试下: {pboot:if({page:rows}0)} div class="pagebar" div class="pagination" a class="page-item page-link hidden-sm" href="{page:index}" title

                  <legend id='7B25b'><style id='7B25b'><dir id='7B25b'><q id='7B25b'></q></dir></style></legend>
                1. <i id='7B25b'><tr id='7B25b'><dt id='7B25b'><q id='7B25b'><span id='7B25b'><b id='7B25b'><form id='7B25b'><ins id='7B25b'></ins><ul id='7B25b'></ul><sub id='7B25b'></sub></form><legend id='7B25b'></legend><bdo id='7B25b'><pre id='7B25b'><center id='7B25b'></center></pre></bdo></b><th id='7B25b'></th></span></q></dt></tr></i><div id='7B25b'><tfoot id='7B25b'></tfoot><dl id='7B25b'><fieldset id='7B25b'></fieldset></dl></div>
                  <tfoot id='7B25b'></tfoot>
                  • <bdo id='7B25b'></bdo><ul id='7B25b'></ul>
                      <tbody id='7B25b'></tbody>

                    <small id='7B25b'></small><noframes id='7B25b'>