close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Insert Date Picker in a Template generated page

Thread began 2/08/2011 8:04 pm by dataworks388155 | Last modified 3/13/2012 11:37 am by Jason Byrnes | 1114 views | 3 replies |

dataworks388155

Insert Date Picker in a Template generated page

I am trying to insert a datepicker on a date form in a php page that is based on a template. The interface is telling me that the change will require a change to code that is locked by a template or translator.

How do you insert a datepicker on a template generated page?

Sign in to reply to this post

Jason ByrnesWebAssist

This is a common issue when working with Dreamweaver templates.


see this post for a workaround:
showpost.php?p=18157&postcount=2

Sign in to reply to this post

neo314

Hi Jason,

I hate to gripe more than once a day, but I just ran into this problem. I read your work around, and I have to disagree. I think this is a problem with the extension, not DW.

The extension should be detecting that this is a template page and inserting that head code into the editable region of the head tag rather than simply inserting it just before the closing head tag. That is how all extensions that insert code into the head tag are supposed to work, and many WA extensions do this already. Is there some other reason this extension is not doing this sort of detection?

The problem with this workaround is that, when you reattach the page to the template and later update the template, the code for the extension will be lost and the page left broken. This happens because the new code is left inside the template code are even though it is not in the template.

The extension should be fixed, but in the meantime, to use this workaround, one should:

  1. Detach the page from the template.
  2. Apply the extension.
  3. Cut the head code added by the extension into the head tag (On complicated pages, this may require making a copy of the page and using some file comparison software like WinMerge or UltraCompare).
  4. Reattach the template.
  5. Paste the new head tag code into the head tag editable region of the template.


The behavior doesn't seem to be editable whether there is a template or not, so I don't think any detection of the behavior is affected, but I do not understand why it is not editable.


The idea of using a framework theme is a good workaround, but not necessarily on an existing web site. I should still be able to use the extension normally.


Thanks,
Steven

Sign in to reply to this post

Jason ByrnesWebAssist

the issue has been logged in our bugbase.

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