-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template path hints behavior #647
Comments
@tkacheva, please respond. Thank you! |
@tkacheva Thanks for getting back to me. I agree, template hints in admin can be a life saver, but the problem is I didn't enable the template hints for admin. I didn't even find a way to do it. I enabled them for a specific website, not from the default config section, but they still appear in the backend. |
@tzyganu , I agree, I would also consider that as bug. It looks that currently there is no possibility to enable hints only for frontend. I tried to enable them for Store View scope and they appear in both frontend and backend. However, ability to enable template hints for backend only sounds also like a good idea. |
Sorry for that recent duplicate. Please, do not mix the feature of allowing template hints in the adminhtml pages with the bug of the template hints showing in adminhtml pages even if the template hints are just enabled for a single store view. If template hints should be allowed in adminhtml pages, a new configuration option should be added rather than force it implicit together with whatever similar option already exists. Note that this bug not only affects template hints, but also any other config. in the attempt to fix it: Even if the table store have those records:
the following code when executed in frontend AND in adminhtml pages: $storeManager = $this->objectManager->get('Magento\Store\Model\StoreManager');
die($storeManager->getStore()->getCode().':'.$storeManager->getStore()->getId()); always return but i can't find why it doesn't return |
Just recently encountered this issue. I enabled Template Path Hints for a specific website and hints were displaying in the admin. I definitely appreciate the ability to enable Template Path Hints in the admin, but there should be an explicit way to do that, rather than admin hints being enabled any time hints on the frontend are enabled. |
Thank you all for your input. I will update you once we fix the issue |
MAGETWO-42869 |
This should be fixed now and soon be available on github. |
[MPI] Card is not saved after checkout with Braintree Credit Card using Vault
…ing Method #647 - Merge Pull Request magento/graphql-ce#647 from magento/graphql-ce:646-incorrect-selected-shipping-method - Merged commits: 1. 91d8a92 2. 64e76c4
I've enabled the template path hints for a website but they show up on the admin also.
I don't know if this is a bug or a feature.
I know that a lot of developers asked for template path hints in the admin on magento 1.x but my money is on a bug. If this is a feature I'm almost sure that this is not the way it should work.
Pre conditions:
Steps to reproduce
Main website
(TheDebug
fieldset did not appear in theDefault config
scope)Debug
fieldset changed the values forTemplate Path Hints
andAdd Block Names to Hints
toYes
.Expected Result
In the frontend I should see the template path hints for all the blocks and template in any page.
Actual result
Beside the expected result I also see in the backend the template path hints.
Additional info
All caches are off.
I ran this query on the database
select * from core_config_data where path = 'dev/debug/template_hints'
.I got only one result:
Changing the
Template Path Hints
back toNo
made the template hints disappear from the backend also.I really hope this is a bug related to template path hints and not with the config loader.
The text was updated successfully, but these errors were encountered: