Editing server side code in docs based on template...

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default Editing server side code in docs based on template...

    I've created several templates and then created quite a few documents based
    on those templates. Now when it comes to DW adding server side code, is
    there away that I can insert code in the <head> section of the document
    based on the template??

    I've read about adding <!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
    but from what I read this doesn't actually help?

    Any help would be appreciated!!!! There must be someone else who has come
    into this situation??!

    Thanks...

    --
    << Tim >>
    --


    Tim L Guest

  2. Similar Questions and Discussions

    1. Contribute and Server Side Code
      Hi, I have been experimenting with, and reading about Contribute as much as I can the past couple of weeks. Unfortunately there isn't much in the...
    2. How do I add server -side code at runtime?
      I am building an application that is totally data driven. The pages are built from scratch at runtime.I have everything working fine. Now all I...
    3. Contribute changes template code when editing
      i have a javascript in my template which is in a locked area. when i edit a page in contribute, it removes the line breaks in the script and breaks...
    4. Server Side Include Inside Template?
      Hi Johnny sort of. The include pulls in an htm file that has a table of rollover buttons in it. When I do a DW preview (F12), the code is...
    5. Editing Server Side Includes in Design View
      Hello all, I would like to know how I can edit server side includes (files ending with .ssi) in Dreamweaver MX? After I create a .SSI file and...
  3. #2

    Default Re: Editing server side code in docs based on template...

    The <HEAD> section has it's own default Editable Region. In code view
    it'll look like this:

    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->

    If you are in design view, click on View --> Head content to see the
    editable head region.

    -- Mike

    -------------------
    Michael Langner
    Macromedia Technical Support
    [email]supportinfo@macromedia.com[/email]
    1-415-252-9080

    Tim L wrote:
    > I've created several templates and then created quite a few documents based
    > on those templates. Now when it comes to DW adding server side code, is
    > there away that I can insert code in the <head> section of the document
    > based on the template??
    >
    > I've read about adding <!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
    > but from what I read this doesn't actually help?
    >
    > Any help would be appreciated!!!! There must be someone else who has come
    > into this situation??!
    >
    > Thanks...
    >
    --


    MLangner-MMTS Guest

  4. #3

    Default Re: Editing server side code in docs based on template...

    Thanks Murray!

    --
    << Tim >>
    --

    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:benb9v$8dh$1@forums.macromedia.com...
    | Tim:
    |
    | Sure you can - add it to the non-editable regions (if you want it to be
    | propagated to the child pages) or to the editable region in the head (if
    you
    | want it to be unique on each page).
    |
    | The code outside HTML is locked is a toggle that would convert the region
    | *above* the <html> tag either into an editable or a non-editable region.
    In
    | other words that region would behave exactly as if it were editable or
    | non-editable as toggled by the false or true options, respectively.
    |
    | --
    | 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
    | ==================
    |
    | "Tim L" <tj_NOSPAMlangford@hotmail.com> wrote in message
    | news:benaij$7fu$1@forums.macromedia.com...
    | > I've created several templates and then created quite a few documents
    | based
    | > on those templates. Now when it comes to DW adding server side code, is
    | > there away that I can insert code in the <head> section of the document
    | > based on the template??
    | >
    | > I've read about adding <!-- TemplateInfo
    | codeOutsideHTMLIsLocked="true" -->
    | > but from what I read this doesn't actually help?
    | >
    | > Any help would be appreciated!!!! There must be someone else who has
    come
    | > into this situation??!
    | >
    | > Thanks...
    | >
    | > --
    | > << Tim >>
    | > --
    | >
    | >
    |
    |


    Tim L Guest

  5. #4

    Default Re: Editing server side code in docs based on template...

    Tim:

    I hope it helped!

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

    "Tim L" <tj_NOSPAMlangford@hotmail.com> wrote in message
    news:bendsv$bos$1@forums.macromedia.com...
    > Thanks Murray!
    >
    > --
    > << Tim >>
    > --
    >
    > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > news:benb9v$8dh$1@forums.macromedia.com...
    > | Tim:
    > |
    > | Sure you can - add it to the non-editable regions (if you want it to be
    > | propagated to the child pages) or to the editable region in the head (if
    > you
    > | want it to be unique on each page).
    > |
    > | The code outside HTML is locked is a toggle that would convert the
    region
    > | *above* the <html> tag either into an editable or a non-editable region.
    > In
    > | other words that region would behave exactly as if it were editable or
    > | non-editable as toggled by the false or true options, respectively.
    > |
    > | --
    > | 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
    > | ==================
    > |
    > | "Tim L" <tj_NOSPAMlangford@hotmail.com> wrote in message
    > | news:benaij$7fu$1@forums.macromedia.com...
    > | > I've created several templates and then created quite a few documents
    > | based
    > | > on those templates. Now when it comes to DW adding server side code,
    is
    > | > there away that I can insert code in the <head> section of the
    document
    > | > based on the template??
    > | >
    > | > I've read about adding <!-- TemplateInfo
    > | codeOutsideHTMLIsLocked="true" -->
    > | > but from what I read this doesn't actually help?
    > | >
    > | > Any help would be appreciated!!!! There must be someone else who has
    > come
    > | > into this situation??!
    > | >
    > | > Thanks...
    > | >
    > | > --
    > | > << Tim >>
    > | > --
    > | >
    > | >
    > |
    > |
    >
    >

    Murray *TMM* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139