Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

J3+Styling - Backend - Settings view 7 years 3 months ago #20504

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493
JEM: 2.1.5
Joomla: 3.4.6 Template: Isis

be aware: changes will be overwritten in case of an update, but maybe it's usefull to someone.

Radio buttons
it would be good to have radio buttons with colors Red/Green.

File: .../administrator/components/com_jem/models/forms/settings.xml
You can add to the field Type "radio" the class "btn-group btn-group-yesno"

For the field gddisabled that will be something like this
<field name="gddisabled" type="radio" label="COM_JEM_GD_LIBRARY"
description="COM_JEM_GD_LIBRARY_DESC"
class="btn-group btn-group-yesno"
default="0"
required="false"
>
	<option value="0">JNO</option>
	<option value="1">JYES</option>
</field>

When doing so you will notice that the buttons are small and that happens as the css is messing with it, so to display it nicely you have to alter the css. Another thing is that the view is using <ul><li></li></ul> but it would be better to use divs.
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
Attachments:
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

Last edit: by Bluefox.

J3+Styling - Backend - Settings view 7 years 2 months ago #20709

you can do the same in all administrator/components/com_jem/models/forms/*.xml for settings.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.440 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......