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

查看:140
本文介绍了在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行是添加新文章"之类的文字,但是如您所见 上面是语言字符串
  • 第5行是您看到的文本,例如添加新文章",但是在上面的代码中,这是一个语言字符串
    • Line 1, is the link.
    • Line 2, go to media/jui/css/icomoon.css to see what is available.
    • Line 3, I'm not actually too sure about but will update when I do.
    • Line 4, is the text such as Add New Article, but as you can see above, it's a language string
    • Line 5 is the text you see such as "Add New Article", but in the code above, it's a language string
    • 希望这会有所帮助

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

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