web2010 Posted April 8, 2010 Share Posted April 8, 2010 I wish to alter the header.tpl links I have created however, when I do this the template is knocked out of place. I am using Dreamweaver to do it. Is DW the problem and should I be using something else? I am not changing any of the page layouts. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted April 9, 2010 Share Posted April 9, 2010 I've used DW to make edits on occasion, but mine may be configured differently than yours. I've seen no issues with using it. 0 Quote Link to comment Share on other sites More sharing options...
web2010 Posted April 9, 2010 Author Share Posted April 9, 2010 Just found out it is DW adding in div tags 0 Quote Link to comment Share on other sites More sharing options...
bear Posted April 9, 2010 Share Posted April 9, 2010 If you're using it to align objects, it will insert div tags (configurable), but by itself it will not, at least in my experience. But again, mine may be different from yours in version and configuration. I'm using CS4, and have some specific setting changes from the default. 0 Quote Link to comment Share on other sites More sharing options...
web2010 Posted April 9, 2010 Author Share Posted April 9, 2010 I checked the code and DW has not added any DIV tags so I am at a loss to why this occurs. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted April 10, 2010 Share Posted April 10, 2010 Just found out it is DW adding in div tags I checked the code and DW has not added any DIV tags so I am at a loss to why this occurs. I am now officially confused. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 10, 2010 Share Posted April 10, 2010 Just as a suggestion I wouldn't use anything but a text editor to edit the tpl files. Many programs tend to want to *fix* the code when it actually breaks it. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted April 10, 2010 Share Posted April 10, 2010 Just as a suggestion I wouldn't use anything but a text editor to edit the tpl files. Many programs tend to want to *fix* the code when it actually breaks it. Though usually a better way, even Notepad that's free with Windows has issues in my experience. It has a tendency to introduce Windows line breaks that can adversely affect some scripts. Properly configured, even WYSIWYG editors such as Dreamweaver can be used to edit these, as long as you're using code or split view and edit the raw code directly. Nothing beats a good text editor, however, especially if it has syntax highlighting or even real time syntax checking (Komodo Edit has this). 0 Quote Link to comment Share on other sites More sharing options...
web2010 Posted April 11, 2010 Author Share Posted April 11, 2010 Maybe then I should be considering how my preference are set in DWUltradev4 which was something I had not considered. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 11, 2010 Share Posted April 11, 2010 Though usually a better way, even Notepad that's free with Windows has issues in my experience. It has a tendency to introduce Windows line breaks that can adversely affect some scripts. Properly configured, even WYSIWYG editors such as Dreamweaver can be used to edit these, as long as you're using code or split view and edit the raw code directly. Nothing beats a good text editor, however, especially if it has syntax highlighting or even real time syntax checking (Komodo Edit has this). As a note for desktop linux users... Kate, oofice, Kwrite and Kedit are all capable of editing straight text. For remote editing use vi, joe, nano or pico. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.