Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
August 5, 2008 - Time to Submit Your Links for the August 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 20, 2008, 05:10:46 PM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: About ready to chunk DW out the window and go back to hand coding  (Read 1232 times)
SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 694



WWW
« on: March 06, 2007, 07:32:37 PM »

Arrgh.  OK, bear me out, I'm mostly just venting.

DW is making me pull my hair out.  I'll be working on a file and suddenly it freaks out that I'm changing part of the file outside the editable regions of the template and asks if I want to remove or keep but that it will be lost.

I say"keep it" and yet it reverts my entire page back to how it was when I opened it!

Arg, and the kicker is, I was nowhere near the edit boundaries!!!

The incident that spurred me to rant is just now I saved and everything was fine, I then immediately tried to "save as" it into a backup (not having so much as touched the keyboard) and it did the freakout.

I've also had a strange, and persistant bug for over a year now, where I'll change a template, it'll update all the files, I go to my browser to check it, go back to DW and there's the Update Files box again.  I've asked Macromedia about it (before the buy-out) and never got a response.

Ah well, it's ability to auto-populate the various HTML tags, CSS values, and most of the PHP code is going to make me keep it around.
Logged

wektech
Jabba the Hutt
*****
Offline Offline

Posts: 686


WWW
« Reply #1 on: March 06, 2007, 07:37:51 PM »

 Bouncin for Joy WOW, its not just me! I thought I was going nuts with editable regions doing this. Anyhow if you save and then close the page, you can usually stop the madness.
Logged

SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 694



WWW
« Reply #2 on: March 06, 2007, 08:05:27 PM »

Yeah, I shut DW down and restarted it after my rant.  The page opened up without the reverting haven taken place.

I didn't know whether to laugh or cry as I had redone that page 3 times due to the bug only to find out that all I had to do was close and reopen it.

Ah well.  Glad it's not just me.  Very Happy
Logged

TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11965



WWW
« Reply #3 on: March 06, 2007, 10:01:23 PM »

Well, you can keep DW and just do hand coding, which is what I mostly do in DW. Smile
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 694



WWW
« Reply #4 on: March 06, 2007, 10:09:05 PM »

Yeah me too.  I rarely go into the design screen.  With more and more of my content being generated by PHP, it either looks empty or exploded.

I think my issue this time was with a messed up way I was handling div tags and DW lost track of what was where.  I rethought my strategy and it seems to be running fine now.  However, I have had that issue crop up on a simple HTML page too.
Logged

johnph77
Space Explorer
***
Offline Offline

Posts: 6


« Reply #5 on: March 10, 2007, 04:29:41 AM »

I use div tags very sparingly and almost always hand-code using a text editor. FWIW, though, Dreamweaver is most effective for me replacing multiple instances of code and/or data in multiple files. I've had thousands of instances of code in hundreds of files that needed replacing and DW does it flawlessly - in one step. It's also the best method of reducing unnecessary white space in files as well. It may be slow to do the replacing, but, IMHO, it's certainly the most reliable tool for doing so.
Logged

Combatting global ignorance one idiot at a time.
Dark Side
Guest
« Reply #6 on: March 10, 2007, 05:04:28 PM »

I'm curious...which version of DW are you using? DW MX or DW 8?
Logged
SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 694



WWW
« Reply #7 on: March 10, 2007, 07:51:45 PM »

I'm using DW8, 8.0.2 to be exact.
Logged

boybawang
Intergalactic Cowboy
*****
Offline Offline

Posts: 53


Whatever and ever...


« Reply #8 on: March 12, 2007, 01:29:17 AM »

I use dreamweaver as a replacement for notepad, meaning just for coding (syntax errors, php syntax, php functions, etc). I don't even know half of what DW could do Very Happy
I've heard of the template thingie though, havent really used it
Logged

Our On-line Pet Community
Need web application solutions? Just send me a message.
Own me!
Dark Side
Guest
« Reply #9 on: March 12, 2007, 07:51:05 AM »

I'm using DW8, 8.0.2 to be exact.

That's what I thought. I tried DW 8 a while back and it drove me nuts with CSS issues and the template problem you spoke of. After a week of trying to work around it, I went back to my old trusty copy of DW MX and haven't looked back yet.
Logged
wektech
Jabba the Hutt
*****
Offline Offline

Posts: 686


WWW
« Reply #10 on: March 12, 2007, 08:07:59 AM »

I use dreamweaver mx and I used to have the template issue quite often. I have removed most of the use of templates. I find that using includes is so much easier in the long run for keeping look and feel consistant. Not having to watch the FTP window chug along forever after a template change was worth the effort to elimenate the templates.
Logged

Drilldown
Galactic Royalty
*****
Offline Offline

Posts: 306


« Reply #11 on: March 12, 2007, 03:06:07 PM »

I haven't tried the template function in DW so I don't know about the issues. I just take a page I already made and "save as" the new title, add new stuff and delete the old. I have noticed on checking design view after making big changes to the code it doesn't always render properly until I close and re-open the file. But I usually don't bother unless the design view is trying to tell me I made a big mistake in the code. Even then I will validate the page and preview in a browser before trying to reset the design view. The design view is only a limited tool that doesn't always tell the truth.
Logged
SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 694



WWW
« Reply #12 on: March 12, 2007, 08:09:54 PM »

The template feature is kinda neat.  It's basically a generic page with no content.  You then tell DW what the editable regions are.

Thus if somebody else creates a page from the template (using DW of course) they can't get to the underlying code so that you can preserve the page format. Not an issue with me. 

What I like about it is that it keep track of the pages created by a template so if you make a change to it, say a different background or add a new link to a nav bar, it cascades down to all the child pages rather than you having to change each and every page.  (Those tow options can be done better by CSS and SSI includes I know, but I hope you get my drift. Smile )
Logged

Drilldown
Galactic Royalty
*****
Offline Offline

Posts: 306


« Reply #13 on: March 12, 2007, 08:26:51 PM »

I don't know if I have the right impression of how DW expects us to use templates, but when I think back to the point when I chose not to bother with the templates it was because I was reasoning that it might not allow me to present the navigation button for the current page in a different color. I used a span to make the current page button stand out, and in my thinking it was very useful. However it has caused an extra step because the navigation was not the same for all pages. For every page the span is on a different button. I don't know if a template could handle that, and I wouldn't want to drop that function.

I think if somebody else were partnering with me on the project it might be very useful to have parts of the page off limits to edit.
Logged
SOU610
Jabba the Hutt
*****
Offline Offline

Posts: 694



WWW
« Reply #14 on: March 12, 2007, 09:56:17 PM »

DW templates don't work that way, or at least the way I use them.

Like you, I have my navigation bar display the current page in a different color.  The nav bar is brought in by a PHP include statement and the color is controlled by CSS and a div tag.

Hmm, here's another thing, DW templates don't affect the base code and don't mean diddly outside DW.  The template code is actually just HTML comments
<!-- template begin editable region "gobbledygook" -->yadda<!-- template end editable -->

Therefore you're not locked into using only DW to edit the files.  Thus you can change the file outside DW if need be, which I've had to do when I'm on the road and something comes up.  I'll use Cpanel's file manager to make the changes.
« Last Edit: March 13, 2007, 05:54:05 AM by SOU610 » Logged

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM