Loading...
 
Themes

Themes


Re: Re: Re: Re: Re: Re: Override display of left column on one wiki page or solve toggle pb

Japan

> Hi Chibaguy, and thanks for your time on this. It works... but...
>
> #Neither of the expandable menus, plugged in through modules on the wiki central page, "toggle" or expand when page is loaded for the first time. On the first reload some of the menus expand, and they all do once the page has been reloaded several times. I haven't investigated what happens after restart...

Sorry but I don't know enough about how javascript behaves to help on this. You might try putting a phplayers menu in a module, since it uses different code, etc.

> +
> #It seems some general comfig/layout gets lost in the process:
> **Some type of super bold ">" bullet displayed with the h2 tag, not specified in the css -and I don't know where it is specified, does not appear in the source either- disappears... but let's say I can do without it...

Sounds like maybe an html tag is broken somehow, causing the angle bracket to be displayed. That's the sort of thing I waste too much time looking for, some days.

> **Our custom "root" top bar, image + browser title as specified in the Admin General page is replaced by the default tikiwiki topbar "This is Tiki v1.9 DR (Developer Release) 4 (CVS) -Sirius- © 2002–2005 by the Tiki community 09/12/05 01:16 // debug". Now I know which version we are on biggrin.

Well, it's good to get some benefit from this turn of events. wink Sorry, my instructions were for a case in which no custom templates are used with the original theme, sorry. In your case, you'll have to duplicate the templates directory (and contents) of the original theme (that is, the theme your site is configured to use). In other words, in the tiki_root/templates/styles directory there's a directory with the same name as your default theme, which I'll call "originalname". You need to make a tiki_root/templates/styles/originalname_noleftcol directory (or whatever you named your no-left-column theme) and put into it all of the files that are in the originalname directory, which will be the modified topbar file, maybe among others. Themes look for the template files to use first in a directory with their name within the templates/styles directory and then, if none are found, in the default templates directory.

> ++I remember now though that when requiring a style change on our declination of the tiki a couple of months ago, I was told that the "path to the general layout", or whatever this is called, was lost when creating a "local" duplicate css, so end of story.

That might have been due to how your local software modified file paths when saving the file. As far as the CSS file is concerned, it specifies the graphic file paths it needs for backgrounds, etc. But the template files are located by Tiki looking for same-named directories within the templates/styles directory.

>
> Any clue on how this can be overcome for me to forward to the right guys if I can't correct it myself?

Just duplicate the directory and files used for your main theme, as I described. Heh, I was hoping for a CSS-only, no-templates solution here, but it's not to be. smile

-- Gary

There are no comments at this time.