Loading...
 
Skip to main content

Other themes


Getting kubrik & planetfall via Tiki mods

Canada

Hi Gary!

I tried to install kubrik & planetfall via mods in just released Tiki 1.9.3.1

kubrik:

Warning: copy(mods/themes/kubrick/themes/kubrick/kubrickheader-original.jpg): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\test1931gz\lib\mods\modslib.php on line 375 themes/kubrick/themes/kubrick/kubrickheader-original.jpg to templates/styles/kubrick/kubrickheader-original.jpg impossible to copy

planetfall:

It installed nicely from mods. However, after, when I activated phplayermenu, I got locked out of the site:

LayersMenu Error: setMenuStructureString: empty string.


I think mods is gonna be a very interesting way to distribute themes while keeping development centralized in CVS.

Thanks!!!!!

M 😉

Japan

Hi Marc,

re kubrik
The path to that "missing" image file is wrong, for some reason. This may be related to something I've been wondering about: what is the best directory structure for theme packaging? I had intended to follow the model of the existing themes at mods.tw.o, but they aren't consistent. Also, some themes have only the standard CSS file (and maybe images), and maybe template files. In the case of Kubrick and other themes, there are also "resource" files such as image file originals. I wonder how the mods installer sorts out the files/directories to install them correctly, when the new theme package might have extras. Some Mods Installer docs would help. 😉

re planetfall
The problem here is that planetfall comes with a PHP Layers menu Id specified, and if there isn't a matching menu Id at the site it's being installed on, then there will be a fatal error. The install docs describe this situation and tell the user to have the menu Id ready before installing the theme, but naturally people still miss the information.


The options are

  1. Keep the theme files as they are (PHP Layers menu is active immediately when the theme installs), but make the warning about the menu Id more prominent.
  2. Comment out the PHP Layers menu tag in the template and have users activate it after the theme is installed and the menu Id is ready. This is safer but requires the user to edit the file.


What's the best choice?

I agree that the mods installer could be a very good tool but it isn't clear yet how mods should be put together to facilitate the process, I think.

-- Gary