国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] drupal 7.X模块介绍:External Links Extra将指定菜单在新窗口显示

[复制链接]
发表于 4-11-2012 09:51 | 显示全部楼层 |阅读模式

External Links Extra

Sponsored and developed by Trestle Media

Trestle Media 主办研发

This module adds some extra functionality to the External Links module.

这个模块增加一些额外功能到External Links外部链接)模块。
 

Features

  • Allows the use of a colorbox popup for the "leaving this site" alert text.
  • 允许使用colorbox弹出“离开这个网站”的警示文字。

  • The advantage to this is that you may now use different input formats for the text (html, php, etc).

    到这样做的好处是,你现在可以使用不同的文字输入格式( HTML,PHP等) 。

  • The alert text also supports Drupal's tokens
  • 警示文字,还支持Drupal的tokens(令牌)

  • We provide a couple of our own tokens, like the URL you are being taken to and the URL you are coming from. By default this is implemented by providing "Cancel" and "Go to link" links.

    我们提供了几个我们自己的 * L7 q( p! {; N* ]tokens ,就像你正在采取的URL和URL从哪里来。默认情况下,这是实施提供“取消”和“链接”的链接。

  • Option for an automatic redirect timer for the popup.
  • 选择一个自动重定向定时弹出。

  • You can specify the number of seconds and a countdown will be shown.

    您可以指定的秒数和一个倒计时将被显示。

  • Provide an intermediate page
  • 提供一个中间页

  • Takes the user to a separate page after clicking an external link. This is just like External Link Page but has the advantage of integrating with extlink's other features, like showing icons next to external links, or supporting its other configuration options. It's also very themable and allows the use of the aforementioned tokens and such.

    点击一个外部链接后把用户带到一个external link(单独的页面)。这就像是在External Link Page外部链接页面),但结合extlink的其他功能是有优势的,如显示图标旁边的外部链接,或支持其他配置选项,或支持其他配置选项。它也非常主题化和允许使用上述标记等。

  • It's extremely themable - you have complete control of the output via the use of tokens and well explained tpl files.
  • 这样非常主题化 - 你有通过使用令牌的输出的完全控制,并很好地解释tpl文件。

Installation

  1. Check your requirements: You need External Links at minimum. You'll also need colorboxif you want support for the colorbox popup and token if you want a UI for token support (recommended)
      检查您的要求:你需要最少的External Links外部链接)。如果你想支持colorbox弹出和令牌,还需要colorbox;如果你想有一个令牌支持的用户界面,还需要token  (推荐)


2.   Configuration is on the same page as the External Links module, /admin/config/user-interface/extlink. Your options are all right here.
      配置是在同一页上的(External Links module)/admin/config/user-interface/extlink.(外部链接模块/管理/配置/用户接口/ extlink)的。你的选择都在这里。

    That's it!

    The extlink-extra-leaving.tpl.php file is used for housing the text on the "/now-leaving" page and the pop-up, whichever you choose to use.

    extlink-extra-leaving.tpl.php文件是用于housing上的文字“/ now-leaving”页面和pop-up(弹出),无论您选择使用。

    If you want your markup more in the tpl than the UI, take a look at extlink-extra-leaving.tpl.example.php, it is well explained.

    如果你想在tpl以上的UI标记,看看在* }, A; q& ^- w8 }5 ? extlink-extra-leaving.tpl.example.php 的,这是很好的解释。






    本文由国外设计论坛www.DOOOOR.com整理发布,转载请保留,谢谢!

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-19-2025 13:43 , Processed in 0.424764 second(s), 81 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表