DW cs3 template locked? oh boy...

Discussion in 'Web Design and Development' started by Keebler, Apr 22, 2009.

  1. Keebler macrumors 68030

    Joined:
    Jun 20, 2005
    Location:
    Canada
    #1
    Hi folks,

    I'm trying to edit a dreamweaver cs3 page for my website.
    I had dloaded a template (pls don't hold that against me :) and I've been updating my site for a few years now. I've never seen this message.

    I'm editing on a page on which I've added text, some clips etc...

    Now i'm trying to add a flash video instead of having external links. I go through the steps of add a media file - flash video, but when I add it, I receive a message along the lines of "Hey, you can't edit this b/c "...that is locked by a template or administrator."

    I found a link off google explaining that may the ' <head> is before the <script> ' , but I'll be honest - i'm a beginner on coding so I have no idea what that means. I checked the split box and found a head which is grayed out (assuming this is b/c it's from the actual template .dwt file?) and I found the script (which looks editable).

    What can I do?

    Ironically, I'm supposed to have my site updated for tomorrow morning (ad going in the paper). I could leave the links there, but it's somewhat critical b/c those links lead to files on my homepage acct which Apple stopping very soon.

    Cheers,
    keebler
     
  2. Keebler thread starter macrumors 68030

    Joined:
    Jun 20, 2005
    Location:
    Canada
    #2
    ok..here is the code from this page in case anyone wants to help me out.

    <html><!-- #BeginTemplate "/Templates/Main2.dwt" --><!-- DW6 -->
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>dvdslideshow</title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <!-- #EndEditable -->
    <LINK REL=STYLESHEET TYPE="text/css" HREF="../style.css">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript" type="text/JavaScript">
    <!--



    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    }
    //-->
    </script>
    </head>

    <body bgcolor="#FFFFFF" text="#000000" onLoad="MM_preloadImages('../oldafter.jpg','../hockey new 281.jpg','../sp40 fixed.jpg','../redeyegone.jpg','../yellowfinal.jpg','../sp900_800.jpg','../soloedited.jpg','../breton_done_web.jpg')">
    <table width="0%" border="0" cellspacing="0" cellpadding="0">
    <!--DWLayoutTable-->
    <tr>
    <td width="128" rowspan="8" valign="top" bgcolor="#EBEBE3"> <table width="128" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><img src="../images/menutop.gif" width="128" height="18"></td>
    </tr>
    <tr>
    <td><p><a href="../index.htm"><img name="Image35" border="0" src="../images/menu/home.gif" width="128" height="19"></a><br>
    <a href="../services.htm"><img name="Image36" border="0" src="../images/menu/products.gif" width="128" height="19"></a><br>
    <a href="../samples.htm"><img name="Image37" border="0" src="../images/menu/services.gif" width="128" height="19"></a><br>
    <a href="../pricing.htm"><img name="Image38" border="0" src="../images/menu/aboutus.gif" width="128" height="19"></a><br>
    <a href="../the_process.htm"><img name="Image39" border="0" src="../images/menu/company.gif" width="128" height="19"></a><br>
    <a href="../testimonials.htm"><img name="Image40" border="0" src="../images/menu/links.gif" width="128" height="19"></a><br>
    <a href="../faq.htm"><img name="Image41" border="0" src="../images/menu/guestbook.gif" width="128" height="19"></a><br>
    <a href="../disclaimers.htm"><img name="Image42" border="0" src="../images/menu/photo.gif" width="128" height="19"></a><br>
    <a href="../contact me.htm"></a><a href="../contact_me.htm"><img name="Image45" border="0" src="../images/menu/email.gif" width="128" height="19"></a>

    <a href="../contact me.htm"></a><a href="../contact me.htm"></a></p></td>

    </tr>
    <tr>
    <td><a href="../specials.htm"><img src="../images/menubottom2.jpg" width="128" height="18" border="0"></a></td>
    </tr>
    <tr>
    <td><img src="../images/sidetop.gif" width="128" height="17"></td>
    </tr>
    <tr>
    <td align="center"><strong>Celebrate a milestone birthday or anniverary
    with a <u>DVD Photo Slideshow</u>. <a href="slideshows2dvd.htm">Click
    here for more details.</a></strong></td>
    </tr>
    <tr>
    <td align="center"> <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <td class="news"><br>
    <a href="audiotransfers.htm"><img src="../LPcassettes.jpg" width="180" height="152" border="0"></a>
    </td>
    </tr>
    </table></td>
    </tr>
    </table>
    <p align="center"><font size="+2">Donations!</font></p>
    <p align="center"> 5% of Memories2dvd's annual revenue will be donated equally
    between the <a href="http://www.cancer.ca/ccs/internet/cancer/0,,3172,00.html"><strong>Canadian
    Cancer Society</strong></a> and the <a href="http://junobeach.org/Centre/index.html"><strong>Juno
    Beach Memorial</strong></a></p>
    <p> </p></td>
    <td width="3" rowspan="7"><img src="../images/clearpixel.gif" width="3" height="1"></td>
    <td width="16" height="56" bgcolor="#6D9A50"><img src="../images/topleft.gif" width="16" height="56"></td>
    <td width="100%" valign="bottom" bgcolor="#6D9A50"><img src="../name.gif" width="360" height="50"></td>
    <td width="16"><img src="../images/topright.gif" width="16" height="56"></td>
    </tr>
    <tr>
    <td colspan="3" height="2"><img src="../images/clearpixel.gif" width="1" height="2"></td>
    </tr>
    <tr>
    <td height="6" colspan="3" bgcolor="#006D15"><img src="../images/clearpixel.gif" width="1" height="6"></td>
    </tr>
    <tr>
    <td colspan="3" height="2"><img src="../images/clearpixel.gif" width="1" height="2"></td>
    </tr>
    <tr>
    <td height="21" bgcolor="#EBEBE3"><img src="../images/lightleft.gif" width="16" height="21"></td>
    <td align="right" bgcolor="#EBEBE3"><div align="left"><strong><a href="mailto:brian@memories2dvd.ca">CONTACT
    INFORMATION: Phone: 613-324-2383___ E-MAIL</a> | <a href="../about_me.htm">About
    Me</a></strong> </div></td>
    <td bgcolor="#EBEBE3"> </td>
    </tr>
    <tr>
    <td height="11"><img src="../images/clearpixel.gif" width="1" height="11"></td>
    <td align="right" valign="top"><img src="../images/lightcorner.gif" width="10" height="11"></td>
    <td bgcolor="#EBEBE3"><img src="../images/clearpixel.gif" width="1" height="11"></td>
    </tr>
    <tr>
    <td height="650" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="16" rowspan="2"><img src="../images/innertopleft.gif" width="16" height="16"></td>
    <td bgcolor="#006D15" height="1"><img src="../images/clearpixel.gif" width="1" height="1"></td>
    <td width="16" rowspan="2"><img src="../images/innertopright.gif" width="18" height="16"></td>
    </tr>
    <tr>
    <td width="100%"><img src="../images/clearpixel.gif" width="1" height="15"></td>
    </tr>
    <tr>
    <td background="../images/leftbg.gif"><img src="../images/clearpixel.gif" width="16" height="8"></td>
    <td width="100%" valign="top"> <div align="center">
    <table width="100%" border="0" cellspacing="2" cellpadding="2">
    <!--DWLayoutTable-->
    <!-- #BeginEditable "Body" -->
    <tr>
    <td width="267" height="145" valign="top"><p><img src="../pg t samples.jpg" width="119" height="34"></p>
    <p>once you
    actually see the results, you will realize that personalization
    is the key to your DVD project. Aside from your photos,
    video and favourite music, I completely personalize every
    aspect of your DVD right from the packaging to the DVD menus.</p>
    <p>Click <a href="testimonials.htm"><strong>here</strong></a> to read client testimonials.</p>
    <p>Click on the thumbnails below to view various samples from
    recent projects.</p>
    <p><em>All samples have been reduced in quality to be internet
    friendly. Original versions are of superior quality and
    full-TV size. </em></p>
    <p>You will need Apple's Quicktime player to view the movie
    files. The free download is available by clicking <a href="http://www.apple.com/quicktime/products/qt"><strong>here</strong></a>.</p>
    <p> </p> </td>
    <td width="290" align="center" valign="top"><p> </p>
    <p> </p>
    <p align="center">Follow these links to read about other services:</p>
    <div align="left">
    <ul>
    <li><strong><a href="homedvds.htm"><font size="+1">Video
    and Reel Transfers</font></a></strong></li>
    <li><font size="+1"><strong><a href="slideshows2dvd.htm">Photo
    Slideshows</a></strong></font></li>
    <li><font size="+1"><strong><a href="../photorestorations.htm">Photo
    Transfers and Restorations</a></strong></font></li>
    <li> <font size="+1"><strong><a href="audiotransfers.htm">Audio
    Transfers</a></strong></font></li>
    </ul>
    </div>
    <p> </p>
    <p align="right"> </p>
    <p> </p></td>
    </tr>
    <tr valign="top">
    <td height="232" colspan="2" valign="top"> <p align="left"><strong><font size="+1">PHOTOSLIDESHOW
    SAMPLES:</font></strong></p>
    <p align="left"> </p>
    <p align="left">Photographs with voice over narration and
    text titles were combined to create a presentation that
    will provide generations with a history on their forefather
    in this biography.</p>
    <p align="center"><a href="../biography.wmv"><img src="../bio111.jpg" width="111" height="73" border="0"></a></p>
    <p align="left">The following sample was part of a 50th birthday
    celebration. Three hundred photographs were scanned and
    mixed with video clips to make the ultimate surprise movie. </p>
    <p align="center"><a href="../sample1.mov"><img src="../sample1.jpg" width="111" height="82" border="0"></a></p>
    <p align="left">

    <p align="left">This couple were married by a lake in a beautiful
    wedding. I compiled camcorder footage along with photographs
    into a memorable DVD, complete with a bonus music video.
    <p align="center"><a href="../ceremusicvidsam.mp4"><img src="../arbour.jpg" width="111" height="72" border="0"></a>
    <p align="left"><strong><font size="+1">8mm REEL COLOUR CORRECTION
    SAMPLE:</font></strong>
    <p align="left">Are you videos dark, too bright or discoloured?
    I can edit your tapes and film to repair colour issues,
    bringing your movies back to life.
    Click <a href="http://homepage.mac.com/memories2dvd/iMovieTheater30.html"><strong>HERE</strong></a> to view samples.
    <p align="left"><strong><font size="+1">PHOTO RESTORATION
    SAMPLES</font></strong>
    <p align="left">These samples illustrate the various types
    of blemishes which can be dealt with to restore your photographs.</p>
    <p align="left"> <strong><u><font size="3">Simply move your
    mouse cursor over each photo to see the difference.</font></u></strong></p>
    <p align="left"><strong>General Dust/Blemish Removal</strong></p>
    <p align="left"> </p>
    <p> </p>
    <div align="center">
    <p align="left"> </p>
    </div>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sp40 fix','','../sp40 fixed.jpg',1)"><img src="../sp40_orig.jpg" name="sp40 fix" width="600" height="418" border="0"></a></p>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image56','','../hockey new 281.jpg',1)"><img src="../hockey old 281.jpg" name="Image56" width="270" height="163" border="0"></a></p>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('oldsue','','../oldafter.jpg',1)"><img src="../oldbefore.jpg" name="oldsue" width="320" height="501" border="0"></a></p>
    <p align="left"><strong>Red Eye Removal</strong></p>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image55','','../redeyegone.jpg',1)"><img src="../redeye.jpg" name="Image55" width="231" height="416" border="0"></a></p>
    <p align="left"><strong>Colour & Stain Removal</strong></p>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('yellow','','../yellowfinal.jpg',1)"><img src="../yelloworig.jpg" name="yellow" width="270" height="395" border="0"></a></p>
    <p align="left"><strong>Contrast & Exposure Adjustments
    and Crack Removals </strong>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('breton','','../breton_done_web.jpg',1)"><img src="../breton base_web.jpg" name="breton" width="539" height="1000" border="0"></a>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('cracks','','../sp900_800.jpg',1)"><img src="../sp9orig.jpg" name="cracks" width="600" height="410" border="0"></a>
    <p align="left"><strong>Isolation of Main Subject</strong>
    <p align="left"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('isolation','','../soloedited.jpg',1)"><img src="../15sisters.jpg" name="isolation" width="300" height="500" border="0"></a>
    <p align="left"> </p>
    <p><br>
    <img src="../images/clearpixel.gif" width="430
    " height="1"> </p> </td>
    </tr>
    <!-- #EndEditable -->
    <tr valign="top">
    <td height="88" colspan="4" align="center" class="menu"> <p><img src="../images/hr.gif" width="361" height="1"></p>
    <p class="menu" ><a href="../index.htm"><strong>home</strong></a><strong>
    | <a href="../services.htm">services</a> | <a href="../sample.htm">samples</a>
    | <a href="../pricing.htm">pricing</a> | <a href="../testimonials.htm">testimonials</a>
    | <a href="../the_process.htm">the process</a><br>
    <a href="../faq.htm"> f.a.q.</a> | <a href="../disclaimers.htm">disclaimers</a>
    | <a href="../contact_me.htm">contact me</a> | <a href="../about_me.htm">about
    me</a></strong></p>
    <p class="menu" >Copyright Memories2dvd<a href="http://www.ibswebdesign.com/" target="_blank"></a>
    2003 - 2009 All Rights Reserved</p></td>
    </tr>
    <tr>
    <td height="5"></td>
    <td></td>
    <td width="211"></td>
    <td></td>
    </tr>
    </table>
    </div></td>
    <td width"23" background="../images/rightbg.gif"><img src="../images/clearpixel.gif" width="16" height="8"></td>
    </tr>
    <tr>
    <td width="16" rowspan="2"><img src="../images/innerbottomleft.gif" width="16" height="16"></td>
    <td width="100%"><img src="../images/clearpixel.gif" width="1" height="15"></td>
    <td width="16" rowspan="2"><img src="../images/innerbottomright.gif" width="18" height="16"></td>
    </tr>
    <tr>
    <td width="1" bgcolor="#006D15" height="1"><img src="../images/clearpixel.gif" width="1" height="1"></td>
    </tr>
    </table></td>
    <td bgcolor="#EBEBE3"> </td>
    </tr>
    <tr>
    <td height="5" colspan="3"><img src="../images/clearpixel.gif" width="1" height="5"></td>
    <td bgcolor="#EBEBE3"><img src="../images/clearpixel.gif" width="1" height="5"></td>
    </tr>
    <tr>
    <td height="20" bgcolor="#006D15"><img src="../images/bottomleftcorner.gif" width="16" height="20"></td>
    <td colspan="3" bgcolor="#006D15"> </td>
    <td bgcolor="#006D15"><img src="../images/bottomrightcorner.gif" width="16" height="20"></td>
    </tr>
    </table>
    </body>
    <!-- #EndTemplate --></html>
     
  3. Keebler thread starter macrumors 68030

    Joined:
    Jun 20, 2005
    Location:
    Canada
    #3
    btw, i guess this locking issue would be related to the 3rd column (also locked), which i'd like to eliminate or use?
     
  4. junker macrumors 6502

    junker

    Joined:
    Jul 3, 2006
    Location:
    An obtuse corner of the Triangle
    #4
    I'm new to this as well, but as far as I know - the <head> before the <script> is fine.... so it's not that.

    As for editing the script - I would recommend not doing that!!! (if you mean the Javascript, that is)

    It's sounds like your trying to embed a flash video into the javascript... sorry but I'm a bit unsure . Try using the "Error Console" in Firefox to figure things out.
     
  5. SrWebDeveloper macrumors 68000

    SrWebDeveloper

    Joined:
    Dec 7, 2007
    Location:
    Alexandria, VA, USA
    #5
    Download or select the page you are interested adding the Flash into and (using Dreamweaver) select Modify/Templates/Detach from Template - That should remove all the template code and make the page editable. Then edit and create template portions again as you see fit.


    On a side note, when it's editable, move "<!-- #BeginTemplate "/Templates/Main2.dwt" --><!-- DW6 -->" down below <head> and that portion will validate properly. You've got 54 errors and numerous warnings otherwise, but DW creates horrible markup so don't fret too much on issues like this.

    -jim
     

Share This Page