An example for the module "Themegroups"      Auf Facebook posten http://www.openphpnuke.com/system/article/index.php?opnparams=CntdOAI3CmdWNVU0

OPN FAQ
I made an example on this webpage. Have a look at the upper right corner. There is a box called Themegroups. In this box you can choose
  • All
  • Friends
  • Friends have gone


I also made a sidebox in the right upper corner named Hi Friends.


Now choose Friends have gone in the Themegroups Box and click Pages. What happens? --> The sidebox Hi Friends disappeared.

Now choose Friends in the Themegroup Box , click Pages and the Hi Friends Box will be shown.
The same if you choose All and click Pages

What have you seen? In OPN you can switch off and on boxes, depending on some kind of category which you can define in the admin of the module themegroups.

How can this be done? Define themegroups in the module themegroups. When you define a box in admin sidemenu or centermenu you can define at item "Category" wether it shall be shown in a distinct themegroup. In my example i defined a HTML Box as sidebox, named it "Hi Friends" and in "Category" I choosed "Friends". In this case the box will be displayed if themegroups is choosen "All" or "Friends"

Give this feature a try, perhaps you have gotten a better example, let me know and I put it in the documentation.

Help appreciated :-)

manne

P.S. In RC2 you can choose the themegroup which will be used when OPN is started. A lot of ideas ar feasible then :-) Think about it.


Posted by manne on 2003-11-29 21:40:28  (23454 * reads) 

     Auf Facebook posten http://www.openphpnuke.com/system/article/index.php?opnparams=CntdOAI3CmdWNVU0

Comments

Threshold
The comments are owned by the poster. We are not responsible for their content.


WARNING [8] Undefined offset: -1" 
by Wes on 2004-08-05 21:02:05 
WARNING [8] Undefined offset: -1
FOUND IN [class/class.opnsession.php]
FOUND AT 77 - I encountered this error after the install, any help here
 
Page took 0.09334 seconds to load