Ask a Question related to Dreamweaver AppDev, Design and Development.
-
jip #1
Tweaking 'Create a New Php Script' file
File > New > Create New PHP Script generates the same basic code everytime. How
can I add a new line of code to that file so that everytime I create a new php
doc, this new line appears? Any help is appreciated!
jip Guest
-
PDF::Create (or alike) to create watermark for existing pdf file?
Dear perl-ists: I tried out PDF::Create 0.01 (from cpan), and it is great. kudos, fabian. creates wonderful, clean, small valid pdf output. my... -
query tweaking
Getting an error - Mike havent put in the extra column yet - just test running at the moment. Sql at the bottom. Language: Table... -
tweaking cf validation
i want to edit the js validation for html cfforms. can anyone tell me where the file that contains the js is located? i need to comment out the... -
Tweaking cfchart
I am trying to construct a scatter chart where points are displayed from 0.85 to 1.15, I also would like to control the distance between the points... -
sco 505 - create windoze exe file that will create a unix disk
Hi, I wonder if this is possible, I want to put some files on a floppy disk from my SCO unix box, then I want that disk to be converted to a file... -
Joe Makowiec #2
Re: Tweaking 'Create a New Php Script' file
On 22 Apr 2005 in macromedia.dreamweaver.appdev, jip wrote:
In a standard install on Windows, the default document files are> File > New > Create New PHP Script generates the same basic code
> everytime. How can I add a new line of code to that file so that
> everytime I create a new php doc, this new line appears?
located in:
C:\Program Files\Macromedia\Dreamweaver MX\Configuration\DocumentTypes\NewDocuments
This is a MX install; I assume MX04 and DW/Macs would be similar. The
file you want to edit is 'default.php'.
--
Joe Makowiec
[url]http://makowiec.net/[/url]
Email: [url]http://makowiec.net/email.php[/url]
Joe Makowiec Guest
-
danilocelic *TMM* #3
Re: Tweaking 'Create a New Php Script' file
jip wrote:
You may also want to check out this extension as it'll allow you to> File > New > Create New PHP Script generates the same basic code everytime. How
> can I add a new line of code to that file so that everytime I create a new php
> doc, this new line appears? Any help is appreciated!
quickly open any of the built in default documents for editing:
[url]http://www.communitymx.com/abstract.cfm?cid=01E77[/url]
--
Danilo Celic
| Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
danilocelic *TMM* Guest
-
jip #4
Re: Tweaking 'Create a New Php Script' file
Thanks for the reply. Am I missing something or is there no link to download the extension for 'Edit Document Templates'??
jip Guest
-
danilocelic *TMM* #5
Re: Tweaking 'Create a New Php Script' file
jip wrote:
Did you click through the "More..." link?> Thanks for the reply. Am I missing something or is there no link to download the extension for 'Edit Document Templates'??
That should take you to this page:
[url]http://www.communitymx.com/content/article.cfm?cid=01E77[/url]
and the download link is at the bottom of the page.
--
Danilo Celic
| Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
danilocelic *TMM* Guest
-
jip #6
Re: Tweaking 'Create a New Php Script' file
Thanks for the feedback Joe. That was an easy fix.
Do you know if its possible to add new documents in this folder and have them recognized by DW 04 for creating new docs?
jip Guest
-
Joe Makowiec #7
Re: Tweaking 'Create a New Php Script' file
On 22 Apr 2005 in macromedia.dreamweaver.appdev, jip wrote:
I honestly don't. DW's set of documents is far richer than I'll ever> Thanks for the feedback Joe. That was an easy fix.
>
> Do you know if its possible to add new documents in this folder and
> have them recognized by DW 04 for creating new docs?
need, so I haven't seen the need to do it. You might look through the
docs at this page:
[url]http://www.macromedia.com/support/dreamweaver/extend.html[/url]
At an offhand guess, it shouldn't be harder than creating the doc plus
the support files you want and adding it; existing files should make a
fine model. However, I'm unsure of the method of making DW recognize the
addition.
--
Joe Makowiec
[url]http://makowiec.net/[/url]
Email: [url]http://makowiec.net/email.php[/url]
Joe Makowiec Guest
-
jip #8
Re: Tweaking 'Create a New Php Script' file
Oops, that was somewhat obvious! Too much coffee and moving way too fast. Thanks!
jip Guest



Reply With Quote

