Change a Page's template?

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Change a Page's template?

    I have a site that has two templates: a single column template and a two column
    template. I would like to know if it is possible to take an existing single
    column page and convert it to the two column style page. Is it possible to
    change a page's template? Is there an automated way to do this? If not, do any
    of you have an efficient process for doing this?

    Thanks!

    Christian

    iq9 Guest

  2. Similar Questions and Discussions

    1. Change template of a new Class / File
      Hi All, When you click File > New > ActionScript Class, you have a new class which has a pretty empty template with your package, class name, etc...
    2. Template: side wide change
      I just finished creating my first site using DW templates and my client uses Contribute to make content changes. I realized there was a typo in one...
    3. Can't change fonts using DW template
      I have created templates in DW for a client with an editable region. In that editable region, the Contribute 3 user can't change the font size,...
    4. Can I get the current page's URL?
      I was wondering if there is a way to get the current page's url string via Flash. I want to be sure my Flash file is only played on a particular...
    5. Cannot Change Title Or Meta Tag on Template
      Hi everyone, I have a large site I am creating without frames. Each section of my site has a template. I have also added a site search that...
  3. #2

    Default Re: Change a Page's template?

    will you be using Dreamweaver, or trying to do this in Contribute??

    There's ways to do it with Dreamweaver.

    With Contribute, as far as i know, you'd have to open a new page based on
    the other template, and copy/paste the content over. Would probably have to
    do a Save with a new unique filename. Then delete old file, and rename new
    file to exact_oldfilename.html .

    Alan Guest

  4. #3

    Default Re: Change a Page's template?

    I do have dreamweaver. The process you mentioned is exactly what I do now. Just wondering if there was another better way. Thanks for the response!

    -C
    iq9 Guest

  5. #4

    Default Re: Change a Page's template?

    With Dreamweaver,
    First- do the two templates have the same number of Editable Regions, and do
    those regions have the same names?

    Open the page.
    Dw menu-->Modify-->Templates-->Apply Template-->Pick desired New Template

    If the names/number of Editable regions don't match, a "Inconsistent Region
    Name" dialog box will open, for you to assign content to where you want it.
    Caution: assigning content to "none" will delete that content.
    May wish to back up the file or the entire site folder first.

    To do this in a batch way- you can use find and replace.
    Be best to get the editable regions to match names.
    Then do a find in source of selected files for oldtemplate.dwt and replace
    with newtemplate.dwt
    That changes the file reference in the html comment on the second line of
    the files.
    then use Modify-->Templates-->Update Pages
    backup files first.

    and- if it's a contribute site, you should check out all the affected files
    first, then check them back in when done.

    and- to say it a third time: back up the site folder just in case, so you
    have a known point to revert to in case something goes wrong...


    > I do have dreamweaver. The process you mentioned is exactly what I do now.
    > Just wondering if there was another better way. Thanks for the response!
    >
    > -C
    Alan Guest

  6. #5

    Default Re: Change a Page's template?

    Alan that is awesome! I thought there had to be something like that, but I
    wasnt sure where to find it. This will definitely cut my time down maintaining
    these sites. Thank you very much!

    -Christian

    iq9 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