How to allow Mac users to download Extensions
How to allow Mac users to download your Extensions if you have hosted them on Windows NT Internet Server.
So to enable successful download for Mac users:
On the Server:
- On IIS on Windows NT, go to Internet Service Manager
- Choose your computer name, right click, then properties
- Choose "Computer MIME Map" - Edit
- Add a new type. Extension ".mxp", Content Type "application/x-mmxp" (without the quotes)
- Restart IIS (Stop IISAdmin in the services, and start all related services after that)
In your pages:
- If you have direct links to your MXP files they will work
- If you use Response.Redirect - to redirect to the MXP file - this won't work.
- Change that with a new page that have a JavaScript action:
- in the BODY tag add: OnLoad="document.location ='myextension.MXP'"
- Change that with a new page that have a JavaScript action:
That it!
Comments
Template Directory Relationship
care to learn.
Is it possible to extend dreamweaver, so when a person saves a file in a
specific directory a template will automatically be applied to that file
without human interaction?
Moreover, I would like to have a template/directory relationship. If a
directory has sub-directories, the sub-directories would all have separate
templates for them.
can this be done?
~tjk~
RE: Template Directory Relationship
Sure this can be done!
You can programmatically apply templates. For example just before the user saves the current document in DW then you can have your own javascript running. From there you can automatically apply a template, so when the document is saved, it is saved with the new template.
Note that all your users should use DW or UD to save their documents.
If you know more about extensions, you can write one and place it in:
dreamweaver_dir/configuration/commands/myautotemplate_beforeSave.htm
Then the onLoad handler on your form in the file above will be executed on each document save. I'm using a simular construction for the Pure ASP File Upload Extension.
something the mac users can do--
You must me logged in to write a comment.