FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to change or add a "new project" php application template?

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
osb



Joined: 22 Sep 2009
Posts: 5

PostPosted: Tue Sep 22, 2009 10:53 am    Post subject: How to change or add a "new project" php application template? Reply with quote

Hi.
I know how to change template for "new file" menu, but there is no action on "new project" menu.
Back to top
View user's profile Send private message
Filip Zamboj
Posted via mailing list.





PostPosted: Tue Sep 22, 2009 1:46 pm    Post subject: How to change or add a "new project" php application template? Reply with quote

Hi,

I don't really understand your question. Do you want to change the
initial settings for new project (after you press finish)? What do you
mean by changing New File Menu? Did you change the file template or wizard?

Thanks.

-------------
Filip Zamboj
Sun Microsystems

[1] http://www.netbeans.org/community/issues.html
[2] http://qa.netbeans.org
[3] http://wiki.netbeans.org/HowToConfigureXDebug



osb wrote:
Quote:
Hi.

I know how to change template for "new file" menu, but there is no action on "new project" menu.










Back to top
osb



Joined: 22 Sep 2009
Posts: 5

PostPosted: Wed Sep 23, 2009 10:40 am    Post subject: How to change or add a "new project" php application template? Reply with quote

Sorry, I meaned default "new project" wizard template. When I press "new file", I can choose among templates, including my templates, but when I press a "new project", there is only "php application" and "php application with sources" choices available but in both of choices is "xhtml transitional" default. I want "xhtml strict" for my applications. What do I do?
Thank you!


Last edited by osb on Tue Sep 29, 2009 8:44 am; edited 1 time in total
Back to top
View user's profile Send private message
Petr Pisl
Posted via mailing list.





PostPosted: Wed Sep 23, 2009 1:23 pm    Post subject: How to change or add a "new project" php application template? Reply with quote

Hi,

probably this can help you:
http://blogs.sun.com/netbeansphp/entry/how_to_manage_templates_in
http://blogs.sun.com/netbeansphp/entry/how_to_manage_templates_in1

Petr
Quote:
Sorry, I meaned default "new project" wizard template. When I press "new file", I can choose among templates, including my templates, but when I press a "new project", there is only "php application" and "php application with sources" choices available but in both of choices is "xhtml transitional" default. I want "xhtml strict" for my applications. What do I do?

Thank you!










Back to top
osb



Joined: 22 Sep 2009
Posts: 5

PostPosted: Thu Sep 24, 2009 10:40 am    Post subject: How to change or add a "new project" php application template? Reply with quote

Thank's for attention. I tried this, but it works only when I create a new file, but It won't work when I start "new project". Maybe I do something wrong, but I can't see my templates in "new project wizard". Is there some difference between "new file wizard" and "new project wizard"?

Last edited by osb on Tue Sep 29, 2009 8:44 am; edited 1 time in total
Back to top
View user's profile Send private message
Petr Pisl
Posted via mailing list.





PostPosted: Thu Sep 24, 2009 12:08 pm    Post subject: How to change or add a "new project" php application template? Reply with quote

I think, you can not influence the new project wizard. You only can
influence the template of the file, which is created by the new wizard.
Just overwrite the default one. I hope:)

Petr
Quote:
Thank's for attention. I tried this, but it works only when I create a new file, but It won't work when I start "new project". Maybe I do something wrong, but I can't see my templates in "new project wizard". Is there some difference between "new file wizard" and "new project wizard"?










Back to top
osb



Joined: 22 Sep 2009
Posts: 5

PostPosted: Sun Sep 27, 2009 6:54 am    Post subject: How to change or add a "new project" php application template? Reply with quote

And where is that template file? :[

Last edited by osb on Tue Sep 29, 2009 8:45 am; edited 1 time in total
Back to top
View user's profile Send private message
osb



Joined: 22 Sep 2009
Posts: 5

PostPosted: Mon Sep 28, 2009 3:00 pm    Post subject: How to change or add a "new project" php application template? Reply with quote

Probably I found solution, but anyway it has some disadvantages.

http://platform.netbeans.org/tutorials/60/nbm-projectsamples.html
http://blogs.sun.com/seapegasus/entry/tip_create_your_own_project

The project template, created myself, have only 2 steps in "new project wizard" ("1.Choose project" "2. Name and location" and have not "3. Run configuration" step) , and after it loads, it need to set up manually.

Maybe I need some Java programming skills when developing my own template.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB