mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Style in Layout Options Do Not Update on Themes Change #5344
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#5344
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 @smtaha01 on GitHub (Oct 17, 2025).
Issue
I’m outlining the behavior we observed regarding theme selection and the expected fix.
Steps to Reproduce
Environment:
SuiteCRM 7.14.7
Current Behavior
Even after selecting a different theme, the Style dropdown continues to show SuiteP subthemes, instead of the subthemes belonging to the selected theme.
Expected Behavior
The Style dropdown should dynamically display subthemes based on the selected theme, not the default SuiteP ones.
Proposed Solution
We can resolve this in one of two ways:
1. Front-end Fix:
Trigger an API call when the user switches themes, so the correct subthemes are fetched and displayed dynamically.
2. Back-end Logic on Save:
When the user saves their profile, automatically set the default subtheme based on the selected theme’s configuration (themedef.php).
Possible Fix
1. Front-end Fix:
Trigger an API call when the user switches themes, so the correct subthemes are fetched and displayed dynamically.
2. Back-end Logic on Save:
When the user saves their profile, automatically set the default subtheme based on the selected theme’s configuration (themedef.php).
Steps to Reproduce the Issue
Context
No response
Version
7.14.7
What browser are you currently using?
Chrome
Browser Version
No response
Environment Information
PHP 8.2
Operating System and Version
Ubuntu 20.04