Pasting text into a PHP Template

This is bizarre...
I have a PHP template. I built it in Dreamweaver, added some
PHP code, and saved it as a PHP file (mytemplate.dwt.php). I use
this template in Contribute, and it has worked fine. Until today
when I tried to paste some copy from a Word document. I kept
getting the error "You cannot perform this action this region of
the page." Then I tried pasting just one paragraph, and it worked.
So I kept trying different paragraphs and lines until I traced the
problem to the work "include". I cannot paste this word into the
editable region! I even typed the word "include" into Notepad to
make sure there was no weird Word markup, and tried copying &
pasting it in -- error. Any other word works fine -- even
"including".
I assume that Contribute thinks I'm trying to paste a PHP
include into the region or something. Is this a bug? I tried
pasting the word "include" into a non-PHP template and it worked
okay.
Alyssa

I tried the same, with the dwt.php template having the
following code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<!-- TemplateBeginEditable name="EditRegion3"
-->EditRegion3<!-- TemplateEndEditable --><?php
echo"Hello World"?>
Simple dwt.php template
</body>
</html>
it worked fine for me.

Similar Messages

  • I can't paste text into info boxes anymore with the latest version of itunes

    Ever since I downloaded the latest version of itunes (on Windows 7), I can no longer paste text into the info boxes when I edit song information. I can’t paste by right-clicking or Ctrl+V, this is driving me crazy because I’m trying to add info on a Russian artist with Cyrillic letters and I can’t do it! I didn’t buy the song from itunes so it can’t be issues with Copyrighting although the same thing happens with songs from the store and every other song in my library. I can paste text into the lyrics section but that’s it. I restarted my computer after reinstalling the latest versions of itunes and Firefox today hoping it would fix my problem but it didn’t. Is this happening to anyone else? I hope someone can help me! Oh and it isn’t just with Russian, I tried to paste English info just to see if it was a problem with recognizing Cyrillic and still nothing pastes, the boxes just stay blank.
    Itunes is annoying me more than ever. With the constant updates you’d think they would be able to improve all bugs but once one problem is fixed another occurs and it’s so irritating because I couldn’t care less about how my library looks as long as everything is organized in a simple way and I can sync my ipod without spending forever on itunes re-editing stuff and readjusting to updated layout changes. Apple’s attempts at making things look “cool” isn’t worth the F-ing constant problems which matter more! Okay, rant over

    M_E_G wrote:
    With the latest version of iTunes, my library screen has changed completely and I no longer have a Summary tab to select manual syncing of my iPod when I plug it into my computer.
    That would be Manually manage, not Manually syncing.
    Click the drop down arrow at top left the Show menu.
    Then iTunes menu View > Show sidebar.
    Select the iPod then you can select the Summary tab.

  • How can I copy and paste text into Word in Acrobat 9 Pro

    How can I copy and paste text into Word from Acrobat 9 Pro?

    You might find it easier to export the file to Word under File > Export > Word in Acrobat 9.

  • How to copy and paste text into email without HTML gibberish

    I've had trouble for some time now copying and pasting text into and out of yahoo emails. I can't just copy and paste text, I have to first transfer to Word for Mac and then paste into a yahoo email. Then I end up with what looks like three lines of HTML gibberish at the start of the pasted text each time. Isn't there a clean and direct way of copy and paste of text into and from emails in yahoo? No other email I work with has this problem, and the Safari browser doesn't give this same issue
    == This happened ==
    Every time Firefox opened
    == some recent Firefox update, I think

    I have to agree with bmalmquist.  Need for Speed seems to work great on the Playbook.  I didn't buy the Playbook to play games though.  RIM needs to shift their focus from games to useful and productive apps.  The apps I need to use are either missing very important features, or are just completely missing.  It is somewhat disconcerting to see new apps appear in App World only to discover that the new apps are mostly games.  I'm seeing lots of apps that would help me waste time, but very few that will actually help me be more productive.

  • I have difficulty pasting text into the file name field(prefix only) while saving files.

    OS: WinXP sp3
    FF: 3.6.3
    I have difficulty pasting text into the file name field (prefix only) while saving files. example: File name is Pic123.jpg and I want to rename it ABC123.jpg and I have ABC loaded into the WinXPsp3 clipboard. When I highlight\right-click\delete "Pic" then attempt to paste the ABC, I get either no reaction, or upon multiple paste attempts, the ABC is appended to the end of the file, after the extension, as "Pic123.jpgABC". If I delete this unwanted suffix, or repeat the process several times, eventually I can delete the unwanted portion of the prefix and paste the desired text. Sometimes it works fine first try, but mostly it takes several tries. I'm using Firefox 3.6.3 but the problem existed in whatever previous version I had too. This issue only occurs when using the delete/paste; I can always manually change the name by typing. Thank you for your help.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    A possible cause is that the server sends a wrong response header.
    The server may not comply to RFC 5987 and sends a wrong Content-Disposition:attachment; filename header.
    * https://developer.mozilla.org/en/Firefox_8_for_developers#Network

  • Cannot paste text into a text layer in Photoshop

    Since a couple of days ago I cannot paste text into a photoshop text layer from any other source, like safari, word etc.
    I get an "popup error"-window in swedish (my language) saying something like "Could not complete the paste text command because the clipboard data was invalid or missing."
    Anyone having the same issue? Or maybe a fix on the problem? Of course i've tried restarting photoshop and also the computer. Running Mac OS X Yosemite and the latest Photoshop CC 2014.

    Well I can't paste any text into any DW document, file, blank, page name, nothing
    The paste command does not work in DW
    I have deleted corrupted cache
    I have tried Restore Preferences
    Nothing allows me to paste text in any format from any file format period.

  • Cannot paste text into Dreamweaver after the fancy new version changes

    After the latest update I can no longer paste text into dreamweaver.  I'm sure it's because of some corrupted file but don't know where to find and make that correction.
    Thanks Adobe, really appreciate it.

    Well I can't paste any text into any DW document, file, blank, page name, nothing
    The paste command does not work in DW
    I have deleted corrupted cache
    I have tried Restore Preferences
    Nothing allows me to paste text in any format from any file format period.

  • Pasting text into a text layer in Photoshop CC 2014

    I've been playing around around with Photoshop CC 2014 HTML5/Javascript extensions (CEP5) for a while now and I came across a problem I couldn't solve: how to paste text in an existing text layer when the user is editing the text? Using evalScript and app.activeDocument.paste(); works fine when pasting copied pixels as a new layer, but if the user is on a text layer editing the text (and I want the extension to paste text there), it throws an evalScript error.
    Am I doing something terribly wrong or what? The next thing I thought was to invoke paste event and try it that way.

    I only see the normal texture filtering. Seems like you have a fundamental misunderstanding here about how 3D works - "pixel perfect" has no meaning for 3D textures since UV space is parametric and has by itself in theory infinite resolution, so any texture will be fit into this range and inevitably a single pixel in the texture can cover more than a pixel on screen or more than a square milimeter on a 3D object. If you want "sharp" textures, you increase the texture resolution, which, if you realyl want that pixely look would be doen using the nearest neighbor method. Regardless, once you zoom in at some point you will see fuzzy edges/ pixels again. It's in the nature of the thing.
    Mylenium

  • I can't seem to cut and paste text into the community message form?

    It seems I can't paste text data into this field.  Can you help?

    Win 7, explorer.  Cut and paste from any text source (Word, Notepad, Explorer) has the same result.  As an example, In this form window I cannot paste.  But, If I open a new discussion, toggle the HTML button, I can paste.  .  For some reason the reply form does not have the HTML button.  So, it might be a Java/browser thing - something is disabled.....
    I'll try Chrome and see if the same thing happens.
    I can cobble around it, but I've never seen this in any other HTML form before...

  • When printing to pdf i copy and try to paste text into the textbox and it freezes up. What can i do to fix this?

    I have tried to look at reasons as to why this happens but i cannot find anything. If i type it in manually it works perfectly fine. The copying and pasting of text into the name of the file freezes and crashes the window i am in

    Hey jb42312436,
    Please let me know what type of file are you trying to print to PDF.
    Is Adobe Acrobat installed on your system? What version?
    Try doing the same with some other file and check if the same thing happens.
    Let me know.
    Regards,
    Anubha

  • Cannot copy and paste text into Photoshop CS6

    I am not able to copy and paste text from non-Adobe programs (like Keynote or Word) into Photoshop CS6. I get an error message reading "Could not complete the Paste Text command because the clipboard data is empty or invalid." I have tried shutting down Photoshop, shutting down other programs, re-starting my computer, adjusting my Preferences and asking Adobe for help by phone and chat. I am on a new iMac and have no third party plug-ins installed. Can anyone help?

    Yesterday i update Yosemite and Adobe Photoshop CS6
    i found error text message like you everytime when i used fontAwesome on Adobe Photoshop CS6 and then i found out to fix this problems Yeahh…
    Try My Way to fix it out
    -> copy The Text you want to use
    -> paste your text (from your clipboard) To App TextEdit
    -> then Copy again
    -> back to Photoshop paste it on your document layout
    -> Done

  • When I copy and paste text into Captivate 8, special characters disappear

    I'm trying to copy and paste text from a PDF into Captivate 8. When I paste, all the accent marks disappear. (for example: ê shows up as e). I've tried pasting into other applications, and the special characters paste correctly, so it's a Captivate problem. Has anyone else had this issue? Is there a quick fix?
    Thanks in advance!

    Upgrade your browser to Firefox 8 and try
    * getfirefox.com

  • Users can't paste text into region

    My users are able to access regions and add text, but they
    cannot paste text from anything other than a .pdf. The formatting
    is an issue with this method, however, and some of the users are
    very limited in their experience. I am wondering if this is because
    of my template setup or if it is an issue with the server? Here is
    my template. Let me know if anything pops out as weird...

    Got it. I guess I should have validated my code before
    posting...
    I had <p> tags inside of <span> tags...
    Oops!

  • Pasting text into "Location" field produces messed-up results

    Almost every time I copy a string of text containing a street address from an email, website, etc., and paste it into the "location" field in a new iCal event, I end up with 2 or more little ovals that each contain pieces of the address, usually out of order.
    For example, I was just invited to something taking place at "2151 California St., NW, Apt. 403" -- iCal turned this into three ovals, reading:
    (2151 California St.) (Apt. 403) (NW)
    My only recourse seems to be to open TextEdit, paste the string into there first, edit out all the commas, and copy the edited string and paste that into iCal. That's a lot of work for a very simple task. Would there really be a downside to just allowing a text string to appear the way it was pasted?
    Also, I could really use a "cancel" button when creating a new event. Sometimes I accidentally double-click on a date, creating an unintended event, and I have to click "Done", then delete the new event. It's a small thing, but it's a little annoying.

    Hi Sean,
    This only happens for me in a Google CalDAV calendar. In local calendars it works as expected.
    It appears that the software (possibly a combination of iCal and GCal) is deciding it is a list of items and if you re-open the event after you can see it replaces the comma for a semi-colon. This is compounded in that Google Calendar add exclamation to signify the address isn't found.
    To delete an accidental event, try pressing the 'esc' key then the 'delete' key.
    For both of these you may get better results telling Apple (http://www.apple.com/feedback/ical.html), as this is a user to user forum.
    Best wishes
    John M

  • Cannot paste text into After Effects CS4

    Hi there,
    I've searched all over and I'm sure I'm missing something very obvious; but how do you copy and paste text from one program into an active text box in AE CS4?
    I'm adding credits to a video and I need to put down some copyright info - and I want to copy and paste all the details so I don't need to type it all.
    But I can work around that - I can just type it. However, I want to copy the © symbol in - and this is what happens.
    I open character map, search for "copy" and select this "©" and click on copy, jump into ae, go into an active text box with cursor blinking, and Cntr+V for paste and boom! - there I have a whole phrase jump in - which was whatever I last copied from AE text box -- NOT what I just copied from character map.
    But then I come over here to the forums and without copying that symbol again, I just hit paste and it pastes it right in here.
    It acts the same way with other text, from browser, from photoshop (active text box - copy selected text).
    I would assume there's a way to copy and paste, but what am I missing?

    Allow me to be slightly embarrassed - you must be exactly right. This morning I went back and tried again, and it worked perfectly!
    Still makes me wonder why it didn't work yesterday - I restarted Adobe but didn't restart the computer like I did over night.
    My system:
    Windows 7 Pro (64-bit)
    Intel i7 X980 3.33GHz
    750 GB system drive
    2TB Media drive
    12 GB Memory
    GeForce GTX 470
    Running Adobe Production Premium CS4
    AE version 9.0.3.8
    Font used: Adobe Caslon Pro
    Copied from character map with font: Adobe Caslon Pro
    Everything in English (US)
    I had a project in AE that was 80 seconds long, no external video footage but all built in AE at 1280 X 720, 30 fps
    I'm guessing some background process maybe messed the clipboard up? Anyway, it works now and I guess it was a one-time occurence. If I can ever recreate this repeatedly - I'll be back here!
    thanks!

Maybe you are looking for