在 Joomla 3 中添加快捷图标 [英] Add a quick icon in Joomla 3

查看:15
本文介绍了在 Joomla 3 中添加快捷图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何在 Joomla 3.1 中添加快捷图标或什至编辑当前快捷图标列表?更具体地说,这将是登录 Joomla 管理员后立即出现在屏幕右侧的一系列链接.我在 stackoverflow 上搜索并找不到这个问题.

Anyone know how to add a quick icon or maybe even edit the current list of quick icons in Joomla 3.1? To be more specific, that would be the series of links that appear on the right side of the screen immediately after logging in to Joomla admin. I searched and couldn't find this question on stackoverflow.

推荐答案

如果转到以下文件:

administrator/modules/mod_quickicon/helper.php

您将在第 51 行的开头看到如下数组:

You will see on the start of line 51, arrays such as the following:

array(
    'link' => JRoute::_('index.php?option=com_content&task=article.add'),
    'image' => 'file-add',
    'icon' => 'header/icon-48-article-add.png',
    'text' => JText::_('MOD_QUICKICON_ADD_NEW_ARTICLE'),
    'access' => array('core.manage', 'com_content', 'core.create', 'com_content', )
)

  • 第 1 行,是链接.
  • 第 2 行,转到 media/jui/css/icomoon.css 以查看可用内容.
  • 第 3 行,我实际上不太确定,但会在我确定时更新.
  • 第 4 行,是诸如 Add New Article 之类的文本,但是正如您所看到的上面是一个语言字符串
  • 第 5 行是您看到的文本,例如添加新文章",但在上面的代码中,它是一个语言字符串
  • 希望能帮到你

    这篇关于在 Joomla 3 中添加快捷图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆