close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Plug-inDuplicated

Thread began 11/13/2012 6:30 am by clive.henderson222953 | Last modified 11/20/2012 10:07 am by Jason Byrnes | 915 views | 5 replies |

clive.henderson222953

Plug-inDuplicated

Hi
I have some code which is duplicated when I include it as a plug-in.
Can't see what I'm doing wrong and would appreciate some help.

The code i want to include is here cookies_eu.php and looks OK

but it is duplicated after I include it as a plug in. cookie_test.php

Any help really appreciated.
Clive

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of both pages so i can view the code.

Sign in to reply to this post

clive.henderson222953

Plug-inDuplicated

Thanks for the swift response Jason
I've attached a zip file with the pages
Kind Regards
Clive

Attached Files
pluginproblem.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the cookies_eu2.php page is not a full HTML page. It is missing the doctype, head, title and body tags. The pages you use as plugins should be full stand alone pages, not just HTML code snippets.

since the head and body tags are missing the plugin is added to both the head section and the body section, cause it has no way of knowing which section it should add to

Sign in to reply to this post

clive.henderson222953

Duplicate Plug-in

Jason
Many apologies for the late response.
Spot-on analysis - all working well now.

Many, many thanks for the fantastic support yet again.
Kind Regards
Clive

Sign in to reply to this post

Jason ByrnesWebAssist

No worries.

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

Content

rating

Layout

rating

Ease of use

rating

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...