Zen Cart Logo
Forums / Code Collaboration / Developers Tool Kit file location becomes clickable link to open in text editor

Developers Tool Kit file location becomes clickable link to open in text editor

Views: 4,236

Results 1 to 5 of 5
4 May 2018, 8:19 PM
#1
wolfderby avatar

wolfderby

Zen Follower

Join Date:
Dec 2008
Location:
Pittsburgh, PA
Posts:
241
Plugin Contributions:
0

Developers Tool Kit file location becomes clickable link to open in text editor

Has anyone ever done this mod to their Developer's Tool-kit?

For example if you use Windows 7 and notepad ++ it looks like something along these lines might work?

https://superuser.com/questions/585758/can-notepad-be-made-to-open-file-links-in-itself

9 May 2018, 11:47 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Developers Tool Kit file location becomes clickable link to open in text editor

I'm not sure I understand your question.

The Developers Toolkit page in your website is vastly different than a local application like Notepad++

What's the business/technical problem you're trying to solve here?

9 May 2018, 1:42 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Developers Tool Kit file location becomes clickable link to open in text editor

You could do something like that if you are working on your site locally using WAMP but it wouldn't work on your live site.

9 May 2018, 3:35 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Developers Tool Kit file location becomes clickable link to open in text editor

Basically as I saw the issue, DrByte, was that it is desired to offer a link in the Developer's ToolKit when the results are provided. The link would locally open software "known" to be on the computer. The link would direct opening the destination file(s) preferably to the point at which the result was found. At a minimum to open just the file that has/had the result in it.

Seemed to me possible to program into the Developer's ToolKit as an additional link containing the application "call-out" as part of the displayed results. As eluded by swguy, perhaps this application can manipulate remote side software; however, there is always the issue/concern of directly modifying a live site instead of a development site. Successful changes made to the development site to then be merged into the live site. The live site therefore would have little to no need to incorporate this functionality. Additionally, such feature may not work from another computer if the software (Notepad ++ or whatever tool is to be used) does not exist on the computer accessing the admin's Developer ToolKit.

9 May 2018, 11:02 PM
#5
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Developers Tool Kit file location becomes clickable link to open in text editor

Well, sometimes you might want to have a dev site on the remote server so you are working on the server and all of it's configurations that your changes will eventually be pushed to on the live site. I have found XAMPP to have some limitations (or more likely my knowledge of configuring the local server has many limitations!!).

I think it would be a lot more useful to have an editor in the admin, sort of like how the cPanel file manager has a code editor. I think maybe Wordpress also has this feature but it's been a long time since I looked at Wordpress so maybe I'm wrong. Being able to edit files directly within the admin would be a very handy feature to have. I understand there would be security risks.