If you want to create your own styled room the best thing to do in order to be "update-save" is to create your own custom room type. There is an empty configuration by default shipped with every release of OpenMeetings, the room type "custom" (ID = 5).

You can use that and extend it, or you can add more room types to fit your use case.

Create your own room type class (User Interface)

Lets start by creating your custom room type class.

  1. Additional room type need to be added to https://github.com/apache/openmeetings/blob/master/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/room/Room.java class Type enum
  2. (Optional) https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/RoomPanel.java java class need to be extended and customized
  3. (Alternatively) room sub-components can be extended and customized as it currently done for https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/InterviewWbPanel.java

Step 2) above is marked (Optional) since in most cases in might be enough to customize CSS rules for newly created room type
i.e. each room type can be customized by specifying CSS rules for this room type only. to do it:

  • create CSS rule starting .room.box.custom where custom is the room type
    for ex.
    
    .room.box.presentation .room.menu {
    	background-color: red;
    }
    
    						
    Will set background-color for room menu in all rooms of type presentation
  • continue styling :)))

Thats it. You can add/edit/delete your room with the new room type in the Administration > Rooms interface of OpenMeetings like any other room.

Back to top

Apache OpenMeetings, OpenMeetings, Apache, the Apache feather, and the Apache OpenMeetings project logo

are trademarks of the Apache Software Foundation.