Jump to content


Photo

Dreamweaver Newbie Needs Help!


  • Please log in to reply
8 replies to this topic

#1 EdgeWalker

EdgeWalker
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 04 January 2006 - 12:05 AM

I have been using PHP and MySQL for some time now, hand-coding everything in plain text editors. My new boss is insisting that I learn Dreamweaver MX (because that is what he has), so I sat down with it today. I can NOT get it to work with my PHP files though. I can open, create, and edit any kind of file, but when I open or create a PHP file I can't do anything other than enter plain text. All of the tools go dim, and I am unable to take advantage of any of the supposedly useful features of Dreamweaver. Basically I am stuck with a very hoggish text editor when looking at php files.

Any advice? What might I be doing wrong here?

#2 Drumminxx

Drumminxx
  • Members
  • PipPipPip
  • Advanced Member
  • 92 posts
  • LocationUSA

Posted 04 January 2006 - 12:34 AM

I have been using dreamweaver for quite sometime and have just recently upgraded to dreamweaver 8 and like your boss, I wouldn't code php with anything else. Color coding makes life easier

I have never experienced the problems your having though, for starters, I would just try a uninstall and reinstall and see if that helps
:: gucci.com ::
:: blockbuster.com ::

--------------------

#3 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 04 January 2006 - 02:30 AM

DMX doesn't have very much ability when it comes to PHP. Dreamweaver considers PHP files to be HTML files with PHP code inside, not echo commands. Therefore, your all-code pages won't work there. Sorry.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#4 EdgeWalker

EdgeWalker
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 04 January 2006 - 10:38 PM

[!--quoteo(post=332992:date=Jan 3 2006, 06:30 PM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ Jan 3 2006, 06:30 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
DMX doesn't have very much ability when it comes to PHP. Dreamweaver considers PHP files to be HTML files with PHP code inside, not echo commands. Therefore, your all-code pages won't work there. Sorry.
[/quote]

Yes, the files I have been using so far have been pure PHP, no HTML in them at all, save for inside some echo commands. So how do I work around this?

So are you saying that to use DMX with PHP, I should just create my HTML files and put PHP in them, save them with a php extension, but let DMX create them "as" html?

(And on a side note, notepad++ is quite sufficient for making coding easier as far as visually enhancing the code for understandability. If that's the only reason for using Dreamweaver, it's not worth it. If I can't take advantage of any of the WYSIWYG features for layout, or the organizational features for large site management, I might as well continue to hand-code in notepad++., or use zend or something cheaper or open-source)

#5 chris9902

chris9902
  • Members
  • PipPip
  • Member
  • 14 posts
  • LocationUK

Posted 05 January 2006 - 10:07 AM

You have to tell dreamweaver the type of file it is.

go to new then you should see a window with things like templates etc. choose PHP and then start working with it.

That is what happens with DW8 anyway. It's kinda silly really.

#6 degsy

degsy
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 05 January 2006 - 01:50 PM

Have you created a site?
Have you created a testing server for PHP?

You can do both from Site>manage Sites on the menu bar

#7 jeremywesselman

jeremywesselman
  • Members
  • PipPipPip
  • Advanced Member
  • 154 posts
  • LocationIndependence, KY

Posted 21 January 2006 - 07:55 AM

What "mode" are you typing the code in?

There is a "Code", "Both" OR "Design".

Just checking all of the facts...

FYI: You'll want to be in "Code" Mode if you don't already know.

[!--coloro:#990000--][span style=\"color:#990000\"][!--/coloro--]Jeremy[!--colorc--][/span][!--/colorc--]

#8 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 21 January 2006 - 01:22 PM

There's no "Both" mode, just a "Split" mode that opens a separate code menu at the top.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#9 trav

trav
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 24 January 2006 - 11:34 PM

This is kind of a stupid question, but i have been useing dreamweaver for several years now, but i mainly use it for creating the html the way i want and then put in the php or echo the stuff i need to make it dynamic, recently a friend of mine said that dreamweaver can manage variables and other dynamic features of php and mysql,

is it worth it to try to use these features or are do they overly complicate things.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users