Archive: path

 

Posts Tagged ‘path’


If you use Netbeans along with Xdebug to facilitate step through debugging when coding PHP then you may come across this issue. It’s possible to get it into a semi working scenario where you can have working breakpoints and see variable values but you have no idea which bit of code you are actually stepped [...]



 

Just stumbled across a simple and incredibly useful Netbeans plugin. http://plugins.netbeans.org/plugin/676/path-tools Path Tools. It’s not listed in the standard list of available plugins, but if you download the nbm file and just drag and drop it into the plugin install dialog window it works easily enough. Once installed you can right click any folder or [...]



 

A while ago we posted a technique for displaying template path hints in admin which involved running a couple of DB queries. That worked, but a nicer method is to create a custom module with some special XML config to get it configurable as standard. PLAIN TEXT CODE: <?xml version="1.0"?> <config>     <sections>   [...]



 

If you want to calculate the actual save path that Magento will use for an image file for example then you might find yourself scouring the source code for the specific method that does this. It's not the easiest to find, in fact its tucked away in the lib folder inside the Varien_File_Uploader class. The [...]



 

Bash scripts are often used to work on files and the current working directory is of paramount importance. However, you may have scripts that are running in a development environment and also a live environment with different folder setups. To help with portability and remove the requirement to hard code paths, you can use this [...]



 

If you use Calibre to manage your ebooks and ereading device, then this might be of interest. Calibre is an excellent open source ebook management system, however some elements of its configuration are a little complex. If you want to save books in a custom folder structure then its easy (and very powerful) with liberal [...]



 

If you love template path hints in Magento for quickly figuring out which template file or block you need to edit or override and have a requirement for some admin side coding, you are going to love this. You might not have thought it was possible to enable template path hints in admin, but it [...]



 

If you work with applications that have a lot of nested directories (ahem Magento) then you might really like this. In one command, you can make an entire path of nested directories with the command mkdirhier. eg PLAIN TEXT CODE: mkdirhier EC/Custom/Model/Blah/Something/Really/Deep You need to have xutils-dev installed PLAIN TEXT CODE: sudo apt-get install xutils-dev [...]