Tuesday, April 26, 2005
cheap cpu to put in empty box.
Good deal on Dell Laptop.
Sunday, April 24, 2005
Mambers.com - make menu horizontal or vertical
Mambers.com - make menu horizontal or vertical: "The -1 issue:
Not quite. I found out by testing that it has a totally different function and found the according switches to it in frontend.html.php. This is a 'YEAH, GREAT' for anyone trying to go 'no tables pure CSS' layout:
According to the annotations in frontend.html.php and according to my own trying it out, -1 as option calling a module has NO effect to either horizontal or vertical. This - for the menu system - is controlled by the Parameter set in the menu entry itself.
What it does ist quite different:
-1 states to show the module 'without wrapper and title'
-2 states to show the module 'x-mambo style'.
What follows in lines 100 ff. in frontend.html.php makes it perfectly clear:
if -2 is stated, x-mambo style modules will be output to the frontend. That means: there is a DIV with the class of 'moduletable' around the entire module, there is a H3 wrapping the title (which you will propably make to be invisible in the CSS file 'using display: invisible;' rather then switching it on or off in the administration area.
if -1 is stated, the naked module will show, no wrapper, no DIV around it, not table around it, nothing but the module itself. This is quite nice if you call the module in a DIV you set up in your template.
if nothing is stated, it will fall back on the regular way Mambo uses to draw modules: neatly wrapped in a table.
So, this is it and I guess it is BRILLIANT. Sadly but it is not really mentioned anywhere because this is a GREAT GREAT GREAT feature so many people have been waiting for for soooo long!!!
Steph http://mambers.com/images/smilies/smile.gif"
Not quite. I found out by testing that it has a totally different function and found the according switches to it in frontend.html.php. This is a 'YEAH, GREAT' for anyone trying to go 'no tables pure CSS' layout:
According to the annotations in frontend.html.php and according to my own trying it out, -1 as option calling a module has NO effect to either horizontal or vertical. This - for the menu system - is controlled by the Parameter set in the menu entry itself.
What it does ist quite different:
-1 states to show the module 'without wrapper and title'
-2 states to show the module 'x-mambo style'.
What follows in lines 100 ff. in frontend.html.php makes it perfectly clear:
if -2 is stated, x-mambo style modules will be output to the frontend. That means: there is a DIV with the class of 'moduletable' around the entire module, there is a H3 wrapping the title (which you will propably make to be invisible in the CSS file 'using display: invisible;' rather then switching it on or off in the administration area.
if -1 is stated, the naked module will show, no wrapper, no DIV around it, not table around it, nothing but the module itself. This is quite nice if you call the module in a DIV you set up in your template.
if nothing is stated, it will fall back on the regular way Mambo uses to draw modules: neatly wrapped in a table.
So, this is it and I guess it is BRILLIANT. Sadly but it is not really mentioned anywhere because this is a GREAT GREAT GREAT feature so many people have been waiting for for soooo long!!!
Steph http://mambers.com/images/smilies/smile.gif"