backoffice

Smart edit unable edit the page emailsignmodal

眉间皱痕 提交于 2020-05-16 02:30:11
问题 Hi Hybris 1811 smartedit I am trying to edit Email Signup Modal but as soon as I click on the link it redirects me to below page. I have multiple sites so sometimes I am getting this warning: WARN [hybrisHTTP20] [DefaultCMSSiteService] More than one site associated with URL [https://localhost:9002/?site=XXXX]. Returning first. Did anybody faced similar issue? 回答1: The main problem is that you have more than one site containing the same urlPatterns This attribute represents a regex that is

How to access Backoffice in Junit Tenant

南笙酒味 提交于 2020-01-05 07:34:29
问题 We can access HMC in JUnit tenant by hitting the below URL https://localhost:9002/hmc_junit/hybris which is defined in tenant_junit.properties like this hmc.webroot=/hmc_junit But I havn't seen anywhere URL to access Backoffice in JUnit Tenant. Can anybody help me please to access Backoffice in JUnit Tenant ? 回答1: I was looking for it everywhere as well, couldn't find any documentation in the wiki... It doesn't seem to be officially supported but here is what I found. Under Hybris 6.3 there

Can't add js and css files to back office

牧云@^-^@ 提交于 2019-12-20 07:14:12
问题 I want to add JS and CSS files to back office in my module. But I get error: Attempted to call an undefined method named "registerStylesheet" of class "AdminModulesController". I've seen other posts (like this Show my module JS at footer in prestashop) or here https://devdocs.prestashop.com/1.7/themes/getting-started/asset-management/ So I want to avoid addJS() function as this is depreciated. But when I try to use $this->context->controller->registerStylesheet() and $this->context-