Would that have any bearing on my problem? As to why it?s not picking up the code of my recordset on my template page. I?m struggling to find a place to upload. That is my difficulty. Raphael [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Fal webforumsuser@macromedia.com [ip] => "Fal" webforums [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] => 3 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Would that have any bearing on my problem? As to why it?s not picking up the code of my recordset on my template page. I?m struggling to find a place to upload. That is my difficulty. am i allowed to attach code thru the forum, or should i not even consider it? Raphael [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Fal webforumsuser@macromedia.com [ip] => "Fal" webforums [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] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) -->[quote] > > Would that have any bearing on my problem? As to why it?s not picking up[/quote] the code of my recordset on my template page.[quote] > I?m struggling to find a place to upload. That is my difficulty. > > am i allowed to attach code thru the forum, or should i not even consider[/quote] it?[quote] > > Raphael > > >[/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] => 5 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> after the tag and before the tag. Don't forget to change the path to your template path. [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => tif25 webforumsuser@macromedia.com [ip] => "tif25" webforu [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] => 6 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> you meant false, and not true, correct? [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Fal webforumsuser@macromedia.com [ip] => "Fal" webforums [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] => 7 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> code to your template page and do not have anything outside the tag on the child documents, that should work for you to only have to change the code in the template. if you need to edit the code on each individual page, then add . Then you can edit each individually and will not be able to edit just the tempate for global changes. [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => tif25 webforumsuser@macromedia.com [ip] => "tif25" webforu [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] => 8 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> and put the code on the template page only. This way the code will be consistent throughout the site and only need to be updated on the template page. this will also lock the code outside the HTML tag so you can not change it on the child documents. It will overwrite/delete the code outside the HTML tag in the child docs when you first do it... but in the future it will update automatically. If you need to change the code the unique pages than you should probably set it to so this way you will be add code outside the HTML tag and not have the template overwrite it. [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => tif25 webforumsuser@macromedia.com [ip] => "tif25" webforu [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] => ) --> Updating template problem - Macromedia Dreamweaver

Updating template problem - Macromedia Dreamweaver

Raphael: Basic Introduction - In DMX, the region outside of the <html> tag can be made to be - 1. EDITABLE (by setting that parameter to false - the default) - meaning that any server code may be added to this region on any child page, and that any changes made to code already in that region in the Template page will NOT be propagated to existing child pages, or 2. NON-EDITABLE (by setting that parameter to true - as you have done) - meaning that ALL child pages will have *only* the code that is present in the Template ...

  1. #1

    Default Re: Updating template problem

    Raphael:

    Basic Introduction -

    In DMX, the region outside of the <html> tag can be made to be -

    1. EDITABLE (by setting that parameter to false - the default) - meaning
    that any server code may be added to this region on any child page, and that
    any changes made to code already in that region in the Template page will
    NOT be propagated to existing child pages, or
    2. NON-EDITABLE (by setting that parameter to true - as you have done) -
    meaning that ALL child pages will have *only* the code that is present in
    the Template page in that region, and that changes to that code in the
    Template page will be propagated to all child pages of that Template.

    These two options are mutually exclusive, meaning that it's either an
    editable region or a non-editable region. If you take a template with
    existing child pages, and if these child pages already have unique
    server-code in that region, then by setting that parameter to "true" you
    will have 'homogenized' that region for all child pages. In other words,
    you will have deleted all of the unique server code that may have already
    been there, and replaced it with the standard code that you added to the
    template page. I hope you didn't do that, or at least I hope you have
    backups of the original files.

    Now -

    The error message you are getting most likely means that DMX encountered
    some *other* error on the page while trying to implement the code that you
    added. The only way to know that is to look at the code on your Template
    page. Can you save it as a text file (e.g., template.txt), upload it
    somewhere, and post a URI to it, so that I can examine the code?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Fal" <webforumsusermacromedia.com> wrote in message
    news:begvtr$1ni$1forums.macromedia.com...
    > Hello everyone
    > I am wondering if anyone can help me with a little problem I am having in
    creating a template, and then inserting some dynamic content into it.
    > I created the template to be an ASP VBscript template because that is what
    my website is going to be, and from there I create index.asp etc?
    >
    > The problem is that now I want to create some dynamic content to exist on
    the template page itself. Up until now I had recordsets on the pages
    themselves, But what I want to do now is have some dynamic form content on
    the template page itself, as I want it to appear on every page that uses the
    template.
    > In my case I want a list/menu, that is connected to a recordset. I will
    have a heading next to it, called something like ?Quick links?
    > I tried creating this, inserting a recordset on the template page, and
    that is where I have the problem.
    > As soon as I try adding the recordset to the template page. I get the
    following error
    >
    > ?you have added or changed code outside the HTML tag, This change will not
    be copied to doents based on the template unless you insert this tag in
    the head section of this template.
    > <!- -Templateinfo codeOutsideHTMLIsLocked=?true? - - >
    >
    > I understood that as meaning that I must copy the above line somewhere
    inside the <head></head> tag of my template page.
    > I?ve tried that and then I still get the same error when saving the
    template page, and updating all the pages using the template. What?s more is
    that none of my pages work now.
    > It?s obvious that what?s prompting this, is the asp recordset being
    outside the <html> of my page.
    >
    > As I?m not into hand coding, only using the ASP generators I do not know
    what to do.
    >
    > Please can someone help me?
    >
    > Many thanks
    >
    > Raphael
    >
    >
    >

    Murray *TMM* Guest

  2. #2

    Default Re: Updating template problem


    Well Hey Murray
    First of all thank you very much for replying and sorry for taking so long to get back to you.

    I think you are completely right, as to what has gone wrong with my pages.
    As you stated indeed, I do have unique server scripting (ASP) on the child pages of my template. So a page like index.asp has it?s own recordset, since it?s a master/detail page, as does class.asp and a few other pages I created.
    I seemed to understand from your reply that when I create some dynamic content in a template page, that., this is where the trouble starts.

    I don?t have a place to upload the pages at the moment, but I think that is the root of the problem.

    So what is the solution? How do you create a template page, and then update child pages, to contain the template dynamic code too, and not overwrite the dynamic code of the child pages?


    Thanks so much

    Raphael




    Fal webforumsuser@macromedia.com Guest

  3. #3

    Default Re: Updating template problem

    Hi, I hope this thread is still active,

    I am sorry I haven?t got back to you. I was too busy trying to sort out some webspace, and I still haven?t got any, coz it?s an asp page.

    But in the meantime, I noticed something that might be the cause of the problem, see I tried the recordset on a regular page, i.e not as part of a template and it worked.
    And still coupled with the error of not reading code outside the html, I noticed this on one of my pages, index.asp
    <html><!-- InstanceBegin template="/Templates/primary.dwt.asp" codeOutsideHTMLIsLocked="false" -->

    Would that have any bearing on my problem? As to why it?s not picking up the code of my recordset on my template page.
    I?m struggling to find a place to upload. That is my difficulty.

    Raphael



    Fal webforumsuser@macromedia.com Guest

  4. #4

    Default Re: Updating template problem

    Hi, I hope this thread is still active,

    I am sorry I haven?t got back to you. I was too busy trying to sort out some webspace, and I still haven?t got any, coz it?s an asp page.

    But in the meantime, I noticed something that might be the cause of the problem, see I tried the recordset on a regular page, i.e not as part of a template and it worked.
    And still coupled with the error of not reading code outside the html, I noticed this on one of my pages, index.asp
    <html><!-- InstanceBegin template="/Templates/primary.dwt.asp" codeOutsideHTMLIsLocked="false" -->

    Would that have any bearing on my problem? As to why it?s not picking up the code of my recordset on my template page.
    I?m struggling to find a place to upload. That is my difficulty.

    am i allowed to attach code thru the forum, or should i not even consider it?

    Raphael



    Fal webforumsuser@macromedia.com Guest

  5. #5

    Default Re: Updating template problem

    Fal:
    > Would that have any bearing on my problem? As to why it?s not picking up
    the code of my recordset on my template page.

    That code means that a) any changes made to the region on the template page
    will not propagate to child pages, and b) that region of the child page is
    available to modification - in other words, the region above <html> behaves
    exactly like an editable region.
    > am i allowed to attach code thru the forum, or should i not even consider
    it?

    There is a cap on the length of a post that you can make to the forum.
    > I?m struggling to find a place to upload. That is my difficulty.
    If you are looking for a server that supports ASP, then don't worry about
    it. In fact, that's better - since what I need to see is the code....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Fal" <webforumsusermacromedia.com> wrote in message
    news:bf4ai0$ddk$1forums.macromedia.com...
    > Hi, I hope this thread is still active,
    >
    > I am sorry I haven?t got back to you. I was too busy trying to sort out
    some webspace, and I still haven?t got any, coz it?s an asp page.
    >
    > But in the meantime, I noticed something that might be the cause of the
    problem, see I tried the recordset on a regular page, i.e not as part of a
    template and it worked.
    > And still coupled with the error of not reading code outside the html, I
    noticed this on one of my pages, index.asp
    > <html><!-- InstanceBegin template="/Templates/primary.dwt.asp"
    codeOutsideHTMLIsLocked="false" -->
    >
    > Would that have any bearing on my problem? As to why it?s not picking up
    the code of my recordset on my template page.
    > I?m struggling to find a place to upload. That is my difficulty.
    >
    > am i allowed to attach code thru the forum, or should i not even consider
    it?
    >
    > Raphael
    >
    >
    >

    Murray *TMM* Guest

  6. #6

    Default Re: updating template problem

    Try putting :
    <!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
    after the <html> tag and before the <head> tag.
    Don't forget to change the path to your template path.


    tif25 webforumsuser@macromedia.com Guest

  7. #7

    Default Re: updating template problem

    Just checking

    codeOutsideHTMLIsLocked="false" -->

    you meant false, and not true,

    correct?



    Fal webforumsuser@macromedia.com Guest

  8. #8

    Default Re: updating template problem

    sorry about that, no true... i forgot to change it. after trying to recreate your problem, i think you should stick with the code the dreamweaver help tells you. the code i gave is actually what will be written inside the child doents. did you put code outside the <html> in the child docs? thats what would cause that error to come up "the template that you are trying to apply does not allow changes outside..." if you add the <!-- TemplateInfo codeOutsideHTMLIsLocked="true" --> code to your template page and do not have anything outside the <html> tag on the child doents, that should work for you to only have to change the code in the template. if you need to edit the code on each individual page, then add <!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->. Then you can edit each individually and will not be able to edit just the tempate for global changes.



    tif25 webforumsuser@macromedia.com Guest

  9. #9

    Default Re: updating template problem

    Hi, sorry for taking so long to get back, but it looks like you have given me the right answer. Indeed I have created unique code inside some of the pages that use the template.

    See the template page is just the outline for my pages, the menubars on the left and top of my page.
    My index.asp page for example carries it?s own unique master/detail recordsets, that are of course placed outside the <html> tags.
    What I was trying to do was to create a recordset now on my template page. I thought about doing this, as part of the navigation of the site, which the menu bar is technically for. Specifically I am trying to create a list/menu of quick links to appear at the top of every page, that uses the template, so index.asp will show that too. The problem is that I have to include code on the template page, for the recordset for this list/menu, and that is why I need codeOutsideHTMLIslocked=?true? but then as you have just told me I need to have ?false? because I have unique code on every page already!
    So how do I proceed from here?

    Have I done it all wrong? And can I get round this?

    Thanks so much for your help, I really appreciate it.




    Fal webforumsuser@macromedia.com Guest

  10. #10

    Default Re: updating template problem

    i'm a little unfamiliar with the whole recordsets/asp thing... do you need unique code on each individual doent? or is it global like the navigation?

    if not, i would say to set <!-- TemplateInfo codeOutsideHTMLIsLocked="true" --> and put the code on the template page only. This way the code will be consistent throughout the site and only need to be updated on the template page. this will also lock the code outside the HTML tag so you can not change it on the child doents. It will overwrite/delete the code outside the HTML tag in the child docs when you first do it... but in the future it will update automatically.

    If you need to change the code the unique pages than you should probably set it to <!-- TemplateInfo codeOutsideHTMLIsLocked="false" --> so this way you will be add code outside the HTML tag and not have the template overwrite it.


    tif25 webforumsuser@macromedia.com Guest

  11. #11

    Default Re: updating template problem

    Yes, i have code on each individual page, unique to that particular page, and now i want to add alittle code to the template page, this is going to be for every page.

    Am i asking the impossible or is there a way round?

    thanks so much


    Fal webforumsuser@macromedia.com Guest

  12. #12

    Default Re: updating template problem

    unfortunately, i think its one way or the other. i could be wrong, but i think you can either put it in the template or put it on the individual pages. maybe someone else will know if there is a workaround.
    sorry i couldnt help more.


    tif25 webforumsuser@macromedia.com Guest

  13. #13

    Default Re: updating template problem

    Still, you tried

    and i want to thank you for that

    Thank you, and if i come across a solution, i will let you know

    Raphael


    Fal webforumsuser@macromedia.com Guest

  14. #14

    Default Re: updating template problem



    you have to have the code above html unlocked- because you want different
    code there on some of the pages based on the template- it's not identical.

    so- what you'll have to do is use find and replace-
    If the code string can go directly before the <html> tag- that would be the
    way to go. Just be careful the search doesn't turn up multiple <html> tags
    on a page that has alternate body sections...

    or- with asp there's a common page header? if you code will work as the
    first thing seen, you could search for that tag and replace with that tag,
    and your code snip.

    Don't put is locked="true" because then when you update the template- it
    will wipe out all the unique code above the html tag on each page and
    replace it with JUST what is there in the template....

    that would wipe out many hours of work...
    > Still, you tried
    >
    > and i want to thank you for that
    >
    > Thank you, and if i come across a solution, i will let you know
    >
    > Raphael
    >
    >
    >
    --
    Team Macromedia Volunteer for Dreamweaver
    Certified Dreamweaver MX Developer

    Alan Ames 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. Template Updating Non-HTML ext.
    By Chopper23 in forum Dreamweaver AppDev
    Replies: 14
    Last Post: April 6th, 02:02 PM
  3. Problem updating PHP 4.3.0 DEV to PHP 4.3.3
    By Tobias in forum PHP Development
    Replies: 2
    Last Post: September 25th, 10:24 AM
  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
  •