Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
bmjnine #1
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
bmjnine Guest
-
Pasting text with autoformatting in few text boxes
My main problem is how to paste to 3 separate text-boxes plain text like this and have it formatted automaticly: 700,000 Cliff Road, Tramore,... -
UTF-8 encoded Template and pasting from Word
We are having problems with Contribute retaining UTF-8 FILE encoding when creating a new page from a template. A little background info: We have... -
Pasting text
In the process of putting together a newsletter and repeatedly get the message "could not complete the paste command because the text block is too... -
Pasting Text files into a text field?
I want to past a text file into a text field but it looses it's format. It should appear in a table layout, is there a way round this? Thanks ... -
Pasting Text into Director Field?
I am trying to create a Director application that allows users to enter data into another application. One of the fields is for the entry of a... -
Dominic Michael #2
Re: Pasting text into a PHP Template
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.
Dominic Michael Guest



Reply With Quote

