Extension Builder - code after <body> and before </body> tag

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
Post Reply
User avatar
r3za
 
 
Posts: 90
Joined: Wed Aug 17, 2011 11:52 am
Location: London Bridge
Contact:

Extension Builder - code after <body> and before </body> tag

Post by r3za »

Hello Support and everyone,
I am trying to build a extension with extention builder and I am wondering if there is ability to add a piece of code right after <body> and right before </body>. Basically i need to wrap the whole code from <body> to </body>.
I understand i can do this by adding a html extension to the page but it would be great if you could add this function to the extension builder or guide me to the best way.

thanks
Reza
Reza
Web Design and Search Engine Optimisation

Http://www.SEO25.com
Free URL Rate & Site Value Tool - Free Search Engine Submission!
Image
User avatar
BaconFries
 
 
Posts: 5800
Joined: Thu Aug 16, 2007 7:32 pm

Re: Extension Builder - code after <body> and before </body>

Post by BaconFries »

Cant you use the Between body in the extension builder?
body.jpg
User avatar
r3za
 
 
Posts: 90
Joined: Wed Aug 17, 2011 11:52 am
Location: London Bridge
Contact:

Re: Extension Builder - code after <body> and before </body>

Post by r3za »

Thanks for response. the "BETWEEN BODY" it does not exactly do the job. i think extension builder needs two more tabs e.g. Right after body and Righ before body

i need exactly after <body> tag and exactly before</body> so i can wrap all wysiwygwebbuilder code with my own tag.

please se below example:

<html>
<body>
my tag or my code here

wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here

my tag or my code here
</body>
</html>


as mentioned earlier. we have this option under HML extension as you can see below:
Image
Image
Reza
Web Design and Search Engine Optimisation

Http://www.SEO25.com
Free URL Rate & Site Value Tool - Free Search Engine Submission!
Image
User avatar
BaconFries
 
 
Posts: 5800
Joined: Thu Aug 16, 2007 7:32 pm

Re: Extension Builder - code after <body> and before </body>

Post by BaconFries »

That is what the extension builder does I have used this for many extensions that require the code to be placed there.
User avatar
r3za
 
 
Posts: 90
Joined: Wed Aug 17, 2011 11:52 am
Location: London Bridge
Contact:

Re: Extension Builder - code after <body> and before </body>

Post by r3za »

just tested again, it just does add only at one place which is the end of the code. i need also after <body> tag.
Reza
Web Design and Search Engine Optimisation

Http://www.SEO25.com
Free URL Rate & Site Value Tool - Free Search Engine Submission!
Image
User avatar
BaconFries
 
 
Posts: 5800
Joined: Thu Aug 16, 2007 7:32 pm

Re: Extension Builder - code after <body> and before </body>

Post by BaconFries »

@r3za it doesnt or shouldnt really matter aslong as it is contained within the <body></body ...meaning it doesnt need to be as below...I am also sure Support will verify this as this has also been questioned before when using the Page HTML After<body> Before</before> it works the same what ever you use aslong as it is containe within <body></body>

<body>
my tag or my code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here
wysiwygwebbuilder code here

my tag or my code here
</body>
User avatar
Pablo
 
Posts: 23027
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Extension Builder - code after <body> and before </body>

Post by Pablo »

Why not use jQuery to insert the code wherever you want?
That will be a lot less work then to complete redesign the software to make this possible...
Post Reply