How do I make the "Access Rights" box in Category taller?

Phoca Download - download manager
sethwcaton
Phoca Member
Phoca Member
Posts: 11
Joined: 04 May 2013, 18:12

How do I make the "Access Rights" box in Category taller?

Post by sethwcaton »

I want this box:

Image

to look like this box:

Image

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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48584
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How do I make the "Access Rights" box in Category taller

Post by Jan »

Hi, try to change the parameters for the XML, e.g. here:
administrator\components\com_phocadownload\models\forms\phocadownloadcat.xml

Jan
If you find Phoca extensions useful, please support the project
sethwcaton
Phoca Member
Phoca Member
Posts: 11
Joined: 04 May 2013, 18:12

Re: How do I make the "Access Rights" box in Category taller

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48584
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How do I make the "Access Rights" box in Category taller

Post 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 :idea:
If you find Phoca extensions useful, please support the project
Post Reply