Do I need to save templates destined for ASP pages differently

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

  1. #1

    Default Re: Do I need to save templates destined for ASP pages differently

    Crispy:

    Are your ASP pages *only* ASP code?

    The problem with applying a template to an existing page is that you must
    choose where to put the content. If the template has more than one editable
    region, you do not get to say, "put this content there, and this other
    content here." It all goes in one or the other region. This means that the
    *entire* existing page will be put into the editable region you specify,
    including its images and navigation and all.

    That's why the copy and paste method is better.

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

    "Crispy" <polaatx@yahoo.com> wrote in message
    news:bedfde$pd6$1@forums.macromedia.com...
    > Thank you Murray for your reply.
    >
    > Are you saying that with ASP pages I can't rely on just applying the
    > template from Assets panel? I have quite a few ASP pages and the cut and
    > past method you sugggest will be time consuming. I have in the past simply
    > applied the template from the Assets panel of DW MX and it seemed to work
    > fine. It always, of course, asks me to resolve where the body goes and
    where
    > the head goes.
    >
    > Is there a particular reason to do the copy and paste method you suggest?
    >
    > thanks. crispy
    >
    >
    > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > news:bebjin$d4v$1@forums.macromedia.com...
    > > Crispy:
    > >
    > > Get rid of the xml line - it will cause you problems (just remove it).
    > >
    > > Then save your page as a template. Then spawn a new child page from it,
    > and
    > > copy an paste the desired code from your existing page. Save the new
    > child
    > > page over the existing page. Repeat until done.
    > >
    > > --
    > > 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
    > > ==================
    > >
    > > "Crispy" <polaatx@yahoo.com> wrote in message
    > > news:beasin$8pl$1@forums.macromedia.com...
    > > > I have a template that I will apply to some ASP pages. Do I need to
    > > prepare
    > > > that template in any way? For example, do I need to save it as
    something
    > > > other than .dwt?
    > > >
    > > > Also, the template was originally a Xhtml compliant document. So it
    > starts
    > > > out with:
    > > >
    > > > <?xml version="1.0" encoding="iso-8859-1"?>
    > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > > > <html xmlns="http://www.w3.org/1999/xhtml">
    > > >
    > > > Is that fine or will it conflict in any way with ASP pages that I will
    > > apply
    > > > this template to later?
    > > >
    > > >
    > >
    > >
    >
    >

    Murray *TMM* Guest

  2. Similar Questions and Discussions

    1. Templates for New Pages Not Updating
      I am a site admin with 7 Contributors accessing my site via Contribute 3. I have created templates for them to use to create their new pages. ...
    2. new pages using dreamweaver templates?
      I have a dreamweaver template (*.dwt file) that I would like to use to create new pages on my website. How can I do this? As administrator, I have...
    3. Templates not updating pages
      Hi My template page in Template Folder in my site is not updating my pages based on template. I am using a side nav bar in CSS. When I go to...
    4. Help, Naming pages from Templates!!
      Hi Could anyone help me, I have made templates and have been using them, I have read the manual and it says that when you make a new file from a...
    5. Dreamweaver Crash on Save (Using Templates)
      My Dreamweaver be Crashin! I have validated the template to make sure there is no funkyness like unclosed <td>'s and the such. I validated it...
  3. #2

    Default Re: Do I need to save templates destined for ASP pages differently

    Murray,

    I didn't think of the scenario of having multiple editable regions for
    content. So far I've just had one.

    Thanks.

    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:befehb$jlg$1@forums.macromedia.com...
    > Crispy:
    >
    > > Does this jive with your understanding?
    >
    > Yes it does, more or less. But what happens when you have two or more
    > editable regions in the Template page? Where do you put your content?
    And
    > further, if you have navigation elements already on the page, then these
    get
    > shoved into the editable region as well making a real mess....
    >
    > > Do you think I should worry about that and try
    > > to change it?
    > >
    >
    > Yes - but a simple change to the Template page will do the trick, no?
    >
    > --
    > 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
    > ==================
    >
    > "Crispy" <polaatx@yahoo.com> wrote in message
    > news:befe31$j03$1@forums.macromedia.com...
    > > Murray:
    > >
    > > Thanks for your response.
    > >
    > > My experience with MX has not been the way you describe.
    > >
    > > I have ASP pages that contain both html and asp code both inside the
    html
    > > tags and on top.
    > >
    > > When i apply a template to it, I always get a INCONSISTEN REGION NAMES
    > > window asking me to resolve where the body should go and where the head
    > > should go. I tell it to put the body in the editable region I already
    have
    > > created for body and to put the head in an editable region for head.
    > >
    > > Then DW does all that and is smart enough to leave the ASP code on top
    of
    > > the html alone and outside the template.
    > >
    > > Does this jive with your understanding? I have been doing this and the
    > pages
    > > seem to function well. Every page in this ASP site
    [url]http://tribalrugs.net/[/url]
    > > was created this way. The only regret I have is that that I didn't make
    > the
    > > pages transitional when I built the template. So every page just starts
    > with
    > > <html> tag and nothing else. Do you think I should worry about that and
    > try
    > > to change it?
    > >
    > >
    > >
    > > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > > news:bee8mh$58h$1@forums.macromedia.com...
    > > > Crispy:
    > > >
    > > > Are your ASP pages *only* ASP code?
    > > >
    > > > The problem with applying a template to an existing page is that you
    > must
    > > > choose where to put the content. If the template has more than one
    > > editable
    > > > region, you do not get to say, "put this content there, and this other
    > > > content here." It all goes in one or the other region. This means
    that
    > > the
    > > > *entire* existing page will be put into the editable region you
    specify,
    > > > including its images and navigation and all.
    > > >
    > > > That's why the copy and paste method is better.
    > > >
    > > > --
    > > > 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
    > > > ==================
    > > >
    > > > "Crispy" <polaatx@yahoo.com> wrote in message
    > > > news:bedfde$pd6$1@forums.macromedia.com...
    > > > > Thank you Murray for your reply.
    > > > >
    > > > > Are you saying that with ASP pages I can't rely on just applying the
    > > > > template from Assets panel? I have quite a few ASP pages and the cut
    > and
    > > > > past method you sugggest will be time consuming. I have in the past
    > > simply
    > > > > applied the template from the Assets panel of DW MX and it seemed to
    > > work
    > > > > fine. It always, of course, asks me to resolve where the body goes
    and
    > > > where
    > > > > the head goes.
    > > > >
    > > > > Is there a particular reason to do the copy and paste method you
    > > suggest?
    > > > >
    > > > > thanks. crispy
    > > > >
    > > > >
    > > > > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > > > > news:bebjin$d4v$1@forums.macromedia.com...
    > > > > > Crispy:
    > > > > >
    > > > > > Get rid of the xml line - it will cause you problems (just remove
    > it).
    > > > > >
    > > > > > Then save your page as a template. Then spawn a new child page
    from
    > > it,
    > > > > and
    > > > > > copy an paste the desired code from your existing page. Save the
    > new
    > > > > child
    > > > > > page over the existing page. Repeat until done.
    > > > > >
    > > > > > --
    > > > > > 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
    > > > > > ==================
    > > > > >
    > > > > > "Crispy" <polaatx@yahoo.com> wrote in message
    > > > > > news:beasin$8pl$1@forums.macromedia.com...
    > > > > > > I have a template that I will apply to some ASP pages. Do I need
    > to
    > > > > > prepare
    > > > > > > that template in any way? For example, do I need to save it as
    > > > something
    > > > > > > other than .dwt?
    > > > > > >
    > > > > > > Also, the template was originally a Xhtml compliant document. So
    > it
    > > > > starts
    > > > > > > out with:
    > > > > > >
    > > > > > > <?xml version="1.0" encoding="iso-8859-1"?>
    > > > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    > > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > > > > > > <html xmlns="http://www.w3.org/1999/xhtml">
    > > > > > >
    > > > > > > Is that fine or will it conflict in any way with ASP pages that
    I
    > > will
    > > > > > apply
    > > > > > > this template to later?
    > > > > > >
    > > > > > >
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Crispy 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