<small id='1IPqg'></small><noframes id='1IPqg'>

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

        <legend id='1IPqg'><style id='1IPqg'><dir id='1IPqg'><q id='1IPqg'></q></dir></style></legend>
      1. OpenCart 管理菜单链接网址

        OpenCart admin menu link url(OpenCart 管理菜单链接网址)

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

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

              1. <small id='XTtl0'></small><noframes id='XTtl0'>

                    <tbody id='XTtl0'></tbody>
                  本文介绍了OpenCart 管理菜单链接网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我是 OpenCart 的新手,我正在尝试为它制作一个模块.

                  I'm verry new to OpenCart and I'm trying to make a module for it.

                  我希望在管理菜单中有一个指向我正在创建的模块的链接,因此我编辑了这个文件:

                  I want a link in the admin menu to the module I am creating thus I've edited this file:

                  /admin/view/template/common/header.tpl
                  

                  我添加的代码:

                  <li><a class="top">Import / Export</a>
                      <ul>
                          <li><a href="" target="_blank">Link 1</a></li>
                          <li><a href="" target="_blank">Link 2</a></li>
                          <li><a href="" target="_blank">Link 3</a></li>
                      </ul>
                  </li>
                  

                  我的问题可能非常简单:

                  My question is propably verry simple:

                  在普通链接中,<a href=""> 的 url 设置如下:

                  In the normal links the url for the <a href=""> is set like this:

                  <a href="<?php echo $report_customer_online; ?>">
                  

                  如何使用 OpenCart 的令牌制作正确模块的网址?

                  模块路径为module/order_export.

                  如果您需要更多信息,请随时询问...

                  If you need more info, feel free to ask...

                  推荐答案

                  在这里查看我的答案:https://stackoverflow.com/a/16418443/598500 - 我已经回答了非常相似的问题,无论如何答案与您的问题相同.

                  Check my answer here: https://stackoverflow.com/a/16418443/598500 - I have answered for the very similar question, anyway the answer is the same as for Your question.

                  但为了更准确地指导您:

                  But to guide You more precisely:

                  语言文件/admin/language//common/header.php添加例如:

                  language file /admin/language/<YOUR_LANGUAGE>/common/header.php add e.g.:

                  $_['text_my_module'] = 'My Module Title';
                  

                  控制器文件 /admin/controller/common/header.php 添加例如:

                  controller file /admin/controller/common/header.php add e.g.:

                  $this->data['text_my_module'] = $this->language->get('text_my_module');
                  

                  $this->data['my_module'] = $this->url->link('module/order_export', 'token=' . $this->session->data['token'], 'SSL');
                  

                  最后模板文件/admin/view/template/common/header.tpl添加:

                  and finally the template file /admin/view/template/common/header.tpl add:

                  <a href="<?php echo $my_module; ?>" class="top"><?php echo $text_my_module; ?></a>
                  

                  在适用的情况下...

                  这是你的正确答案吗?

                  这篇关于OpenCart 管理菜单链接网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Proxy Authentication Required with cURL(cURL 需要代理身份验证)
                  How to use a SOCKS 5 proxy with cURL?(如何使用带有 cURL 的 SOCKS 5 代理?)
                  How to use HTTP_X_FORWARDED_FOR properly?(如何正确使用 HTTP_X_FORWARDED_FOR?)
                  file_get_contents behind a proxy?(代理后面的 file_get_contents ?)
                  pecl install cassandra throws: quot;error: Unable to load libcassandraquot;(pecl install cassandra 抛出:“错误:无法加载 libcassandra)
                  Installing php datastax driver on ubuntu(在 ubuntu 上安装 php datastax 驱动)
                    <tbody id='GM3qv'></tbody>
                  <legend id='GM3qv'><style id='GM3qv'><dir id='GM3qv'><q id='GM3qv'></q></dir></style></legend>

                  <tfoot id='GM3qv'></tfoot>

                      1. <small id='GM3qv'></small><noframes id='GM3qv'>

                        • <bdo id='GM3qv'></bdo><ul id='GM3qv'></ul>

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