Shopware: Plugin implemented only on responsive theme - plugins

I have lately installed a Google Tag Manager plugin on our Shopware store, the problem is that it is only implemented on the Responsive theme.
We have created another theme, which is derived from Responsive but has another name.
How can I make the plugin work for this theme as well (or instead)?
Thanks!

Try adding protected $injectBeforePlugins = true; in your theme's Theme.php file.

Related

Plugin works only with theme in WP

I have installed a plugin on my WP website, it works when I choose a theme from the products page but not with my default template. The problem is that the structure of the website breaks when I choose a theme. So I need a plugin that works on the default theme plugin.
Product pages are the only place the plugin can't be displayed.
Any ideas on how to solve this issue?
Thanks in advance!

Design of SAP Fiori/UI5 Application

I’m trying to develop my first SAP Fiori App. Now I have some question about themes and background. In my index.html sap_belize_plus is the selected theme. In the SAP Fiori Launchpad you can chose between different SAP themes.
Does the chosen theme in the Launchpad affect my app or will it be displayed exactly as
implemented (only belize theme)?
Should I do custom CSS?
I saw apps with the standard #EBEBEB background and others with the picture background. On what does this depend?
Thanks for your help!
Does the chosen theme in the Launchpad affect my app or will it be displayed exactly as implemented (only belize theme)?
Yes. Chosen theme from the Launchpad will be the one that will be used. (Not the one in your index.html)
Should I do custom CSS?
Ideally No. You should create a custom theme (start by copying the standard) and try to achieve your desired result with the theme. CSS should be your last resort.
I saw apps with the standard #EBEBEB background and others with the
picture background. On what does this depend?
This can be either due to custom CSS to due to the custom theme. You have to look into the 'Developer tools' to determine.
If you use the Fiori Launchpad (FLP) you have 2 options.
[Most common & recommended] Configure your tile to open the app calling the Component.js file
Configuring the tile to open the index.html file (UI5 standalone configutarion)
In option 1, the index.html file of your app is not used. It's the FLP the one who plays the role of index.html file, and the app is loaded into the ComponentContainer of the FLP using JS-based navigation (hash navigation). So, in a default app config, the theme you use in your FLP will be the one used in your app.
Besides you can configure which are the supported themes for your app in the descriptor file, setting the property
"supportedThemes": [
"sap_bluecrystal"
]
More info in this link
In option 2, the app will be opened in a new tab, calling the index.html file, so it will use the theme you configure in the index.html file.
In the most common & easy way, you apply your custom themes in the whole FLP and you configure your apps to use it.
I think you should start reading about Theme Designer before you start coding CSS
Furthermore if you want to add just a few CSS classes, read this

How to overlay AEM cq dialog for component?

Using Adobe Experience Manager (AEM), I'm trying to overlay the cq/searchpromote/components/search component.
I have copy/pasted the folder and my search.jsp is working as it should with new functionality.
My dialog won't work. It still reads from the original default component. The naming and path are the same so I believe it should work.
What could be the issue?

SugarCRM Custom Theme 6.5.13

I am trying to create a custom theme for my SugarCRM CE 6.5.13 setup.
I've tried everything I can find. I copied the Sugar5 theme folder to the custom/themes/folder and renamed it Sugar-Custom.
I edited the themedef.php file. The theme shows up in my theme selector in the admin panel.
I went in and changed every instance of a color in the css/style.css file, just to make sure I can get that working, but that didn't work.
I did a Repair/Rebuild and I deleted my cache/themes/ files.
I cleared my browser cache.
But, when I do an inspect element (using Chrome) it shows its still pulling the css files from the Sugar5 theme folder. How is that possible if I selected the custom theme? I must be doing something wrong.
Any help is greatly appreciated. Thank you.
Try setting the theme as your default theme in your personal settings. The global setting doesn't override the user settings. the global setting only works for new users.

Theme Specific Wordpress Custom Fields

I'm currently in the process of building a wordpress multi-site for a client. I've completed aspect #1, which was creating Theme-1. Theme-1 was built utilizing excessive amounts of the AdvancedCustomFields PLUGIN.
I'm working to build Theme-2, this one is the primary theme that will be utilized for all of the sub-sites created through the multi-site option. The issue I'm having is that the AdvancedCustomFields are no longer an option, I need to build all of the customization into the functions.php file directly.
Is it possible to create custom fields through the theme directly - without utilizing a plugin?
I need the theme pages to have "Left Side" "Right Side" "Footer" as WYSIWYG editors. So if someone goes to create a new page all of these field settings are there by default.
Is this possible?
It's possible, using the wp_editor function to get the WYSIWYG functionality. See this question on the WordPress stackexchange site. It's demonstrated as a plugin, but you could just as easily put the code in your theme.