Loading...
 
Features / Usability

Features / Usability


LayersMenu Error: empty string. Haulted

posts: 32 United States

Can I replace a PHP file to return the Admin features back to setup state? Using 191, and set the USE PHP LAYERS - no idea why, just to see what would happen. Now Tiki wont run at all. There's a lesson here, IF IT AINT BROKE, DONT FIX IT.

You can view the sad sight if anybody can stand it Open Windows US

--bigjet

PS I'm using the Kubrick theme, modified of course.

posts: 4656 Japan

> Can I replace a PHP file to return the Admin features back to setup state?

No, sorry. The setup state is recorded in the database, not in a file. But don't worry: there is another solution. wink

> ...
>
> PS I'm using the Kubrick theme, modified of course.

This problem happens because of the PHP Layers menu ID specified in the file templates/styles/kubrick/tiki.tpl. If you don't have a menu with that ID already, then the PHP Layers menu stops cold and stops the site along with it.

You can use FTP to access that file. Download it (or find your local copy). Then delete or "comment out" the PHP Layers menu tag (at line 18 or so). That is, change this:

Copy to clipboard
{phplayers id=43 type=horiz}

to this:

Copy to clipboard
{*phplayers id=43 type=horiz*}

(The curly bracket/asterisk combo is the Smarty version of an HTML comment tag, for example.) Or delete "{phplayers id=43 type=horiz}" entirely.

Save and re-upload this file to templates/styles/kubrick/ and refresh the page. It should load fine, except no menu will show. You can then go to Admin > Menus and make a menu with that ID number, then reinstate the PHP Layers tag if you want the horizontal menu there.

-- Gary - themes.tw.o


posts: 32 United States

Thanks Gary, took out the DIV and the page loaded. Removed the PHP Layers dynamic menus in Admin, and all seems well.
Well not too well, the problem I was originally trying to solve is still unresolved. The text does not wrap, in fact, the page appears off-center. It seems the KUBRICK right side column overlays the page without re centering the page.

The strange part is, the OpenWindows Tiki is cloned on my desktop machine running Windows 98. I mounted the KUBRICK first on the desktop. The desktop clone works perfectly, the page re centers itself and the text wraps without any problems. Only difference is the copy on the Net has 2 added modules, ARTICLES and LINKS.

It boils down to this, either Kubrick behaves differently under Windows and Linux, or KUBRICK wont accept modules. Have you encountered this before with the KUBRICK theme?

--bigjet


posts: 32 United States

All resolved. No need to respond. I am posting this for completeness and closure in case someone searches the Kubrick theme and comes here.

The centering and text wrap problem in Kubrick theme was due to browser version differences. The problem resides in IE 5.5, (yes I still use the old browser on my everyday work machine) Firefox and IE 6 work properly.