Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
ndutzie #1
Extension to copy files to local folder
Hi All,
I'm really a newbie in extension making process and confused.
I need to make an extension so that when it is executed, the files would be
copied from $dreamweaver/Configuration/ (the folder to put the files when the
extension is installed) to the local site folder (where we build the new
site).
Some questions regarding this:
[num]1. Is this a possible thing to do? I won't need the user to input
something in order to make this work, just click a menu on the Insert or
Commands and all the files will be copied.[/num]
[num]2. Another confusion is that, when I was trying to install the extension,
it didn't display any error and dw says that the extension is installed. Yet,
the menu that I created doesn't do anything when clicked, and the file doesn't
exist on the folder I intended to be the destination in
$dreamweaver/Configuration/. Any clue on this?[/num]
I would appreciate any help, as it is getting really confusing to me. :)
Regards,
ndutzie Guest
-
Local copy of website files
I set up a website for someone about a year ago and since then they have been administering the site using Contribute. I've never used Contribute so... -
Copy & rename entire folder structure
I was wondering how to copy an entire folder structure with sub folders and files, then rename the main folder. I have used the cfdirectory to... -
Mapping networked shared folder to local folder
Hello. I am setting-up a "cad server" (basically a shared folder located, \\cad\eoi\) for my draftspeople. The problem lies within the cad... -
Can I have local Shared Documents folder *NOT* shared on the Local Network
I finally have my local network working well enough (Thanks Steve W.!). I think I have learned that "network connection" does not get you anything... -
Video from a local folder?
the moviepath & "video/myvideo.mov" "Kingofchrome" <webforumsuser@macromedia.com> wrote in message news:be3hqg$nal$1@forums.macromedia.com...... -
SLext #2
Re: Extension to copy files to local folder
var ImageFolder = theForm.ImageFolder.value;
...
if(ImageFolder != "") {
var newURL1 =
dreamweaver.getSiteRoot()+MM_findObj('ImageFolder' ).value+"*.gif";
var fileURL1 = dreamweaver.getConfigurationPath()+"/Shared/***/image/*.gif";
DWfile.copy(fileURL1, newURL1);
}
The *.gif is a picture and *** is a folder you can create the picture and the
folder with mxi-code.
ImageFolder is a Userinput.
Sorry my English is not so good!
SLext Guest



Reply With Quote

