Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
iq9 #1
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
-
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... -
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... -
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,... -
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... -
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... -
Alan #2
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
-
iq9 #3
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
-
Alan #4
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!
>
> -CAlan Guest
-
iq9 #5
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



Reply With Quote

