path hints for a unique user

I know that in magento you can turn on path hints to find out which file you want to edit in order to edit the template, however, right now I work with a website that has a lot of users on the website all the time, so wondered if it is possible to turn on the path hints for admin only. Is this doable? Because it is no good to show customers the path hints as well as it is also not secure

Solutions

Fabian has the answer for you - however if this site is as heavily trafficked as you indicated you should not be editing it directly in the first place. Unless you have unknown superpowers, mistakes happen and you are sure you will get every edit correct the first time I would strongly advise to create a development copy of the site and work on that instead. Only once you are happy with the results roll them out to the live site.

The short answer is no, this is not doable, because the admin session is not the same session as the frontend session. Therefore you don't know whether you are logged in as admin or not.

BUT

You have a field in the backend to enter your IP address, then all the developer features are only used, when the IP is correct.

Similar questions

Template Path Hints not accepting my IP address
I am currently having an issue with seeing my template path hints in 1.9.2.3 all of a sudden. If I remove my IP address from the allowed IP's field (leaving it blank), then the template path hints show (not ideal!!). However, if I put in my current IP address, then the template path hints do not show (tried multiple browsers as well to double check...
Template path hints are displayed in order emails
I just found that when we had the template path hints activated, the path hints actually were displayed in the email notifications for orders and shipments that were emailed to customers. Does anyone know how to disable this from appearing in the emails?
How to turn on Template Path Hints in Magento2 Through Code edit
I know that you can turn template path hints on in Magento2 through the Admin Panel at Stores > Configuration > ADVANCED > Developer. Although in Magento 1 I find it much quicker to temporarily edit a single line of code in app/code/core/Mage/Core/Block/Template.php. At line 200 I simply change: to It saves a lot of time than going through the admi...
Template Path Hints not showing on front-end in magento2
In my case, after enable the path Hints, from magento2 back-end section, its not showing. I enabled the settings in. Store > Configuration > Advanced > Debug > Enabled Template Path Hints for Storefront > Yes Can anyone tell me how fix this ?
Template Path Hints not showing on front-end in magento 1.8
I followed the instructions in this answer but no template hints are appearing. I even switched the browser and deactivated caching in Magento. However, nothing appears. I am working for a company which works with an agency, maybe they have removed the code for the template hint generation for whatever reason. Please help me to find out what is goi...
Path hints not displaying in frontend and admin in Magento 2.2.4?
I don't know how to implement this task. In admin page, I have stores->Configuration->Advanced->developer I have to choose to Enabled Template Path Hints for Storefront "yes". I have to choose to Enabled Template Path Hints for Admin "yes". But in Front-end and admin not display path hints.

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.