mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #1171] Config theme and font size [enhancement] #753
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#753
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nerun on GitHub (May 6, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1171
I know that i can change default theme in TFM 2.5.3 by editing line 4168.
lines 4165-9:
And to change default font size, edit line 4183:
PS.: change default font size do not render in the new size, but always in font 12. If you set to 18, ace will open in 12, but shows 18.
It works well, but would be better if there is a variable to change in
config.phpfor both defaultthemeandfont size.@prasathmani commented on GitHub (May 7, 2024):
Thank you, @nerun, for your suggestion. We will take it into consideration for inclusion in a future release.
@awais300 commented on GitHub (Jun 23, 2024):
@nerun to adjust the font size, please use the following updated code:
Replace this:
$fontSizeEl.val(12).change(); // set default font size in dropdownwith this:
$(function() { $fontSizeEl.val(18).change(); }); //set default font size in drop down@prasathmani I have submitted a pull request https://github.com/prasathmani/tinyfilemanager/pull/1200. Please review it at your earliest convenience. Thank you!
@nerun commented on GitHub (Jun 23, 2024):
Works like a charm
@nerun commented on GitHub (Jun 24, 2024):
Please, reopen it
This issue is about add variables to change theme and font size in
config.php, the same way that happens in other settings. PR #1200 just resolve font size not changing when editingtinyfilemanager.phpdirectly. For example, if i could add these to config.php:Would be easier.