- Posts: 38
COMMUNITY FORUM
Layout Question: Extend "Access Level" Field
- Sebastian
- Topic Author
- Offline
- Junior Member
Less
More
11 years 10 months ago - 11 years 10 months ago #106321
by Sebastian
Layout Question: Extend "Access Level" Field was created 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?
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
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.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 10 months ago #106324
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Layout Question: Extend "Access Level" Field
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
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
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.
- themis
- Offline
- New Member
Less
More
- Posts: 3
9 years 11 months ago #106326
by themis
Replied by themis on topic Re: Layout Question: Extend "Access Level" Field
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?
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.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 11 months ago #106327
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Layout Question: Extend "Access Level" Field
@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.
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.
- themis
- Offline
- New Member
Less
More
- Posts: 3
9 years 11 months ago #106328
by themis
Replied by themis on topic Re: Layout Question: Extend "Access Level" Field
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...
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 11 months ago #106329
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
- themis
- Offline
- New Member
Less
More
- Posts: 3
9 years 11 months ago #106330
by themis
Replied by themis on topic Re: Layout Question: Extend "Access Level" Field
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.