close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Duplicate lines

Thread began 2/22/2012 3:23 pm by MikeH | Last modified 2/23/2012 7:00 am by Willi Schneider | 846 views | 2 replies |


Duplicate lines

Is there a way that FB plugins can be a little more intelligent?

If I make pages to plugin that have lets say an include for a script and a second page also has that script included FB plugins includes them twice causing issues. Is there a possability that this can be rectified in a future relase that files are only included once?

I have quite a few pages that have different (other dev extensions on) when included in the same page this line is repeated.

<script type="text/javascript" src="../ScriptLibrary/jquery-latest.pack.js"></script>

I am having to comment them out at the moment except in one page yet everytime you reneter the 3rd party extension it puts them back and you comment them out again.

FB should technically only include it once shouldn't it?



Sign in to reply to this post

Jason ByrnesWebAssist

this has been added as a feature request to be considered for the next version of framework builder.

Sign in to reply to this post

Willi Schneider

Hi Mike
I guess you are using DMXzone Extensions, because that's where I'm having this problem.
So, first of all, I second your request for the next FB update.

But I found a quick and simple workaround for that.

In your plugin page, simply change that line

<script type="text/javascript" src="../../ScriptLibrary/jquery-latest.pack.js"></script>


if ("".$_GET['mode'] ."" == "test") {
<script type="text/javascript" src="../../ScriptLibrary/jquery-latest.pack.js"></script>
} // ("".$_GET['mode'] ."" == "test")

So, if you include this file via WA's Framework Builder this line would be excluded. If you want to test that plugin "standalone", however, you should add that URL-parameter (mode=test) when previewing -->

You could create a code snippet for reuse.




Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...