Keyword

Layout Question: Extend "Access Level" Field

  • Sebastian
  • Sebastian's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago - 11 years 10 months ago #106321 by Sebastian
Hello,

since i've got a huge amount of access levels, i need to expand the access level field. By default it only shows about 3-4 levels, which can be a tricky selection with more than 100+ Access levels.

So, i tried to find the setting on how to expand this field. It's pretty easy with Firebug or Chrome, but I can't find the setting in the files. It's neither in the K2 Templates nor in the javascript file.

<select id="assetgroups_1" name="access" class="inputbox" size="XX">
<option value="1">access level</option>
<option value="2">access level</option>
<option value="3" selected="selected">access level</option>
</select>


Can someone help me find the correct file where to change the "size" atribute?

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

  • Sebastian
  • Sebastian's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106322 by Sebastian
Replied by Sebastian on topic Re: Layout Question: Extend "Access Level" Field
nobody?

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

  • Sebastian
  • Sebastian's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106323 by Sebastian
Replied by Sebastian on topic Re: Layout Question: Extend "Access Level" Field
still no clue

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

More
11 years 10 months ago #106324 by Lefteris
Hi. This is coming from the Joomla! API not K2.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Sebastian
  • Sebastian's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 8 months ago - 11 years 8 months ago #106325 by Sebastian
Replied by Sebastian on topic Re: Layout Question: Extend "Access Level" Field
You were right.

For the record:
The file one need to edit is located in: libraries/joomla/html/html/access.php

There is only one 'size="3"' - feel free to edit as you want to

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

More
9 years 11 months ago #106326 by themis
Thank you guys...

You saved me...

I want to ask you if you can help me to sort the inputbox alphabetically...

Obviously, we have to change something on the "Select" querry or there is any other way to do it.

Can you help me please?

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

More
9 years 11 months ago #106327 by Lefteris
@themis

Hacking core Joomla! files is not a good option. You will lose your changes in the next update. There is no way to change the field size as well as the ordering.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 11 months ago #106328 by themis
I can see what you mean but i have many access levels and my customers want it...

I will keep the changes in a textfile and i will make them every time i make an upgrade...

I would appreciate if anyone can tell me what i should change to sort the input box...

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 11 months ago #106329 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Layout Question: Extend "Access Level" Field
Searching for an extension that simplifies the ACL in the JED would be preferable.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 11 months ago #106330 by themis
I agree with you but i do not want to change the functionality, i just want to sort the inputbox

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


Powered by Kunena Forum