Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
PDogg81 #1
Error Message when using "Link-->Create New Page" withTemplates
I have a site that used a custom CMS before, but now we are porting it over to
ASP and using contribute. I got all the files set up right and made templates
from sample pages so that I can create news pages from a page they are
currently editing. However, whenever I use the template to create a new file I
get the message "You cannot perform this action in this region of the page."
All that happens is that I click off the message, and then everything works
exactly like it should have anyway. This does not bother me so much, but the
client will not be happy with getting error messages every time they create a
new page. I think maybe the problem is my templates, because I do not get this
error when I choose a blank document rather than a template-based new page. I
will attach code for the template to this message, minus any identifying
information for the client company. If anyone can help me figure out what I
might be doing wrong, I would appreciate it.
thanks,
-=Paul
<%' begin spacer column %>
<td width="2%"><img src="/images/spacer.gif" width="2%" height="1"
border="0"></td>
<%' end spacer column %>
<td width="88%" valign="top">
<%' begin about detail ------------------------------------------------- %>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="/images/spacer.gif" width="30" height="1"
border="0"></td>
<td width="99%" valign="top" class="siteTextBlack">
<%
'
--------------------------------------------------------------------------------
------------
' begin
content-----------------------------------------------------------------
'
--------------------------------------------------------------------------------
------------
%>
<p align="left"><font face="Verdana" size="3"><b> News:</b></font></p>
<p>
<!-- TemplateBeginEditable name="EditRegionContent" -->
<p><font face="Verdana" size="2"><b>Press Release Title #1</b></font></p>
<p><font face="Verdana" size="2">New York</font><font face="Verdana" size="2">,
N.Y., August 31, 2001 -- Lorem ipsum dolor sit amet, consectetuer
adipiscing
elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam. Lorem
ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
euismod tincidunt ut laoreet dolore magna aliquam. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt
ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer
adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore
magna aliquam.</font></p>
<p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
adipiscing
elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam. Lorem
ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
euismod tincidunt ut laoreet dolore magna aliquam. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt
ut laoreet dolore magna aliquam. Lorem ipsum dolor sit amet,
consectetuer
adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore
magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed
diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam. Lorem
ipsum dolor sit amet, consectetuer adipiscing elit, sed<br>
diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam.
Lorem
ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
euismod
tincidunt ut laoreet dolore magna aliquam. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut
laoreet
dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing
elit,
sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam.</font></p>
<p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
adipiscing
elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
aliquam. Lorem
ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
euismod tincidunt ut laoreet dolore magna aliquam. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
tincidunt
ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer
adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore
magna aliquam.</font></p>
<!-- TemplateEndEditable -->
<p> </p>
<p><font face="Verdana" size="2"><b><u>Contact Information:</u></b></font></p>
<p><font face="Verdana" size="2">
Company Name.<br>
Company Address<br>
Town, State 55555<br>
(555) 555-5555</font><p>
<%
'
--------------------------------------------------------------------------------
------------
' end
content-----------------------------------------------------------------
'
--------------------------------------------------------------------------------
------------
%>
</td>
</tr>
</table>
<%' end about detail ------------------------------------------------- %>
</td>
</tr>
</table>
<%'
'-------------------------------------------------------------------------------
-------
'<!-- End Main Section
Framework------------------------------------------------------------
'-------------------------------------------------------------------------------
-------
%>
<p>
<%
'---------------------------------
'<!-- Begin Bottom Navigation-----------
'---------------------------------
%>
<%' <!-- <p> </p> --> %>
<!-- #include file="../include/genSiteBottomNav.asp" -->
<%
'---------------------------------
'<!-- End Bottom Navigation-------------
'---------------------------------
%>
<hr width="100%">
<%
'-------------------------------------------
'<!-- Begin Copyright/Disclaimer Footer-----------
'-------------------------------------------
%>
<!-- #include file="../include/genSiteCopyright.asp" -->
<%
'-------------------------------------------
'<!-- End Copyright/Disclaimer Footer-----------
'-------------------------------------------
%>
</body>
</html>
PDogg81 Guest
-
Help! Can not save anything in Illustrator format - Error message "unknown error has occured"
I am using Illustrator CS on XP, I was trying to save my work, it was a template and about 10 layers. I got the error message "unknown error has... -
what is the "utility link" and "global link" supposed tobe for?
I'm using a halo template to create a personal website for myself, and at the top of the page, there's options for "utility link" and "global link"... -
Can I create a link that goes to the middleof a page with an "Inherit Zoom" setting?
I'm trying to create links from a Table of Contents that will jump to the middle of a page, but with an "Inherit Zoom" setting. I've been able to... -
Can I create a link to go "back" to the last pageviewed?
Is there a simple command in DW that I can apply to an image so it will take the vistor back to the last page viewed? -
Longtime user, now getting the dreaded "You can't editthis page now because you are already editing it" message. Help!
I've successfully used Contribute with several sites and several web hosts. The site I'm having an issue with was built specifically for... -
Murray *TMM* #2
Re: Error Message when using "Link-->Create New Page" with Templates
<p>
<!-- TemplateBeginEditable name="EditRegionContent" -->
You have in effect placed this editable region inside a <p> tag, and CT is
going to bark at you for that.
Whenever you get such errors, the first thing to do is to validate your
code. This <p> tag should be closed.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"PDogg81" <webforumsuser@macromedia.com> wrote in message
news:d5the4$fuk$1@forums.macromedia.com...>I have a site that used a custom CMS before, but now we are porting it over
>to
> ASP and using contribute. I got all the files set up right and made
> templates
> from sample pages so that I can create news pages from a page they are
> currently editing. However, whenever I use the template to create a new
> file I
> get the message "You cannot perform this action in this region of the
> page."
>
> All that happens is that I click off the message, and then everything
> works
> exactly like it should have anyway. This does not bother me so much, but
> the
> client will not be happy with getting error messages every time they
> create a
> new page. I think maybe the problem is my templates, because I do not get
> this
> error when I choose a blank document rather than a template-based new
> page. I
> will attach code for the template to this message, minus any identifying
> information for the client company. If anyone can help me figure out what
> I
> might be doing wrong, I would appreciate it.
>
> thanks,
> -=Paul
>
> <%' begin spacer column %>
> <td width="2%"><img src="/images/spacer.gif" width="2%" height="1"
> border="0"></td>
> <%' end spacer column %>
>
> <td width="88%" valign="top">
> <%' begin about detail -------------------------------------------------
> %>
>
> <table width="100%" cellpadding="0" cellspacing="0" border="0">
> <tr>
> <td><img src="/images/spacer.gif" width="30" height="1"
> border="0"></td>
> <td width="99%" valign="top" class="siteTextBlack">
> <%
> '
> --------------------------------------------------------------------------------
> ------------
> ' begin
> content-----------------------------------------------------------------
> '
> --------------------------------------------------------------------------------
> ------------
> %>
> <p align="left"><font face="Verdana" size="3"><b> News:</b></font></p>
> <p>
> <!-- TemplateBeginEditable name="EditRegionContent" -->
> <p><font face="Verdana" size="2"><b>Press Release Title #1</b></font></p>
> <p><font face="Verdana" size="2">New York</font><font face="Verdana"
> size="2">,
> N.Y., August 31, 2001 -- Lorem ipsum dolor sit amet, consectetuer
> adipiscing
> elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
> aliquam. Lorem
> ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
> nibh
> euismod tincidunt ut laoreet dolore magna aliquam. Lorem ipsum
> dolor
> sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
> tincidunt
> ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet,
> consectetuer
> adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
> dolore
> magna aliquam.</font></p>
> <p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
> adipiscing
> elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
> aliquam. Lorem
> ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
> nibh
> euismod tincidunt ut laoreet dolore magna aliquam. Lorem ipsum
> dolor
> sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
> tincidunt
> ut laoreet dolore magna aliquam. Lorem ipsum dolor sit amet,
> consectetuer
> adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
> dolore
> magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing
> elit, sed
> diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam.
> Lorem
> ipsum dolor sit amet, consectetuer adipiscing elit, sed<br>
> diam nonummy nibh euismod tincidunt ut laoreet dolore magna
> aliquam.
> Lorem
> ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
> nibh
> euismod
> tincidunt ut laoreet dolore magna aliquam. Lorem ipsum dolor sit
> amet,
> consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut
> laoreet
> dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing
> elit,
> sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
> aliquam.</font></p>
> <p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
> adipiscing
> elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
> aliquam. Lorem
> ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
> nibh
> euismod tincidunt ut laoreet dolore magna aliquam. Lorem ipsum
> dolor
> sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
> tincidunt
> ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet,
> consectetuer
> adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
> dolore
> magna aliquam.</font></p>
> <!-- TemplateEndEditable -->
> <p> </p>
> <p><font face="Verdana" size="2"><b><u>Contact
> Information:</u></b></font></p>
> <p><font face="Verdana" size="2">
> Company Name.<br>
> Company Address<br>
> Town, State 55555<br>
> (555) 555-5555</font><p>
> <%
> '
> --------------------------------------------------------------------------------
> ------------
> ' end
> content-----------------------------------------------------------------
> '
> --------------------------------------------------------------------------------
> ------------
> %>
> </td>
> </tr>
> </table>
>
> <%' end about detail ------------------------------------------------- %>
> </td>
> </tr>
> </table>
> <%'
>
> '-------------------------------------------------------------------------------
> -------
> '<!-- End Main Section
> Framework------------------------------------------------------------
>
> '-------------------------------------------------------------------------------
> -------
> %>
> <p>
> <%
> '---------------------------------
> '<!-- Begin Bottom Navigation-----------
> '---------------------------------
> %>
> <%' <!-- <p> </p> --> %>
> <!-- #include file="../include/genSiteBottomNav.asp" -->
> <%
> '---------------------------------
> '<!-- End Bottom Navigation-------------
> '---------------------------------
> %>
> <hr width="100%">
> <%
> '-------------------------------------------
> '<!-- Begin Copyright/Disclaimer Footer-----------
> '-------------------------------------------
> %>
> <!-- #include file="../include/genSiteCopyright.asp" -->
> <%
> '-------------------------------------------
> '<!-- End Copyright/Disclaimer Footer-----------
> '-------------------------------------------
> %>
> </body>
> </html>
>
Murray *TMM* Guest
-
PDogg81 #3
Re: Error Message when using "Link-->Create New Page"with Templates
thanks, I'll try that in the morning and see if that's the problem. I'll let you know if it works
-=Paul
PDogg81 Guest
-
Murray *TMM* #4
Re: Error Message when using "Link-->Create New Page" with Templates
Good luck!
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"PDogg81" <webforumsuser@macromedia.com> wrote in message
news:d5u168$88u$1@forums.macromedia.com...> thanks, I'll try that in the morning and see if that's the problem. I'll
> let you know if it works
>
> -=Paul
Murray *TMM* Guest
-
PDogg81 #5
Re: Error Message when using "Link-->Create New Page"with Templates
No luck. I fixed that <p> tag and one other unclosed one toward the end, but
my template is still a little screwy. I made a quick basic template earlier
and got no message when I tried to use that, so there must be some kind of
markup problem like you said. I'm going to look into the templates a little
further to see if there are any obvious rules I'm breaking. I just took an
existing page and made the center editable, then saved as a template. Thanks
for your help so far, Murray; at least now I know there is something screwed up
in the template itself
PDogg81 Guest
-
Murray *TMM* #6
Re: Error Message when using "Link-->Create New Page" with Templates
You're welcome.
My experience is this - whenever I get errors like that, the answer is
somewhere in the code - and maybe even in code well removed from editable
regions....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"PDogg81" <webforumsuser@macromedia.com> wrote in message
news:d5vnei$oav$1@forums.macromedia.com...> No luck. I fixed that <p> tag and one other unclosed one toward the end,
> but
> my template is still a little screwy. I made a quick basic template
> earlier
> and got no message when I tried to use that, so there must be some kind of
> markup problem like you said. I'm going to look into the templates a
> little
> further to see if there are any obvious rules I'm breaking. I just took
> an
> existing page and made the center editable, then saved as a template.
> Thanks
> for your help so far, Murray; at least now I know there is something
> screwed up
> in the template itself
>
Murray *TMM* Guest
-
PDogg81 #7
Re: Error Message when using "Link-->Create New Page"with Templates
It has something to do with the includes, because I did the exact same thing
with with the includes pasted in and the templates seemed to work magically.
For now I'm just going to keep the few pages that need to be changed without
the includes, and hopefully this won't be a problem in the future.
PDogg81 Guest
-
Murray *TMM* #8
Re: Error Message when using "Link-->Create New Page" with Templates
Aha - a new piece of critical information.
Do your includes contain <html>, <head>, or <body> tags?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"PDogg81" <webforumsuser@macromedia.com> wrote in message
news:d5vran$16t$1@forums.macromedia.com...> It has something to do with the includes, because I did the exact same
> thing
> with with the includes pasted in and the templates seemed to work
> magically.
> For now I'm just going to keep the few pages that need to be changed
> without
> the includes, and hopefully this won't be a problem in the future.
>
Murray *TMM* Guest
-
PDogg81 #9
Re: Error Message when using "Link-->Create New Page"with Templates
Nope, none of those tags were in the includes. I had one include that had some
header information in it that would be displayed inside the tag, but when I
replaced that with the actual code it still gave me an error. I didn't really
have time to go through and pull out each include to see which was the most
problematic, so I may just have to experiment on this more in the future.
Thanks again for your help
PDogg81 Guest
-
Murray *TMM* #10
Re: Error Message when using "Link-->Create New Page" with Templates
Good luck - sorry I wasn't able to nail it better for you.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"PDogg81" <webforumsuser@macromedia.com> wrote in message
news:d62uj2$r9b$1@forums.macromedia.com...> Nope, none of those tags were in the includes. I had one include that had
> some
> header information in it that would be displayed inside the tag, but when
> I
> replaced that with the actual code it still gave me an error. I didn't
> really
> have time to go through and pull out each include to see which was the
> most
> problematic, so I may just have to experiment on this more in the future.
> Thanks again for your help
>
Murray *TMM* Guest



Reply With Quote

