Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Making a layout by hand and making it into a template on Dreamweaver...
Old 10-14-2010, 05:40 PM Making a layout by hand and making it into a template on Dreamweaver...
Average Talker

Posts: 21
Name: Flame
Trades: 0
I'm making a website for my Webdesign teacher (for him to use as his class site... sad I know...) and he praises Dreamweaver, I 'spit upon it' so to say. The nav bar of the site might change every now and then, but it would be on enough pages to be very annoying to change it on each and he suggusted the idea of making a template (with the editable regions and the non editable regions) so when you update the template, it will update all other pages using that template.

Sounds like an easy enough solution for him. But will it work? If so, could I have a few pointers?

(I know its extra code and junk in the page blab blab blab... I hate dreamweaver, but I sadly have to dumb it down for my teacher... He admits i'm better than him )
Flamewhisker is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-14-2010, 07:58 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Server-side includes would be the best way to go, provided the hosting he has supports it, most do. It would be a lot easier even than a DW template.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-14-2010, 08:07 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
Average Talker

Posts: 21
Name: Flame
Trades: 0
Well its just uploaded to the school's server, all he has access to, i believe, is just uploading files.

In theory, would the template in DW work though?
Flamewhisker is offline
Reply With Quote
View Public Profile
 
Old 10-14-2010, 08:12 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Is the school server running Linux or IIS? Both will do includes.
Otherwise, the template will work.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-14-2010, 08:15 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
Average Talker

Posts: 21
Name: Flame
Trades: 0
Those details, i do not know... so template is the way I will have to go then, thanks.

(but MAN do I hate DW lol)
Flamewhisker is offline
Reply With Quote
View Public Profile
 
Old 10-15-2010, 04:53 AM Re: Making a layout by hand and making it into a template on Dreamweaver...
stevecane's Avatar
Skilled Talker

Posts: 64
Name: Steve Q
Location: Newcastle UK
Trades: 0
Why hate DW? It's much better than before and even writes cleanish code now.... hand coding takes forever . . .

S
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
stevecane is offline
Reply With Quote
View Public Profile Visit stevecane's homepage!
 
Old 10-15-2010, 10:00 AM Re: Making a layout by hand and making it into a template on Dreamweaver...
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
DW, left on it's own, still creates massively HORRIBLE code. It's a poor tool for someone who's just learning - it teaches you NOTHING. It's a good tool - once you already know how to code PROPERLY.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-15-2010, 11:09 AM Re: Making a layout by hand and making it into a template on Dreamweaver...
edgray's Avatar
Super Moderator

Latest Blog Post:
Frantic
Posts: 4,264
Name: Sugarcane Gray
Location: Hell, Southern Spain
Trades: 0
Quote:
Originally Posted by LadynRed View Post
DW, left on it's own, still creates massively HORRIBLE code. It's a poor tool for someone who's just learning - it teaches you NOTHING. It's a good tool - once you already know how to code PROPERLY.
Amen.

Quote:
Originally Posted by Flamewhisker View Post
I'm making a website for my Webdesign teacher (for him to use as his class site... sad I know...) and he praises Dreamweaver, I 'spit upon it' so to say. The nav bar of the site might change every now and then, but it would be on enough pages to be very annoying to change it on each and he suggusted the idea of making a template (with the editable regions and the non editable regions) so when you update the template, it will update all other pages using that template.

Sounds like an easy enough solution for him. But will it work? If so, could I have a few pointers?

(I know its extra code and junk in the page blab blab blab... I hate dreamweaver, but I sadly have to dumb it down for my teacher... He admits i'm better than him )
As far as I know you could do this in Dreamweaver, it sounds like that idea might work, but still, it's really not the best way to go. Your teacher shouldn't be suggesting things like that.

I normally separate my code out into separate files so it makes it easy to update, so I end up with separate navigation and separate footer. PHP is a breeze for this.

Firstly, your html files need to be named with a .php extension.

Then copy your navigation section into a separate file, name this nav.php for example.

Then simply include the file in your other documents:

PHP Code:
<?php include 'nav.php'?>
This way, if you have a big site, you'll only ever have to upload the nav.php file when you make changes.

Good luck!
__________________

Please login or register to view this content. Registration is FREE
- a project in video and sound.

Please login or register to view this content. Registration is FREE
"Absolute Rubbish, an insult to the blues." - NME.

Please login or register to view this content. Registration is FREE
- Come use our agency :)
edgray is offline
Reply With Quote
View Public Profile Visit edgray's homepage!
 
Old 10-15-2010, 12:08 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
Average Talker

Posts: 25
Name: Bill
Trades: 0
DW is ok , Expression Web may be better for you if you have not tried it yet. Give it a go, some people still use Frontpage so it is a matter of what you feel comfortable with and then learn more
golddawn is offline
Reply With Quote
View Public Profile
 
Old 10-15-2010, 06:39 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
Average Talker

Posts: 21
Name: Flame
Trades: 0
Quote:
Originally Posted by edgray View Post
Amen.



As far as I know you could do this in Dreamweaver, it sounds like that idea might work, but still, it's really not the best way to go. Your teacher shouldn't be suggesting things like that.

I normally separate my code out into separate files so it makes it easy to update, so I end up with separate navigation and separate footer. PHP is a breeze for this.

Firstly, your html files need to be named with a .php extension.

Then copy your navigation section into a separate file, name this nav.php for example.

Then simply include the file in your other documents:

PHP Code:
<?php include 'nav.php'?>
This way, if you have a big site, you'll only ever have to upload the nav.php file when you make changes.

Good luck!
My brother who knows PHP suggusted this idea to me before, and I suggested it to him and he said he didn't want to do it because he is clueless about PHP. His two ideas were to make a DW template, or use a frameset (banner and links on top frame, and body in bottom frame). I'm slightly 'iffy' about that idea because I don't want some random glitch and the site to not be aligned center anymore, or not look like its seamless or something. He makes everyone use IE to test code and view his site in class, so I have to make sure I get all IE kinks out of it. (He thinks IE is the best browser out there *facepalm* I've told him many times its not haha)



BTW, I learnt basic coding before I even understood what dreamweaver was. Towards the end of 5th grade my brother explained to me what it does, I thought it was cool at first so I attempted to do something with the WYSIWYG side of it - failed and hated it. So I stayed away from it and hand coded from there on out. At no point do I ever see myself using DW to create or maintain a site (i'm only having to take it into consideration for my silly teacher)

Last edited by Flamewhisker; 10-15-2010 at 06:42 PM..
Flamewhisker is offline
Reply With Quote
View Public Profile
 
Old 10-16-2010, 09:31 AM Re: Making a layout by hand and making it into a template on Dreamweaver...
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
or use a frameset (banner and links on top frame, and body in bottom frame)
OMG... that's even worse that the DWT idea!
Quote:
He makes everyone use IE to test code
And this guy is a TEACHER??? I'm sorry, but people who teach like this shoudn't be teaching at all..at least not this topic .

He really doesn't need to know PHP if all that's used is the include, sort of a 'set it and forget it' type of thing. When he wants to update the site, he just needs to update the include files. The amount of php to do that is very minimal

DW Templates come with their own set of problems, as I'm sure you're aware. This guy needs to step into the 21st century of coding. I hesitate to ask - but is he still teaching tables for layout???
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-16-2010, 03:57 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
Junior Talker

Posts: 2
Name: Ashley Smith
Trades: 0
Server-side includes would be the best way to go.
Ashley S is offline
Reply With Quote
View Public Profile
 
Old 10-17-2010, 10:16 AM Re: Making a layout by hand and making it into a template on Dreamweaver...
Average Talker

Posts: 21
Name: Flame
Trades: 0
Quote:
Originally Posted by LadynRed View Post
OMG... that's even worse that the DWT idea!

And this guy is a TEACHER??? I'm sorry, but people who teach like this shoudn't be teaching at all..at least not this topic .

He really doesn't need to know PHP if all that's used is the include, sort of a 'set it and forget it' type of thing. When he wants to update the site, he just needs to update the include files. The amount of php to do that is very minimal

DW Templates come with their own set of problems, as I'm sure you're aware. This guy needs to step into the 21st century of coding. I hesitate to ask - but is he still teaching tables for layout???
When I had his class last year, I was hoping for more honestly, but I was always first done, with enough time to do it all over again. I tought him FFS! I remember at the beginning of the semester he mentioned that he just learn't how to change scroll bar colors, first thing I literally said "i learn't that in 6th grade, and it doesn't look good if you do it on a full page!" He ignored the comment haha.

As for teaching "layout" well that is a really 'iffy' subject in that I think he teaches none. Whenever we had a project that there was no step by step instruction, people just put text and aligned pictures next to it, and center aligned heading. When we got into DW, it was about the same, but it got worse because of all the problems DW throws in to people who do not understand the concept of absolute positioning. they would put a "layer" on there and put a picture or something in it, and move that to fit their monitor resolution (which isn't the same as the teachers) so ovoiously messed up.

His best attempt at making a site was frameset with blinding colors o-o


I wish I had the webdesign teacher my brother had when he was at highschool, BUT he got him a job at the place my mom works, better pay haha. He was much better, he tought the advanced stuff. The "advanced webdesign" now is all flash i'm gonna take it, but its stupid - I hate flash websites >.>
Flamewhisker is offline
Reply With Quote
View Public Profile
 
Old 10-17-2010, 02:39 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Ouch.. that guy is doing students a complete dis-service. Flash as 'advanced web design'.. how horrible-- not to mention dumb!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-17-2010, 06:53 PM Re: Making a layout by hand and making it into a template on Dreamweaver...
Average Talker

Posts: 21
Name: Flame
Trades: 0
Yeah tell me about it >_>

ill just have to slowly self-teach myself 'cus school isn't gonna help
Flamewhisker is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Making a layout by hand and making it into a template on Dreamweaver...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41975 seconds with 12 queries