Copy link to clipboard
Copied
I am ignorant about code. I called Adobe support who first sent me a tutorial that would show me how to insert a piece of code given to me by Constant Contact that is supposed to provide a link to my archived newsletters on Constant Contact. When the tutorial didn't help because I didn't know which insert options to choose, I called back and was told that there is a special problem inserting this kind of code so that it will provide a link. I was referred to this forum service, as a possible way to find the expertise that would guide me in inserting the code properly. Is there anyone who can help?
Harris, unsophisticated in code and wanting to remain so
Thanks Nancy and Osgood,
By using the advice you both gave, I was finally able to successfully get the archive feature onto my website, where it seems now to be functioning properly.
nThe last step was to download WinMerge, compare the local and remote versions of the whatsnew page and somehow get the right one on the remote server.
Most of this is still a mystery to me. Why things work and why they don't. I don't know why the version I kept uploading got the remote server in a different form. a
...Copy link to clipboard
Copied
https://forums.adobe.com/people/harris+wws88634434 wrote
I am ignorant about code. I called Adobe support who first sent me a tutorial that would show me how to insert a piece of code given to me by Constant Contact that is supposed to provide a link to my archived newsletters on Constant Contact. When the tutorial didn't help because I didn't know which insert options to choose, I called back and was told that there is a special problem inserting this kind of code so that it will provide a link. I was referred to this forum service, as a possible way to find the expertise that would guide me in inserting the code properly. Is there anyone who can help?
Harris, unsophisticated in code and wanting to remain so
What is this piece of code supplied to you by Constant Contact? It must be a link that when clicked takes you to your newsletters hosted on the Constant Contact website?
If you post the bit of code in the forum so long as it doesnt contain any sensitive information like usernames, passwords etc someone could take a look and determine what it is and what you should perhaps to with it.
Copy link to clipboard
Copied
Do you have a web site? If yes, what is the URL to your online site and page on which you want the constant contact link to appear? Finally, what is the constant contact code please?
Nancy
Copy link to clipboard
Copied
Thanks for answering Nancy.
here is the URL to the website page that I want the link to go on (at newsletter essays):
Harris WW Stern, PhD | Support For Change (When I copied it, it changed the address to this, but when I put my cursor on it the URL appears)
Here is the code that code that Constant Contact gave me:
<!--Begin CTCT Archive-->
<script id="archiveScript"
src="//static.ctctcdn.com/js/archive-static/current/archive-static.min.js"></script>
<div id="archiveList" data-archive-count="100"
data-m="a07eagf480i0"></div>
I will be very appreciative of any help or advice you can give.
Harris
Copy link to clipboard
Copied
https://forums.adobe.com/people/harris+wws88634434 wrote
Thanks for answering Nancy.
here is the URL to the website page that I want the link to go on (at newsletter essays):
Harris WW Stern, PhD | Support For Change (When I copied it, it changed the address to this, but when I put my cursor on it the URL appears)
Here is the code that code that Constant Contact gave me:
<!--Begin CTCT Archive-->
<script id="archiveScript"
src="//static.ctctcdn.com/js/archive-static/current/archive-static.min.js"></script>
<div id="archiveList" data-archive-count="100"
data-m="a07eagf480i0"></div>I will be very appreciative of any help or advice you can give.
Harris
Just copy that block of code and paste it in your page where you want the list of newsletters to appear.
You will need to go into code view to do this. So place your mouse cursor in Dreamweavers Design View window where you want the list to appear then switch to code view and locate the cursor, which should be flashing, and paste in that block of code.
You wont see the list locally - you need to upload your page to your remote server and view it.
Copy link to clipboard
Copied
1) your site is template driven
2) your code contains critical errors that need attention and that starts with the Template.dwt See link below for details on your code errors. A major omission is a valid doc type declaration on line #1of your code.
[Invalid] Markup Validation of http://www.harrisstern.com/about/whatsnew.html - W3C Markup Validator
I'm not sure you can insert a block of <script> into a child page unless that link is contained in an Editable Region as defined in your Template.dwt file.
Nancy
Copy link to clipboard
Copied
I'm not sure you can insert a block of <script> into a child page unless that link is contained in an Editable Region as defined in your Template.dwt file.
There looks to be an editable region where the code can be pasted:
<p>Newsletter Essays</p>
<!-- TemplateBeginIf cond="_document['Archived Newsletters']" --><!-- TemplateBeginEditable name="EditRegion1" --><a href="http://archive.constantcontact.com/fs133/1119858970770/archive/1120159947097.html"><u>View Archived Newsletters</u></a>
PASTE CODE HERE
<!-- TemplateEndEditable -->
<p> </p>
<p> </p>
<p> </p>
<!-- TemplateEndIf --><!-- InstanceEndEditable -->
Copy link to clipboard
Copied
Hello,
I have now spent a few hours trying to follow the advice you gave me, using the limited capabilities that I have with dream weaver.
I created a new page for the archive list (since now, perhaps I am understanding that the list is not going to appear on my website instead of people going to the constant contact website) and I did follow your directions to put the code I got from CC in an editable region).
I then created a link to that page on my website on my "what's new" page. and I uploaded all of it. I can see that the new page is on the remote server and where I think it belongs, but when I got to my website and click on the link (list of archived essay newsletters) I get the following error message:
404: Page not found
This error is generated when there was no web page with the name you specified at the web site.
Troubleshooting suggestions:
Ensure the page you are linking to exists in the correct folder.
Check your file name for case sensitivity . Index.htm is not the same as index.htm!
Temporarily disable any rewrite rules by renaming your .htaccess file if it exists.
I have followed these troubleshooting suggestions to the best of my ability, but I still get the same error message.
Any suggestions??
Thanks again for your consideration
Harris
Copy link to clipboard
Copied
https://forums.adobe.com/people/harris+wws88634434 wrote
Hello,
404: Page not found
This error is generated when there was no web page with the name you specified at the web site.
Troubleshooting suggestions:
Ensure the page you are linking to exists in the correct folder.
Check your file name for case sensitivity . Index.htm is not the same as index.htm!
Temporarily disable any rewrite rules by renaming your .htaccess file if it exists.
If you're getting that message then the page has either not been uploaded to the correct location on your remote server or the page name is not the exactly the same as the name of the link to it.
Copy link to clipboard
Copied
Thanks Nancy and Osgood,
By using the advice you both gave, I was finally able to successfully get the archive feature onto my website, where it seems now to be functioning properly.
nThe last step was to download WinMerge, compare the local and remote versions of the whatsnew page and somehow get the right one on the remote server.
Most of this is still a mystery to me. Why things work and why they don't. I don't know why the version I kept uploading got the remote server in a different form. and I couldn't swear that I understood how I got it to correct using WinMerge. But I did.
So I am still unsophisticated about code, but I have learned more about dream weaver and gained some more confidence in my ability to handle problems. I do wish it took less time. I would rather be writing for my website and newsletter than figuring out how to adjust to changes in the tech world.
None-the-less I am grateful for your help.
Harris