Janks
September 30, 2023, 2:50pm
1
Hi,
When version 9.2.1 has now been downloaded and installed, I would now like to apply theme atomik to My Account.
From documentation:
In app.php this version 9.2.1 there is no account related data in app.php’s ‘theme_paths’ section, so I added the following 2 lines:
'/account' => 'atomik',
'/account/*' => 'atomik',
The resulting My Account pages comes up with theme as expected.
The Profile Picture page /account/avatar however does not come up with the image selection section.
What can be the reason why the image selection section does not appear?
Janks
September 30, 2023, 4:06pm
2
From F12 review, I now found the reason why.
When set to default, the existing JavaScript concrete/themes/dashboard/main.js is called.
When set to theme, the same main.js script is called on this address application/themes/atomik/main.js where it’s non-existing.
I now copied the script concrete/themes/dashboard/main.js to application/themes/atomik/main.js and it works.
Is it Ok to do this, or do we have a better way doing it?
1 Like
Hi @Janks - that’s interesting, it might be a core issue - I would raise an issue here to see if that’s something that needs to be fixed, and you might also get some input on your question there as well: