how to edit the default html template |
|
Hi,
wen you select new file / html, it shows a default template. How can you edit this template? Thanks in advance |
||||||||||||
|
|
Hi, folks.
Today I came up with the same question, but Ian.H's advice didn't do the trick: I changed the template for new PHP files to read
but PhpED still creates new PHP files with the old
Even restarting the IDE didn't change that. Any ideas? Thanks in advance, Estigy P.S.: I use Version 7.0 |
||||||||||||||||
|
|
Hi Estigy..
I think it changed in version 6.something. Installing PhpED now copies the contents of the $INSTALL_DIR/templates directory to your %APPDATA%\NuSphere\PhpED\templates dir.. and it's this dir that the files are actually read from. I tend to keep the 2 sync'd.. but edit the files as I explained in my post above, then copy the contents of the $INSTALL_DIR/templates to %APPDATA%\NuSphere\PhpED\templates. No need to close / restart the IDE still either. HTH Cheers.. Ian |
||||||||||||
|
|
Hi, Ian.H
Thanks for your quick answer. That did it! Thanks, Estigy. |
||||||||||||
|
Site Admin
|
a side note: internally php runs slightly different if you don't have closing tag in your php files. As a result you may have missed lines in profiler results.
Try for example <?php phpinfo(); and compare with: <?php phpinfo(); ?> (expected result: with 1st example, last executed line won't appear in the results) |
||||||||||||
_________________ The PHP IDE team |
how to edit the default html template |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by