Location of master.css stylesheet

General discussion on all other topics under the sun.

Moderator: Renato

GrayPound
New User
Posts: 3
Joined: Mon Mar 18, 2024 7:04 pm
Are you a spam bot?: No

Location of master.css stylesheet

Post by GrayPound »

Hi,
I'm trying to write some reports using the General Report Manager. I've used some existing examples and have rocked up against a small problem.

The example templates uses the following in the header

Code: Select all

    <script src = "memory:sorttable.js"></script>
    <script src = "ChartNew.js"></script>
    <script src = "sorttable.js"></script>
    <link href = "master.css" rel = "stylesheet" />
Now I know the 'master.css' can be found and is 'working' (I did this by changing to say unknown.css and the output format changed)
I have searched hi/lo for this file (and the js files) without luck.
I have used sqlite to investigate the DB - can find it there.

If I can find it, then I can exploit the various features it contains which would be ideal.
If I can't find it, then I need to write my own css - where should this be located so the GRManager can find it when running reports.

Many thanks
Gray


The following system information may be relevent. Also note that it is running from a ZIP and is not installed on the PC
Money Manager Ex
• Version: 1.7.0 64-bit
• Built on: Dec 26 2023 19:10:28
• Database version: 19 (aes128cbc)
• Git commit: b380493 (2023-12-26)
MMEX is using the following support products:
• wxWidgets 3.2.4 (wxMSW 10.0)
• wxSQLite3 4.9.1 (SQLite 3.40.0)
• RapidJSON 1.1.0
• Lua 5.3.5
• libcurl/7.82.0-DEV Schannel
• gettext 0.19.8.1
• apexcharts.js
Built with:
• CMake 3.16.2
• MSBuild 15.9.21.664
• Microsoft Visual Studio 15.0
• Microsoft Visual C++ 19.16.27035.0
• Windows SDK 10.0.14393.0
Running on:
• Windows 10 (build 19045), 64-bit edition
• System Locale:
• User Interface Language: en_GB.windows-1252
• 2560x1440 32-bit 96x96ppi
User avatar
Renato
MVP User
Posts: 674
Joined: Mon Apr 25, 2011 7:36 pm
Are you a spam bot?: No
Location: near Zurich

Re: Location of master.css stylesheet

Post by Renato »

It is located here: "C:\Program Files\Money Manager EX\res\master.css"
or in the portable version in the "res" directory

I use : Everything = https://www.voidtools.com/downloads/ to search for such files.
Renato Forum Administrator
GrayPound
New User
Posts: 3
Joined: Mon Mar 18, 2024 7:04 pm
Are you a spam bot?: No

Re: Location of master.css stylesheet

Post by GrayPound »

Hi Renato,

Thanks for amazingly swift reply.
Boy I must by blind - still can't find it.

OK I have checked the shortcut and I'm running the following I believe as a Portable version
D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\bin\mmex.exe
with a 'Start in' location of
D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\bin
Just in case I checked the install C:\Program Files\, it has no Money Manager Ex directory at all

So I had another poke at the Portable area...
Here's some CMD window output using the dir command.
No master.css or any css is shown (by the way I've also checked for hidden files)

D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\res>dir
Volume in drive D is Data
Volume Serial Number is 28D6-2862

Directory of D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\res

26/12/2023 19:14 <DIR> .
26/12/2023 19:14 <DIR> ..
26/12/2023 19:03 487,088 apexcharts.min.js
26/12/2023 19:03 101,636 cash.wav
26/12/2023 19:03 467,807 ChartNew.js
26/12/2023 19:03 2,703 classlist.min.js
26/12/2023 19:03 8,196 drop.wav
26/12/2023 19:03 729 findindex.min.js
26/12/2023 19:03 4,538 format.js
26/12/2023 19:03 9,883 home_page.htt
26/12/2023 19:03 89,501 jquery.min.js
26/12/2023 19:03 153,607 mmex.ico
26/12/2023 19:03 4,199 mmex.png
26/12/2023 19:03 8,577 mmex.svg
26/12/2023 19:03 3,909 polyfill.min.js
26/12/2023 19:14 <DIR> reports
26/12/2023 19:03 8,694 resize-observer.js
26/12/2023 19:03 16,628 sorttable.js
26/12/2023 19:14 <DIR> themes
26/12/2023 19:03 157,550 umd.min.js
16 File(s) 1,525,245 bytes
4 Dir(s) 198,085,124,096 bytes free

D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\res>
D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\res\themes>dir
Volume in drive D is Data
Volume Serial Number is 28D6-2862

Directory of D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\res\themes

26/12/2023 19:14 <DIR> .
26/12/2023 19:14 <DIR> ..
26/12/2023 19:05 141,242 colorful.mmextheme
26/12/2023 19:05 249,237 dark-mode.mmextheme
26/12/2023 19:05 343,564 default.mmextheme
26/12/2023 19:05 114,504 simple-black.mmextheme
26/12/2023 19:05 292,685 yellow-blue.mmextheme
5 File(s) 1,141,232 bytes
2 Dir(s) 198,085,124,096 bytes free

D:\Applications\MoneyManagerEX\mmex-1.7.0-win64\res\themes>
User avatar
Renato
MVP User
Posts: 674
Joined: Mon Apr 25, 2011 7:36 pm
Are you a spam bot?: No
Location: near Zurich

Re: Location of master.css stylesheet

Post by Renato »

You are right, this "master.css" is no longer in the "res" directory.
It is still in my "res" directory because I never deleted the old data during installation.
Unfortunately, I don't know how this is currently solved with "master.css".
Presumably the developers can help here. @whall3y

In the attachment my "master.css"
You do not have the required permissions to view the files attached to this post.
Renato Forum Administrator
whall3y
Developer
Posts: 343
Joined: Fri Aug 21, 2020 5:44 pm
Are you a spam bot?: No

Re: Location of master.css stylesheet

Post by whall3y »

It is part of the 'theme', best way to alter this is to create a new personal theme, see - https://github.com/moneymanagerex/themes
GrayPound
New User
Posts: 3
Joined: Mon Mar 18, 2024 7:04 pm
Are you a spam bot?: No

Re: Location of master.css stylesheet

Post by GrayPound »

Thanks to both for your prompt replies.

Yes I've found it (and variations) in the themes folder exactly as directed.
I can now explore what 'comes for free'!