ExtBlank: Force external links in new window

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

ExtBlank: Force external links in new window

Postby Wim » Sun Dec 28, 2008 11:55 am

Now PivotX is coming into more stable Beta release stadium, I guess it is time to start converting my existing Pivot extensions. I obviously started with ExtBlank, which is by far the most simple snippet on earth! But the eKudos, Wzup, PiVote and Verklicker extension are also begging to be converted.

ExtBlank, when enabled, will force external links on the weblog to open in a new browser window (or tab). It will also open each link that has the rel="external" tag in a new window.

Using ExtBlank has two main advantages. You do not have to manage your links with coding to have them open in new windows. And, you can have strict (X)HTML code since you do not have to use the target="_blank" tag.

Getting ExtBlank to work:

1. unpack the attached zip file to the /pivot/extensions/ directory on your server
2. in the PivotX admin menu go to the Extensions section and enable the ExtBlank hook extension

That's all.
ExtBlank v0.3-beta for PivotX
(1.08 KiB) Downloaded 512 times
User avatar
Posts: 59
Joined: Sun Dec 28, 2008 11:32 am

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 1 guest