Page 1 of 1
How do I make the "Access Rights" box in Category taller?
Posted: 16 May 2013, 15:13
by sethwcaton
I want this box:
to look like this box:
I can change this temporarily in Firebug, but can't find the PHP file(s) that have the administrator component stuff. The line I want to change is below, where the default size is "4" but I want to change to "35".
<select id="jform_accessuserid" class="inputbox" multiple="multiple" size="35" name="jform[accessuserid][]" aria-invalid="false">
Any thoughts?
Re: How do I make the "Access Rights" box in Category taller
Posted: 24 May 2013, 23:34
by Jan
Hi, try to change the parameters for the XML, e.g. here:
administrator\components\com_phocadownload\models\forms\phocadownloadcat.xml
Jan
Re: How do I make the "Access Rights" box in Category taller
Posted: 07 Jun 2013, 22:36
by sethwcaton
I'm one step closer to getting this done...I found the line of code that brings up the Access Rights box:
Code: Select all
<field name="accessuserid" type="phocausers" multiple="1" label="COM_PHOCADOWNLOAD_FIELD_ACCESS_RIGHTS_LABEL" description="COM_PHOCADOWNLOAD_FIELD_ACCESS_RIGHTS_DESC" class="inputbox" size="1" />
...but changing the size from "1" to any other number (I even tried double digits) doesn't change the height. This problem also exists for the upload and delete user boxes. I even removed the size parameter entirely, and nothing changed. Then I added a "height" parameter, just to see what would happen...no change there either.
Conversely, when I up the size on the Access box code below (which displays Public, Registered, Special) that DOES increase it's size. I'm stumped...
Code: Select all
<field name="access" type="accesslevel" label="JFIELD_ACCESS_LABEL" description="JFIELD_ACCESS_DESC" class="inputbox" size="1" />
Is there something somewhere that's globally restricting the size to the Access/Upload/Delete rights dropdown boxes?
Re: How do I make the "Access Rights" box in Category taller
Posted: 07 Jun 2013, 23:58
by Jan
Hi, I think, they are stylized then by CSS of Joomla! system but not sure if the CSS can control the number of lines
