Show / Hide Modules and Right / Left Columns with Saved State | |
Note: the term shading specifically describes showing/hiding the contents of a pane, such as a swndow or module, while keeping the title bar visible, while the more generic term flip describes showing/hiding content in general, including help text and submenus.
|
Table of contents | |
In Tiki 1.9 | |
[-]
To enable shading for an individual module, goto Admin->Features and select "Users can Shade Modules: module decides", and save your changes. Goto Admin->Modules and put "flip=y" (without the quotes) into the parameters for that module, and save your changes. See Modules Admin for more details. To enable flipping of left and right columns, goto Admin->Features and select "Left column: user decides" and "Right column: user decides", and save your changes. See UsersFlipColumns for more details. To display the module without the title bar and border for an individual module, goto Admin->Modules and put "decorations=n" (without the quotes) into the parameters for that module, and save your changes. See Modules Admin for more details. Theme designers please see ReleaseProcess19 and CssStylesDev for details of the new CSS entries that need to be added to your themes. You'll find default implementations in styles/transitions/1.8to1.9.css. --
|
In Tiki 1.8.x | |
[-]
|
Modules | |
[-]
-- colorado |
Stylesheet | |
[-] BELOW IS WHAT I HAVE IN MY STYLESHEETS FOR THE FLIPPING MODULES: div.box {
overflow : hidden;
div.box-title {
div.box-title table {
div.box-data {
.flipmodtitle {
.flipmodtitle a, .flipmodtitle:link, .flipmodtitle:active, .flipmodtitle:visited {
.flipmodtitle:hover {
.flipmodimage {
.flip-data {
|
How to Show/Hide entire right and left columns | |
[-] Here's the |
Discussion/Participation | |
[-]
Show/Hide module contents
NOTE: Currently the method above does not collapse the menus completely - a certain amount of space is left between the module title bars that you can't remove by adjustments to the style sheets (at least I could not make it work). The method below DOES collapse the menus all the way, with no space between the menu titles when collapsed. Maybe mdavey or someone else can fix this? — Colorado -- Fixed mdavey u rock! Now how about instead of just the little icon, make click anywhere in the title bar (or at least also clicking on the title text) flip the menu? (P.S. Love the "decorations" option!) — Colorado making the text clickable would be problematic. Various modules use a link on the title already. Examples include last_modif_pages and user_bookmarks. Double-click the module's titlebar to show/hide module contents (I chose double-click to keep things consistent with Gnome/KDE) - mdavey Show/Hide entire left/right columns
TikiTeam
|