i would like to arrange my styles templates/themes and imagesets by moving them or or down under in ac panel like you can do with forums,smilies etc. :thumbup:
[img]http://www.djsimg.com/images/76842591_icon_hide.gif[/img]
[mod request] Custom sorting of styles in admin control pane
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: [mod request] Custom sorting of styles in admin control
That may be doable...I'll take a look at it when I get some free time.
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: [mod request] Custom sorting of styles in admin control
Steve,
What would be the purpose/what are you trying to accomplish by doing this?
What would be the purpose/what are you trying to accomplish by doing this?
Re: [mod request] Custom sorting of styles in admin control
Ive got 20 styles installed and the latest style im working on happens to be at the bottom of the list. Id like it at the top of the list as not to scroll down and not to refresh the template/theme for eg for a style above or below the one im working on by mistake.
Steve ©
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: [mod request] Custom sorting of styles in admin control
Thing is there are multiple tables, unlike with custom bbcodes or smilies, within the database that are in play when editing/manipulation a style
STYLES, STYLES_TEMPLATE, STYLES_THEME, STYLES_IMAGESET.
So you would be doing a lot of clicking for, IMHO, very little gain.
So I will have to say "Pass" on this one.
Good luck!
STYLES, STYLES_TEMPLATE, STYLES_THEME, STYLES_IMAGESET.
So you would be doing a lot of clicking for, IMHO, very little gain.
So I will have to say "Pass" on this one.
Good luck!
Re: [mod request] Custom sorting of styles in admin control
You could change the sort order to descending.
in includes/acp/acp_styles.php
Find, (to get the position for the next find)
'L_CREATE' => $user->lang['CREATE_' . $l_prefix],
Find, (Should be line 596)
FROM $sql_from";
Replace with,
FROM $sql_from
ORDER BY style_id DESC";
This will reverse the display of the styles, so the last ID will be at the top.
in includes/acp/acp_styles.php
Find, (to get the position for the next find)
'L_CREATE' => $user->lang['CREATE_' . $l_prefix],
Find, (Should be line 596)
FROM $sql_from";
Replace with,
FROM $sql_from
ORDER BY style_id DESC";
This will reverse the display of the styles, so the last ID will be at the top.
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 44 guests