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

TOPIC: Selection Limits style

Selection Limits style 11 years 3 months ago #21086

  • edogden
  • edogden's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi all,

I am trying to style the Selection Limits.
I guess the code I need to edit is...

<img height="30" width="30" style="position:relative;left:-25px;top:5px;margin-right: -30px;" border="0" src="/components/com_dtregister/assets/images/transparent.gif">

Where can I find this code?

Thanks

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

Selection Limits style 10 years 10 months ago #22311

  • infotex
  • infotex's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Thank you received: 0
Did anyone ever find out how to style the disabledStyle checkboxes? It looks really ugly with the enforced 30px height and width.

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

Selection Limits style 10 years 7 months ago #22972

  • clawcorp
  • clawcorp's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Karma: 3
  • Thank you received: 2
Your mileage may vary:

I created a 30x30 gif with the text "FULL"

Edit:
administrator/com_dtregister/models/field.php

Edit the line w/transparent.gif in it (line 1789 for our system, Joomla 2.5 w/DTRegister 2.8.2) - remove the style and put in the name of your gif. The image is located in components/com_dtregister/images.

With this mode, I get the checkbox with a "FULL" next to it. Hacky, but hopefully the registrant will understand why it can't be selected. Not translation friendly.

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

Selection Limits style 10 years 7 months ago #22973

  • clawcorp
  • clawcorp's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Karma: 3
  • Thank you received: 2
Let me throw this in here, too:

$img_hover = "<img height='30' width='30' style='position:relative;left:-25px;top:5px;' border='0' src='".JURI::root(true)."/components/com_dtregister/assets/images/transparent.gif' />";
$img_hover .= "<img height='30' width='30' border='0' src='".JURI::root(true)."/components/com_dtregister/assets/images/full.gif' />";

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

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