Dreamweaver template update ftp files without synchronizing
Today I change Template - Update all files based on the template - synchronize entire site.
What I Like to do: change Template - Update all files based on the template
and then in the same window button with ftp upload changed files!
Why do I want this:
The synchronization can take time on big sites, I have cms and billing system on my site with many files.
The synchronization can take time on slow connection.
When the time betwen two synchronization is to small Dreamweaver select all files (or many) for synchronization. I do not know if this is only my problem (maybe there is different time on my computer and the server?).
Do we have solution for this today?
Or can this be something to suggest for next version?
Thanks for any suggestion
Not sure if there is anything set up in DW yet, it does give a status window of what files were updated, you could possibly work backwards form that list (still a bit cumbersome). I also believe that if you change the template and upload it to your server, it will prompt you as to whether or not you'd like to "include dependant files", and (in theory) it will also upload the files linked associated with it... but that may need to be tested to see how well it works on a larger site.
As a possible alternative, you could use "Server Side Includes" - which is a single file which contains a portion of your page (the top navigation, footer area, etc.), and any page that uses this element will automatically update when you upload just that one element. Here is a link which explains it better: http://www.smartwebby.com/web_site_design/server_side_includes.asp and there are several others on the web that offer more detailed explainations - one caveat is that the web server you use would need to be set up to accept SSI... most do, but something you'd need to look into beforehand...
Hope that helps,
Jesse
Similar Messages
-
Dreamweaver template-update overwrites content
Currently I'm using the Adobe CS4 Web Premium Suite on a Mac. I've been using Dreamweaver for a very long time but just recently I started to build templates for Contribute and it's been working fine, however, I need help resolving an issue.
After designing the template, setting the Editable Regions and saving it as a template in Dreamweaver, I upload it to production and can edit the page with contribute successfully. However, when I update non-editable regions on the template, overwite the files using that template and publish those files to production, it overwrites any content updates the user makes via Contribute.
Am I missing a step? Any suggestions why this is happening?
Any help would be appreciated.
Thank you!Yes Bryant I did,
I finally figured out that when using: "Save as Template..." (from the File menu), Dreamweaver was creating the file with two extensions: .dwt & .cfm...
However, it should only have one extension, and that's: .dwt (DreamWeaverTemplate). This way both Dreamweaver & Contribute treat it as a template file rather than regular Coldfusion.
This should fix the issue.
Figuervj
http://pixelerium.wordpress.com -
Dreamweaver template update freezes on Mac
Hi all,
I hope someone can help me only I am running Dreamweaver CS5.5 on an iMac (Mac OS X Lion 10.7.2) and when I go to save a template I get the usual 'update all files linking to that template' window but when I click update nothing happens and I get left with the option to stop or close. If I re-start the program it works again for a while then it happens again. Is this a known bug or is there something wrong with my software?
I have been using Dreamweaver for several years now and I'm not doing anything different to what I usually do.
CheersTry this:
http://kb2.adobe.com/cps/405/kb405604.html#main_user_config
If that doesn't work, try creating a new user account on the computer to see if it works. -
Dreamweaver Templates and Include files
Hi,
I am using dreamweaver templates so that my users can create
new pages on our Intranet using Contribute.
When I create a template and try and use an inculde file for
the menu systems I get an error. I am trying to use the following
code to inculde the asp file:
<!--#include file="/includes/menu.asp" -->
And I get the following error when saving the template:
Unbalanced body tag
I have checked and I definetly have opening and closing body
tags in the HTML. So I am wondering whether the error is caused by
the fact that the file is a dwt and not as asp.
So, is there anyway of using include files in a dreamweaver
template?
Thanks in advance for any help.That's the wrong syntax for a file include. It should be
either of these -
<!--#include virtual="/includes/menu.asp" -->
or
<!--#include file="includes/menu.asp" -->
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Alan" <[email protected]> wrote in
message
news:C568040E.31895D%[email protected]..
>
>
>> <!--#include file="/includes/menu.asp" -->
>>
>> And I get the following error when saving the
template:
>>
>> Unbalanced body tag
>>
>> I have checked and I definetly have opening and
closing body tags in the
>> HTML.
>
> Is the include file JUST the html that would be correct
syntax for where
> it
> is used in the main file?
>
> In other words- included files should not be complete
html docs with their
> own head and body tags. That would result in multiple
head and body tags
> in
> the assembled files.
>
>
> --
> Alan
> Adobe Community Expert, dreamweaver
>
>
http://www.adobe.com/communities/experts/
>
>
> -
Dreamweaver: how to view file without checking it out?
I have started using the Check-In/Check-Out feature of
Dreamweaver 2004. Sometimes I want to view a .cfm file without
checking it out. I thought the "Get" command might let me do this,
but the file contents don't display. So how do I view the contents
of a checked-in file without checking it out?
Thanks.I always use file/open, but then again, I have never checked
out a file in my life. -
Dreamweaver templates and relative file paths
It seems on occasion - especially with the embed tag - a
relative file path in the dwt file becomes an absolute file path in
the file it makes. The worst thing is that it doesnt happen
consistently, Ive created 4 files from a template and now all of a
sudden when i make a new one the path doesnt update. I'm also using
coldfusion with these tags which could be the problem. Either way I
dont want to have to reedit every page with notepad. Heres my code
template code:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="730" height="295" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<cfoutput>#IEcat#</cfoutput>
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<cfoutput><embed
src="../new/flash/navigation6a.swf#cat#" quality="high"
bgcolor="##ffffff" width="730" height="295" align="middle"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/> </cfoutput>
</object>
code rendered from template:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="730" height="295" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<cfoutput>#IEcat#</cfoutput>
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<cfoutput><embed
src="file:///D|/KMI%20websites/centerplate.ca/site/new/flash/navigation6a.swf#cat#"
quality="high" bgcolor="##ffffff" width="730" height="295"
align="middle" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"
/> </cfoutput>
</object>
on a side note, in the object param tag when using the output
tags inside the quotation marks of the value it turns all non
alphanumeric characters into ascii
any help on either problem will be much appreciatedWhe you spawn the child page from the template, you will see
ALL of the
links look like that until you save the page. Once you save
it, DW knows
how to adjust the links so that they remain relative to the
saved document.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"ogre11" <[email protected]> wrote in
message
news:[email protected]...
> It seems on occasion - especially with the embed tag - a
relative file
> path in
> the dwt file becomes an absolute file path in the file
it makes. The
> worst
> thing is that it doesnt happen consistently, Ive created
4 files from a
> template and now all of a sudden when i make a new one
the path doesnt
> update.
> I'm also using coldfusion with these tags which could be
the problem.
> Either
> way I dont want to have to reedit every page with
notepad. Heres my code
>
> template code:
>
> <object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
> codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
> version=7,0,0,0" width="730" height="295"
align="middle">
> <param name="allowScriptAccess" value="sameDomain"
/>
> <cfoutput>#IEcat#</cfoutput>
> <param name="quality" value="high" />
> <param name="bgcolor" value="#ffffff" />
> <cfoutput><embed
src="../new/flash/navigation6a.swf#cat#"
> quality="high"
> bgcolor="##ffffff" width="730" height="295"
align="middle"
> allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
> pluginspage="
http://www.macromedia.com/go/getflashplayer"
/> </cfoutput>
> </object>
>
> code rendered from template:
>
> <object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
> codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
> version=7,0,0,0" width="730" height="295"
align="middle">
> <param name="allowScriptAccess" value="sameDomain"
/>
> <cfoutput>#IEcat#</cfoutput>
> <param name="quality" value="high" />
> <param name="bgcolor" value="#ffffff" />
> <cfoutput><embed
>
src="file:///D|/KMI%20websites/centerplate.ca/site/new/flash/navigation6a.swf#ca
> t#" quality="high" bgcolor="##ffffff" width="730"
height="295"
> align="middle"
> allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
> pluginspage="
http://www.macromedia.com/go/getflashplayer"
/> </cfoutput>
> </object>
>
> on a side note, in the object param tag when using the
output tags inside
> the
> quotation marks of the value it turns all non
alphanumeric characters into
> ascii
>
> any help on either problem will be much appreciated
> -
Templates updating wrong files
We have several different people working on many different
sites here. All the sites are started with a base set of Template
files that have the same names. E.g. There is a "/Templates/Site
Template.dwt" file in each of these separate sites that is client
specific, etc.
We recently had a set of problems where some pages were being
updated with the Site Template changes from a different site. NOT
GOOD!... I tracked it down to the following situation occuring:
A person created a new site by coping the directory structure
from an old site to a new location as a starting base.
They created a Site Definition for the new site but did not
have one for the old site. (They didn't maintain it so they didn't
need it).
They opened some files from the OLD site in DW and some of
the matching files from the new site.
Then they modified the Site Template.dwt and applied changes.
Then did a normal "Save All" to save the file updated in the
editor to disk.
The problem is that DW applied the updated Template to the
non-site files open in the editor and changed their look as well.
So the save all applied the new site template to the old site
files.
It appears that the update code looks thru files open in the
editor for all files with the name of the Template being updated
but doesn't consider the fact that they are outside the site.
FWIW, we did determine that if there is a site definition for
the other site, DW then recognized that this file should not be
updated. But we have LOTS of sites and having everyone have
everyone elses site defs is a logistics nightmare.
We've reproduced it DW MX and 8.0 (not sure if patch applied
to 8.0.)
Is there anyway to
automatically keep DW from applying Templates to files
outside the associated root folder?Although aspx pages are related to application development, I think this post belongs in the main DW forum and will probably get a better response there.
-
I'm working on a site and didn't built the templates, but
they look right. For about 80% of the files, when you update the
template the files update correctly.
For the other 20% it updates part, but then reverts other
parts backwards. For example, I cleaned up the <body> tag in
the template and it didn't update on these 20%. I also updated some
links in the template and they got updated just fine in all sites.
Also in these 20%, when the template updates the files, it
puts back the JavaScript code in an editable area. It's not in the
template and was removed from the code, yet comes back each time
the template is updated. The other 80%, it doesn't come back. What
the ?!?!?!?
I've tried applying a new template and re-selecting the good
one and that updates the code correctly. However, next template
change, it updates some of the code reverts backwards other parts
of the code. I don't get it.
Please help before I go cRaZy.
Any idea what might be going on or how to stop it? I'm using
Dreamweaver MX 2004.This is usually an indication of hinky code somewhere. Can we
start by
taking a look at the template, please? Can you upload it and
post a link?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Thomas-TopRank" <[email protected]> wrote
in message
news:eh31hm$o9t$[email protected]..
> I'm working on a site and didn't built the templates,
but they look right.
> For
> about 80% of the files, when you update the template the
files update
> correctly.
>
> For the other 20% it updates part, but then reverts
other parts backwards.
> For example, I cleaned up the <body> tag in the
template and it didn't
> update
> on these 20%. I also updated some links in the template
and they got
> updated
> just fine in all sites.
>
> Also in these 20%, when the template updates the files,
it puts back the
> JavaScript code in an editable area. It's not in the
template and was
> removed
> from the code, yet comes back each time the template is
updated. The
> other
> 80%, it doesn't come back. What the ?!?!?!?
>
> I've tried applying a new template and re-selecting the
good one and that
> updates the code correctly. However, next template
change, it updates
> some of
> the code reverts backwards other parts of the code. I
don't get it.
>
> Please help before I go cRaZy.
>
> Any idea what might be going on or how to stop it? I'm
using Dreamweaver
> MX
> 2004.
> -
DC30 - Templates for original files
Hello,
is it only possible to create and change templates for original files without transport?
I have one document type for templates which I want to use for different document types in DC30. I only want to create the templates (document type for templates) in production and do not want to use for every new version the customizing with transport order. As it is a production system without changes allowed, I cannot use DC30 direcly in production. Is there an other way without transport from developement? (Table TCZ02 directly is also not allowed).
Thanks.
KarinHi,
I feel your requirement cannot be met without transports or without opening the production client.
Regards,
Deepak Kori -
Hello
My configuration: JMS Proxy Service(byte stream) - > ftp/file Business service
I can write stream to ftp/file without convert to array?
Best Regards,
lamcan't you use 37.3.6 Streaming body Content for that ?
http://download.oracle.com/docs/html/E15867_01/context.htm#sthref332
without changes
at what step does the convert from byte stream to array happen?jms body contain binary-content. I convert this DataSource to String via Java Callout. String send to File Business Service.
If to send a body without conversion then a file will form but its contents won't be transferred. -
Updating item files in a folder
I have a content area with several folders in it. Within these folders I have created files (pdf files) which are sales reports. Each night we run new reports and replace the files on the Portal server with the new files. However, within the site the files are not being updated. They still show the original file which was loaded into the database when I first created them. What can I do to update these files without going through building them each night?
Thanks! SheriWhat is your process for adding the new files? I say this because I faced the issue with image files.
When a file was replaced, the old version always remained active. This was because the portal recognized it already had a file with the new files name, and added a suffix to keep it distinct. As a result, URL's that pointed to the item delivered the old file. If so, Metalink support said this is intended behavior, and our approach is essentially unsupported.
Again, this issue may o rmay not affect your technique for updating the file in the portal db but it seemed fair to mention. -
How do I get PSE to read tag info on updated jpg files?
Using PSE9 on 2 PCs. Files are stored locally on each, and updates synced via Windows Mesh.
Use case issue:
1) Add tag to jpg on PC1 using PSE.
2) Execute PSE "write to file" command before closing app
3) Confirm on PC2 via Windows Explorer that tag info is updated on local file
4) Open PSE on PC2, bur additional tag info is not recognized by PSE.
5) Tried to re-import test files in PSE using "Get Files" function, but tag data was still not read by PSE.
6) Manually added new tag to tag list, reloaded PSE, but new tag info still not read on file.
7) Ran Optimize and Repair catalog functions, but problem persisits.
How do I get PSE to read tag info on updated jpg files without rebuilding the entire catalog every time I edit a file?Simple : you can't.
Why ? Because the tags are stored in the database of the catalog. When you 'write' metadata to files, you can see it does work. The new tags are written to the files. But the new tags are ignored by the catalog in the second computer. You'd have to delete the file entry from the catalog and reimport it, supposing the tag is already in the tag list. Otherwise the tag would appear in the 'imported tags' category.
The Organizer is not meant to be a multi-user database.
What you can do to share media and catalogs between two computers having the same Elements version is to store the media files and the catalog on an external drive you can plug to each computer when needed. Note that the drives should be recognized with the same drive letter. -
Dreamweaver template file (.dwt) updates related files but not file time stamp
I updated a bunch of dreamweaver template files, and allowed dreamweaver to update the affected files in the site.
The file were all checked out, and they were updated.
However, the timestamp of the files did not update.
Now, when I synchronise with my server, it doesn't see these files as being "new".
Any way I can get these to update the timestamp without manually finding and pushing all of them?
Using Dreamweaver CS5 V. 11.0 Build 4993This is certainly an odd symptom, and one I have not heard of before. If you just create a new 'dummy' child page from this template and leave it local (i.e., don't check it in), when you do an update does that timestamp change?
-
Dreamweaver CS4 - Update Template Files dialog box doesn't appear
I've just made a small change to my website's template file in Dreamweaver CS4, but I can't figure out how to apply the change to all pages on my site.
As I understand it, a dialog box is supposed to appear immediately after you hit 'Save'. This gives you 'Update' or 'Don't Update' options.
The box does not appear for me. No idea why - I saved the revised template and nothing happened!
Is there another way of updating the webpage files with the revised template? Or can it only be done though the dialog box? If so, how can I bring the box up?
Thanks for any tips, tricks, or explanations...Well, I'm not sure what rule I've broken. I followed the procedure set out in that tutorial to make my template in the first place, although I used Janine Warner's book 'Teach yourself Dreamweaver CS4' which goes through the same steps as the web tutorial - with the exception of the 'Apply your Dreamweaver template' section, which seems to suggest that you create your web pages first, and turn them into templates later.
I simply created my basic page layout, saved it as a template, and then created every page on my site by clicking 'New from template'. No problems, everything worked well.
I don't see why it would be necessary to create a new page from a template, and then apply the template to the page. Doesn't that amount to using two different methods to do the same thing twice? In any case, there's nothing in the book about 'Applying' a template, so I didn't do it. That's the only point of difference. But is it the problem? Is the book wrong?
Now I've got the book open in front of me at page 196 - 'Edit a template to update web pages created with it'. Interestingly, I may have discovered why it was not possible to edit my link in the Property Inspector.
The book remarks, more or less as an afterthought tacked on to the end of the page, that in order to use the Property Inspector to edit a template, I must first click on the element I wish to edit and then click 'Modify', 'Templates', and 'Make Attribute Editable'. Only then can changes be made.
The book says nothing about editing elements *without* using the Property Inspector, as I attempted when I tried the 'Insert Hyperlink' method, so I'm not sure whether this is possible or not. As it didn't work for me, I'd say not - but it would be nice if the book was specific on this point!
It's amazing how vague some of these tutorials can be - and also rather baffling that they can differ so much from each other. Website construction is all about specifics after all - everything is either 100% right, or 100% wrong. There shouldn't be any room for fuzziness. As it seems I have a specific problem, it must come from a specific, identifiable cause. It should be possible to say, "Ah, now if THAT is going wrong, the error must be HERE. Fix it by doing THIS."
Well, I'll try making the attributes of my elements editable now. I'm not sure if a text link counts as an element (that's another point on which my book is a little vague), but I dare say I'll find out shortly! -
Templates Not Updating .ASPX Files in Dreamweaver CC
I have website based on .ASPX pages. I have successfully used templates (.DWTs) to update .ASPX pages page in Dreamweaver versions through CS6. I installed CC and updating the templates no longer seems to update .ASPX pages. It seems I have to open each .ASPX page in the site and choose Modify > Template > Update Current Page and then save the page. Is there a better way to update the pages in the .ASPX website?
I originally posted this in the "Develop server-side applications in Dreamweaver" form, but it was suggested that this would be a better place to post it.I decided, after the New Year, to migrate my clients (I support 75 websites) from Microsoft Expression Web to Dreamweaver. I bought the latest version (CC) and started my first migration of an Expression DWT to Dreamweaver. I should not have picked a site with 125 pages. I cannot believe that when I change a DWT the changes are not cascaded to the 125 linked ASPX pages. With Microsoft dropping Expression support, where in the world are we supposed to turn for a really good, modern, design platform. I'm calling Adobe to terminate my subscription as this simply will not work. I downloaded the installed the Extension Manager, installed and enabled the .ZXP files for ASP support and it still doesn't work. Really, seriously, disappointed. I was really looking forward to learning this new platform, but I'll have to stay with Microsoft Expression for now...
Maybe you are looking for
-
Premier Elements 7 - confusion over mixing video formats
Hi I have been using a DV camcorder (SD quality) for some time, originally recording in 4:3 format, and more recently in 16:9 format (as we bought a wide screen telly). I have just treated myself to a new AVCHD Panasonic video recorder recording High
-
CS6 ID not exporting correct document size to PDF
I created a 6.25 in wide doc in ID, exported it to PDF. PDF printed doc at 5.5 in wide. I sent PDF file to coworker, who printed it to several other printers in office: same wrong-sized results. Packaged and emailed original ID doc to our local print
-
I'm trying to play a song and itunes is repeatly asking me to authorize the account. I have authorized the account and it will not play one particular song. What should I do?
-
No poster frame displayed on music videos
Hi all, I have a 60 GB iPod video with cover art enabled and can see cover art when playing music. When playing music videos from the music side, I get no cover art. I understand that you're supposed to see the "poster frame" that you can change in i
-
I'm getting a files URI and using it in a Node.js command but AE seem to spit out the URI in the wrong format ie. /c/user/programfiles/names.csv . I'm guessing that I need to edit this string text or am I missing some object property? Any thoughts on