We all pretty much know that DotNetNuke has officially adopted jQuery, beginning with version 5.00.00. Although version 4.09.02 has the scripts in the installation, jQuery still does not have “official” support until version 5. I have built a module that facilitates this need, and blogged about how to do so, but if you already have PageBlaster installed, why install another module to use a feature you already have in your possession?
PageBlaster (PB) does many great things, among them is the ability to inject, remove, or change existing HTML markup that is sent to the website visitor. For example, if you have a company phone number all over your site in the text of various modules, a simple replacement rule in PB will automatically find and fix all of them for you. It is worth noting though, that the change is not permanent. PB just replaces the content prior to sending it to the web browser. The erroneous information still exists in the database.
In order to create a replacement rule, follow along with the following steps:
Here is a screen shot of the settings in place.
The previous steps will add the jQuery script to your markup, as shown in the following image.