Page Builder's "Advanced Editor":
In a Nutshell


Page Builder (PB) has built-in <head> tags for its "Heading" section and built-in <body> tags for its "Text" section, the latter arising upon selecting a background on "Create". There are two, and only two, instances where it is desirable to remove the built in <body> tag:NOTE: There is no way to remove the built-in <head> tag.

The procedure used to do this has become known as "Advanced Editor", and it is this procedure which is outlined.

Coming from "Create" and at all other times when editing in PB  You will see on the sidebar "Edit Title". This is the name for the page that would be at the end of its URL if you were to "Publish". Usually a title is deleted from showing on the edit page, but in "Advanced Editor" this section becomes important.

Coming from the PB Index to Edit a Page  Clicking on a page in your PB Index will bring up an options menu. Among the options is "Change Title". Any change made here is equivalent to "Edit Title".

Why Know About the Title?  With Advanced Editor you intend to "comment out" the built-in <body> tag. This is done by entering in the "Title" area:

</title>></head><!--


which closes the built-in <title> and <head> and places a beginning HTML comment tag before the built-in <body> tag.

When you go to the "Text" section to enter your code, you enter first in the absolute upper-left:

-->


which closes the HTML comment and effectively removes from execution the built-in PB <body> tag. It is now possible to write your own <body> tag with your choice of background color. This is the original version of "Advanced Editor" as put foward by Hughey (H17).

Variants of "Advanced Editor"  When a page is first coded using the original form of "Advanced Editor", once "Done" is clicked the Edit Page feature is "blocked out" and it will not be possible to edit the page. To do so, click "Edit Title" on the sidebar and remove all or part of the beginning HTML comment tag. For example, deleting the left arrow ( < ) from this tag leads to:

</title></head> !--


This will enable editing of the page. Prior to clicking "Preview" or "Publish", this bit of the HTML comment tag will have to be replaced to have "Advanced Editor" functional.

Two variants of this coding have been advanced which enable normal editing of a PB page, one where it is not necessary to have to keep editing the title to "activate" "Advanced Editor" or to edit the page. The first was due to Paul Dutton, who showed this modification of the beginning HTML comment tag to enable normal editing:

</title></head><!--//-->


No change is made to the end HTML comment tag at the beginning of the page code.

A second variant is due to Jaxred. In this variation <noscript> tags are used in place of HTML comment tags. Thus, in the "Edit Title" window there is placed:

</title></head><noscript>


and the very first thing entered in the "Text" section is:

</noscript>  in place of  -->


Which of these variants is used amounts to one of preference. Each functions equivalently.

The "Advanced Editor" URL  Your coded page has to have a name so that it can be accessed by URL. The name chosen is placed in the "Edit Title" window and before any of the "Advanced Editor" code, e.g.;

pageName</title></head><!--


Upon clicking "Publish", PB will show the URL for the page but designate its name as:

pageNametitle


To all intents and purposes, you can simply use:

pageName


as usual for a PB URL. Just enter, say on a "GoTo":

http://community-2/yourNic/pageName/


Whatever tags were used for "Advanced Editor" are ignored in accessing the page.

A "Work-Around" but NOT an "Advanced Editor"  Recently a method that has become known as "Bunny's Way" has been found that allows the use of a background image of your own choosing but not a background color in a <body> tag placed in the "Text" area of Page Builder. All this entails is placing <script></script> before the <body> tag, e.g.,

<script></script><body background="URL.gif" text=?>


This must be considered a "work-around" for a restriction of the 2.7 upgrade. One and only one <body> tag is allowed by this upgrade. "Bunny's Way" seems to provide a means to include a second.

This method is a "work-around" and not an "Advanced Editor" method as it does not comment out the built-in Page Builder <body> tag placed on a page. If it worked as an "Advanced Editor" the use of a bgcolor attribute with it would be allowable.