WebsiteBaker Support (2.8.x) > Templates, Menus & Design

How to correctly zip and upload template files on a mac

<< < (2/2)

zaphmann:
OK - I was put off WebsiteBaker by the thought of having to go through a convoluted procedure to load modules (being on a mac). However I have found that it is as simple as on a PC if you avoid Safari.

Safari, a faster and more responsive browser that the popular ones, in this instance does too much for you. When it downloads it automatically unzips files, which for WB doesnot suit. You can stop it before it unzips (a prompt) but then you don't have a zip file - you have a zip file wrapped in a Safari control file. If you attempt to load that through the WB add-ons db you will get this error:

Safari can’t open the page “http://www.morethanoil.com/admin/modules/install.php”. The error was: “POSIX error: Is a directory” (NSPOSIXErrorDomain:21) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

The solution  is simply to use Firefox for downloads, it gives you an unwrapped zip file and the option to save to disc, then follow normal WB procedure.

Emilio:
Hello All,
I have another workaround for uploading zipped template files from a Mac.

In the previous posts Sam suggested using Stuffit or Yemuzip did not seem to work. The trick to it is to zip only the files and folders within the your customised template directory, and not the whole directory itself, as WB will create a folder on the server to put these in.

Then it is a simple matter of uploading the template through the usual WB Add-Ons interface

This info was contained at the tutorial below:
http://project.websitebaker2.org/wiki/Docs-EN-TemplateTutorial2

Hope this helps someone.

Navigation

[0] Message Index

[*] Previous page

Go to full version