1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Chopper23 [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 9 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > Premier Lighting - A Brighter Atmosphere Awaits You > > > > > > > > > [/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Murray *TMM* [ip] => forums@HAHAgrea [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 10 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Template Updating Non-HTML ext. - Dreamweaver AppDev

Template Updating Non-HTML ext. - Dreamweaver AppDev

I have successfully used templates for my site with files that end in htm. My ecommerce portion of my site is based on an asp page and html doents that are renamed with a .template extension. I have recreated all of .template pages based on a dwt template, but when I alter the dwt file the .template files wont update. Any idea on how I can get them to update without creating them as .htm files and renaming before upload? Thanks...

  1. #1

    Default Template Updating Non-HTML ext.

    I have successfully used templates for my site with files that end in htm. My
    ecommerce portion of my site is based on an asp page and html doents that
    are renamed with a .template extension. I have recreated all of .template
    pages based on a dwt template, but when I alter the dwt file the .template
    files wont update. Any idea on how I can get them to update without creating
    them as .htm files and renaming before upload? Thanks

    Chopper23 Guest

  2. #2

    Default Re: Template Updating Non-HTML ext.

    Here are five ways to make changes not propagate from Template to child -

    1. Rename the Templates folder
    2. Move the Templates folder to some other folder level in the site other
    than root level
    3. Move a template out of the Templates folder.
    4. Make changes to an editable region of the template (which will not
    propagate)
    5. Corrupt the site cache so that the link between template and child page
    is broken

    The latter problem can be repaired by using SITE | Advanced > Recreate Site
    Cache, and the three others can be fixed by just not doing them. Have you
    done any of those?

    --
    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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2endo$dur$1forums.macromedia.com...
    >I have successfully used templates for my site with files that end in htm.
    >My
    > ecommerce portion of my site is based on an asp page and html doents
    > that
    > are renamed with a .template extension. I have recreated all of .template
    > pages based on a dwt template, but when I alter the dwt file the
    > .template
    > files wont update. Any idea on how I can get them to update without
    > creating
    > them as .htm files and renaming before upload? Thanks
    >

    Murray *TMM* Guest

  3. #3

    Default Re: Template Updating Non-HTML ext.

    I might not have explained it very clearly. I want the .template files to be a
    child of a dwt. I want the changes in a dwt to also update my .template files.
    Otherwise, I still have to manually update each of them..

    Chopper23 Guest

  4. #4

    Default Re: Template Updating Non-HTML ext.

    It will do that if they are child pages of the .dwt file. The extension
    with which the child pages are named doesn't matter - I sometimes use
    ".monkeybutt" to illustrate this point! 8)

    Where are the .template files located in your site?

    --
    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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2eup8$oqa$1forums.macromedia.com...
    >I might not have explained it very clearly. I want the .template files to
    >be a
    > child of a dwt. I want the changes in a dwt to also update my .template
    > files.
    > Otherwise, I still have to manually update each of them..
    >

    Murray *TMM* Guest

  5. #5

    Default Re: Template Updating Non-HTML ext.

    I'll check it out. Locally they are in the same directory as the rest of the
    site. Remotely, the .templates are in a hidden folder called /templates/ that
    acts as though the files are in the other hidden floder /wwwroot/ with the
    rest of the site. Thanks for your help, greatly appreciated.

    Chopper23 Guest

  6. #6

    Default Re: Template Updating Non-HTML ext.

    DW's Templates are LOCAL only tools. They only affect your local files, and
    ONLY WITHIN DW. Perhaps that is confusing 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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2f6lv$6er$1forums.macromedia.com...
    > I'll check it out. Locally they are in the same directory as the rest of
    > the
    > site. Remotely, the .templates are in a hidden folder called /templates/
    > that
    > acts as though the files are in the other hidden floder /wwwroot/ with
    > the
    > rest of the site. Thanks for your help, greatly appreciated.
    >

    Murray *TMM* Guest

  7. #7

    Default Re: Template Updating Non-HTML ext.

    No, I understand how it edits them locally before the upload. I tried the
    solutions you gave me and they still only find and update the doents that
    end in htm. Not sure whats going on. I appreciate all of your help though.

    Chopper23 Guest

  8. #8

    Default Re: Template Updating Non-HTML ext.

    Please doubleclick on the .template file. Does it open in DW? Does it open
    in Design view? Can you paste the first 30 lines of code from the head of
    the page into this reply?

    --
    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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2fg8m$io3$1forums.macromedia.com...
    > No, I understand how it edits them locally before the upload. I tried the
    > solutions you gave me and they still only find and update the doents
    > that
    > end in htm. Not sure whats going on. I appreciate all of your help though.
    >

    Murray *TMM* Guest

  9. #9

    Default Re: Template Updating Non-HTML ext.

    It does open in dreamweaver, but it does not open in Design View.
    Heres the code:


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html><!-- InstanceBegin template="/Templates/temindex.dwt"
    codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Premier Lighting - A Brighter Atmosphere Awaits You</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; cht=iso-8859-1">
    <SCRIPT LANGUAGE=JAVASCRIPT type="text/javascript">
    function formsubmit(){
    var URL =
    doent.formselect.select.options[doent.formselect.select.selectedIndex].val
    ue;
    window.location.href = URL;
    // End -->
    }
    </SCRIPT>
    <LINK REL="SHORTCUT ICON" HREF="https://www.shoppremier.com/favicon.ico">
    <link rel=StyleSheet href="spstyle.css" type="text/css" media=all>
    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    </head>

    <body

    Chopper23 Guest

  10. #10

    Default Re: Template Updating Non-HTML ext.

    Sorry for returning to ground that we may have already covered, but is it
    essential that these files be named with the .template extension? If you
    rename one to .html do the changes propagate?

    --
    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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2gbpm$maa$1forums.macromedia.com...
    > It does open in dreamweaver, but it does not open in Design View.
    > Heres the code:
    >
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    > <html><!-- InstanceBegin template="/Templates/temindex.dwt"
    > codeOutsideHTMLIsLocked="false" -->
    > <head>
    > <!-- InstanceBeginEditable name="doctitle" -->
    > <title>Premier Lighting - A Brighter Atmosphere Awaits You</title>
    > <!-- InstanceEndEditable -->
    > <meta http-equiv="Content-Type" content="text/html; cht=iso-8859-1">
    > <SCRIPT LANGUAGE=JAVASCRIPT type="text/javascript">
    > function formsubmit(){
    > var URL =
    > doent.formselect.select.options[doent.formselect.select.selectedIndex].val
    > ue;
    > window.location.href = URL;
    > // End -->
    > }
    > </SCRIPT>
    > <LINK REL="SHORTCUT ICON" HREF="https://www.shoppremier.com/favicon.ico">
    > <link rel=StyleSheet href="spstyle.css" type="text/css" media=all>
    > <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    > </head>
    >
    > <body
    >

    Murray *TMM* Guest

  11. #11

    Default Re: Template Updating Non-HTML ext.

    It works fine if I change the extension. Unfortunately, theres a lot of them and I'm trying to avoid changing each of them.
    Chopper23 Guest

  12. #12

    Default Re: Template Updating Non-HTML ext.

    OK - let me check into this. I'll get back to you in this thread...

    --
    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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2h8e9$7qa$1forums.macromedia.com...
    > It works fine if I change the extension. Unfortunately, theres a lot of
    > them and I'm trying to avoid changing each of them.

    Murray *TMM* Guest

  13. #13

    Default Re: Template Updating Non-HTML ext.

    OK - here is a workaround. I'm not sure I like it, frankly, and I'm not
    sure how stringent the requirements listed within actually are:

    If you use pages with custom file extensions (for example, .tpl), you will
    have trouble with template updating and file synchronization. I have found a
    workaround for both of these problems. But it would be nice to not have to
    work around them.


    Steps:


    1. IT IS VERY IMPORTANT THAT YOU INSTALL FRESH AND DO NOT OPEN DREAMWEAVER
    UNTIL YOU HAVE UPDATED extensions.txt and doenttypes.xml (I assume you
    know where they are) to recognize your file extension.

    **** I am not so sure this is absolutely required


    2. Change Dreamweaver Preferences to not rewrite code with the custom
    extension, and make a file helper to open the .tpl (or whatever) page with
    Dreamweaver.


    3. Go ahead and create a site. Any sites you currently have available WILL
    NOT WORK. You MUST
    create sites fresh after you enter all this info. In fact to be safe, after
    I changed Dreamweaver Prefs, I quit dreamweaver and restarted it.

    **** I really don't see why this is necessary.




    actual results: Dreamweaver now recognizes all .tpl pages as Dreamweaver
    files, and templates update pages as expected. Yay!


    expected results: I expect this to happen without havin o jump through so
    many hoops, but c'est la vie!


    --
    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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2h8e9$7qa$1forums.macromedia.com...
    > It works fine if I change the extension. Unfortunately, theres a lot of
    > them and I'm trying to avoid changing each of them.

    Murray *TMM* Guest

  14. #14

    Default Re: Template Updating Non-HTML ext.

    Thank you,! thank you thank you. It doesn't list my custom extension pages in the udat/dont update dialog box, but when I update it still finds and edits them. Thank you. Much appreciated.
    Chopper23 Guest

  15. #15

    Default Re: Template Updating Non-HTML ext.

    You're welcome.

    --
    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
    ==================

    "Chopper23" <webforumsusermacromedia.com> wrote in message
    news:d2s1s5$rcg$1forums.macromedia.com...
    > Thank you,! thank you thank you. It doesn't list my custom extension
    > pages in the udat/dont update dialog box, but when I update it still finds
    > and edits them. Thank you. Much appreciated.

    Murray *TMM* Guest

Similar Threads

  1. dreamweaver template not updating Contribute pages
    By Rhenan in forum Macromedia Contribute General Discussion
    Replies: 2
    Last Post: April 27th, 06:56 PM
  2. Updating HTML page
    By itsji in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: December 30th, 12:48 PM
  3. Updating template problem
    By Murray *TMM* in forum Macromedia Dreamweaver
    Replies: 13
    Last Post: July 26th, 08:25 PM
  4. Error message when updating template
    By gsiemens webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 25th, 05:07 AM
  5. Replies: 0
    Last Post: July 15th, 09:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •