Forums

This topic is locked

Greetings! New User Looking For Advice!

Posted 25 Jan 2007 11:02:31
1
has voted
25 Jan 2007 11:02:31 Andy Earnshaw posted:
Hello everyone!,

Have been snooping around a few Dreamweaver forums and this seems a the place where all the knowedgaebale guys hang out!

Nearly 12 months ago by dad bough a new business and I said I would design a websote for him, so I purchased Dreamweaver 8 and go started. after a couple of weeks I came up with this:

www.yorkshirerose.net

Not finished by any means I ran out of time and patience and due to work commitments I never kept the momentum going!

Last week I broke my 5th metatarsal ( bone in my foot) playing football so now have 6 weeks off work!!

This is now an ideal opportunity to revisit Dreamweaver and create a work of art for my father. Hopefully I can learn from you guys and then contribute back to other newbies as they come to the site!

Anyway, my first problem, and one that eventually made stopped me developing the site any further, was a problem with templates. I basically designed front page with three areas ( top Banner, left & right menus) with the central area left clear. I then set this as a template with the central area to modify, but If I modified the template it would not update all the pages that I had based it on.

This meant that I was having to manually recreate the every page link to the temaplate again, which as you can appreciate, is not the way to do it!!

Can you guys a take a look at the code and tell me where im going wrong?

My next mission is to understand the database drivedn element so that I can quickly and easily update the site with new products....

Hello once again, im sure I'll enjoy my time here!



Just read your 'Before you ask for Help' post. I using Dreamweaver 8, So far only language Im using is HTML, with some basic Java menu modules from Dreamweaver. I think you can visuit my pages and just ' view source' but if required ill cut and paste the code here

Edited by - Gernster on 25 Jan 2007 11:06:26

Edited by - Gernster on 25 Jan 2007 11:07:19

Replies

Replied 25 Jan 2007 11:12:08
25 Jan 2007 11:12:08 Andy Earnshaw replied:
Actually, heres a copy of my 'main.dwt':

<meta name="keywords" content="yorkshire, rose, yorkshire rose, flowers, florists, floristry, flowers, huddersfield, HD1, kirklees, calderdale, teleflorist, wedding flowers, funeral flowers, overseas weddings, valentines day flowers , mothers day flowers, married abroad, " />
<meta name="description" content="Yorkshire Rose Florists Of Huddersfield West Yorkshire. Contemporary florists with traditional values. Bespoke floral solutions for all occasions with local delivery to Kirklees & Calderdale and national / international deliveries through the Teleflorist network. " />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<link href="/yorkshirerose/yrose.css" rel="stylesheet" title="central stylesheet" type="text/css" />
<script type="text/JavaScript">
function mmLoadMenus() {
if (window.mm_menu_0301223630_0) return;
window.mm_menu_0301223630_0 = new Menu("root",126,17,"Century Gothic",11,"#999999","#FFFFFF","#FFFFFF","#999999","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
mm_menu_0301223630_0.addMenuItem("hand-tied","location='/yorkshirerose/handtied.html'";
mm_menu_0301223630_0.addMenuItem("bouquets","location='/yorkshirerose/bouquets.html'";
mm_menu_0301223630_0.addMenuItem("posies & baskets","location='/yorkshirerose/posiesbaskets.html'";
mm_menu_0301223630_0.addMenuItem("new baby","location='/yorkshirerose/newbaby.html'";
mm_menu_0301223630_0.addMenuItem("mothers day","location='/yorkshirerose/mothersday.html'";
mm_menu_0301223630_0.addMenuItem("birthdays","location='/yorkshirerose/birthdays.html'";
mm_menu_0301223630_0.addMenuItem("uk weddings","location='/yorkshirerose/ukweddings.html'";
mm_menu_0301223630_0.addMenuItem("o/seas weddings","location='/yorkshirerose/oseasweddings.html'";
mm_menu_0301223630_0.addMenuItem("funerals","location='/yorkshirerose/funeral.html'";
mm_menu_0301223630_0.fontWeight="bold";
mm_menu_0301223630_0.hideOnMouseOut=true;
mm_menu_0301223630_0.bgColor='#FFFFFF';
mm_menu_0301223630_0.menuBorder=1;
mm_menu_0301223630_0.menuLiteBgColor='#FFFFFF';
mm_menu_0301223630_0.menuBorderBgColor='#333333';
window.mm_menu_0313221653_0 = new Menu("root",86,17,"Century Gothic",11,"#999999","#FFFFFF","#FFFFFF","#999999","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
mm_menu_0313221653_0.addMenuItem("glassware","location='/yorkshirerose/glassware.html'";
mm_menu_0313221653_0.addMenuItem("teddies","location='/yorkshirerose/teddies.html'";
mm_menu_0313221653_0.addMenuItem("chocolates","location='/yorkshirerose/chocs.html'";
mm_menu_0313221653_0.fontWeight="bold";
mm_menu_0313221653_0.hideOnMouseOut=true;
mm_menu_0313221653_0.bgColor='#FFFFFF';
mm_menu_0313221653_0.menuBorder=1;
mm_menu_0313221653_0.menuLiteBgColor='#FFFFFF';
mm_menu_0313221653_0.menuBorderBgColor='#333333';
window.mm_menu_0313221824_0 = new Menu("root",144,17,"Century Gothic",11,"#999999","#FFFFFF","#FFFFFF","#999999","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
mm_menu_0313221824_0.addMenuItem("local","location='/yorkshirerose/localdel.html'";
mm_menu_0313221824_0.addMenuItem("national/international","location='/yorkshirerose/natdel.html'";
mm_menu_0313221824_0.fontWeight="bold";
mm_menu_0313221824_0.hideOnMouseOut=true;
mm_menu_0313221824_0.bgColor='#FFFFFF';
mm_menu_0313221824_0.menuBorder=1;
mm_menu_0313221824_0.menuLiteBgColor='#FFFFFF';
mm_menu_0313221824_0.menuBorderBgColor='#333333';

mm_menu_0313221824_0.writeMenus();
} // mmLoadMenus()

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#"!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?")>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript" src="../menus/mm_menu.js"></script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link href="../yrose.css" rel="stylesheet" type="text/css" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Yorkshire Rose Florists - Home</title>
<!-- TemplateEndEditable -->
</head>

<body onLoad="MM_preloadImages('../images/locon.gif','../menus/homeon.gif','../menus/flowerson.gif','../menus/giftson.gif','../menus/deliveryon.gif','../menus/contactuson.gif','../menus/aboutuson.gif')">
<script language="JavaScript1.2">mmLoadMenus();</script>
<table width="890" border="0" align="center">
<tr>
<th height="131" scope="col"><img src="../images/yrwebbanner.gif" alt="yorkshire rose" width="700" height="150" longdesc="images/yrwebbanner.gif" /></th>
</tr>
</table>
<table width="890" border="0" align="center" bgcolor="#CCCCCC">
<tr>
<th bgcolor="#FFFFFF" scope="col"><table width="786" border="0" align="center">
<tr>
<th bgcolor="#FFFFFF" scope="col"><a href="../index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','../menus/homeon.gif',1)"><img src="../menus/home.gif" alt="home" name="home" width="100" height="25" border="0" id="home" /></a></th>
<th scope="col"><a href="../aboutus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('about us','','../menus/aboutuson.gif',1)"><img src="../menus/aboutus.gif" alt="about us" name="about us" width="100" height="25" border="0" id="about us" /></a></th>
<th scope="col"><a href="../location.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('flowers1','','../menus/locon.gif',1)"><img src="../menus/loc.gif" alt="flowers" name="flowers1" width="100" height="25" border="0" id="flowers1" /></a><a href="../location.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('location','','../images/locon.gif',1)"></a></th>
<th scope="col"><a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('flowers','','../menus/flowerson.gif',1)"><img src="../menus/flowers.gif" alt="flowers" name="flowers" width="100" height="25" border="0" id="flowers" onMouseOver="MM_showMenu(window.mm_menu_0301223630_0,0,30,null,'flowers')" onMouseOut="MM_startTimeout();" /></a></th>
<th scope="col"><a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('gifts','','../menus/giftson.gif',1)"><img src="../menus/gifts.gif" alt="gifts" name="gifts" width="100" height="25" border="0" id="gifts" onMouseOver="MM_showMenu(window.mm_menu_0313221653_0,0,30,null,'gifts')" onMouseOut="MM_startTimeout();" /></a></th>
<th scope="col"><a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('delivery','','../menus/deliveryon.gif',1)"><img src="../menus/delivery.gif" alt="delivery" name="delivery" width="100" height="25" border="0" id="delivery" onMouseOver="MM_showMenu(window.mm_menu_0313221824_0,0,30,null,'delivery')" onMouseOut="MM_startTimeout();" /></a></th>
<th scope="col"><a href="../contactus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact us','','../menus/contactuson.gif',1)"><img src="../menus/contactus.gif" alt="contact us" name="contact us" width="100" height="25" border="0" id="contact us" /></a></th>
</tr>
</table></th>
</tr>
</table>
<p> </p>
<table width="890" border="0.5" align="center" bgcolor="#CCCCCC">
<tr bgcolor="#FFFFFF">
<th width="145" height="600" align="center" valign="top" class="pageName" scope="col"><table width="145" border="0">
<tr>
<td bgcolor="#FFFFFF" class="bodyText" scope="col"><div align="center" class="subHeader">flowers</div></td>
</tr>
<tr>
<td height="30
" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../handtied.html" title="hand-tied" target="_parent" class="bodyText">hand-tied</a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../bouquets.html" title="bouquets" target="_parent" class="bodyText">bouquets</a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../posiesbaskets.html" title="posies & baskets" target="_parent" class="bodyText">posies & baskets</a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../newbaby.html" title="new baby" target="_parent" class="bodyText">new baby </a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../mothersday.html" title="mothers day" target="_parent" class="bodyText">mothers day </a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC"><div align="center"><a href="../valentinesday.html" title="mothers day" target="_parent" class="bodyText">valentines day </a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC"><div align="center" class="bodyText">
<div align="center"><a href="../birthdays.html" title="birthdays" target="_parent" class="bodyText">birthdays</a></div>
</div></td>
</tr>
<tr>
<td height="30
" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../ukweddings.html" title="uk weddings" target="_parent" class="bodyText">uk weddings </a></div></td>
</tr>
<tr>
<td height="30
" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../oseasweddings.html" title="hand-tied" target="_parent" class="bodyText">o/seas weddings </a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC"><div align="center" class="bodyText">
<div align="center"><a href="../sympathy.html" title="sympathy" target="_parent" class="bodyText">sympathy</a></div>
</div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC"><div align="center" class="bodyText">
<div align="center"><a href="../funeral.html" title="funeral" target="_parent" class="bodyText">funeral</a></div>
</div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="pageName"><div align="center" class="bodyText">
<div align="center" class="subHeader">gifts</div>
</div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../glassware.html" title="glassware" target="_parent" class="bodyText">glassware</a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../teddies.html" title="teddies" target="_parent" class="bodyText">teddies</a></div></td>
</tr>
<tr>
<td height="30" bgcolor="#CCCCCC" class="bodyText"><div align="center"><a href="../chocs.html" title="chocolates" target="_parent" class="bodyText">chocolates</a><a href="../chocs.html" target="_parent"></a></div></td>
</tr>
</table>
<p></p>
<p class="bodyText"></p>
<p class="bodyText"></p></th>
<td width="586" valign="top" scope="col"><div align="center"><!-- TemplateBeginEditable name="main content" --><!-- TemplateEndEditable --></div>
</td>
<td width="145" valign="top" scope="col"><table width="145" border="0">
<tr>
<td height="260" valign="top" class="bodyText" scope="col"><div align="center" class="bodyText">
<div align="center" class="subHeader">Summer Weddings <br />
</div>
</div>
<p><img src="../images/weddingmain.jpg" alt="mothers day" width="143" height="223" border="0" usemap="#mothers_day" /></p>
<p align="center" class="smallText">make you special day complete with bespoke floral designs from yorkshire rose </p></td>
</tr>
</table>
<table width="145" height="109" border="0" align="center">

<tr>
<td align="center" valign="top" class="subHeader" scope="col"><p>new site goes live! </p> </td>
</tr>
<tr>
<td align="center" valign="top" class="pageName" scope="col"><p class="smallText">New site -with better content which will be added to on a weekly basis. The main aim of this site will be to build up a photographic portfolio of yorkshire rose' floral designs - from the occasional arrangement to bespoke weddings and funeral commissions. </p>
<p align="center" class="smallText">Please feel free to contact Mark or Val by either phone or e-mail to discuss your individual requirements, or why not pop into the shop? they will always be happy to see you! </p></td>
</tr>
</table>
<p></p></td>
</tr>
<tr bgcolor="#FFFFFF">
<th height="53" colspan="3" valign="top" class="pageName" scope="col"><table width="896" border="0">
<tr>
<td width="325" bgcolor="#FFFFFF" class="bodyText" scope="col"><div align="left"><a href="t.extreme-dm.com/?login=gernster"
target="_top"><img src="t1.extreme-dm.com/i.gif"
name="EXim" border="0" height="38" width="41"
alt="eXTReMe Tracker"></img></a>
<script type="text/javascript" language="javascript1.2"><!--
EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?
EXb=EXs.colorDepth:EXb=EXs.pixelDepth;//-->
</script>
<script type="text/javascript"><!--
var EXlogin='gernster' // Login
var EXvsrv='s9' // VServer
navigator.javaEnabled()==1?EXjv="y":EXjv="n";
EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
EXd.write("<img src=e0.extreme-dm.com",
"/"+EXvsrv+".g?login="+EXlogin+"&",
"jv="+EXjv+"&j=y&srw="+EXw+"&srb="+EXb+"&",
"l="+escape(EXd.referrer)+" height=1 width=1>";//-->
</script>
<noscript>
<img height="1" width="1" alt=""
src="e0.extreme-dm.com/s9.g?login=gernster&j=n&jv=n"/>
</noscript>
<a href="../index.html" title="home" class="bodyText"></a></div></td>
<td width="75" bgcolor="#FFFFFF" class="bodyText" scope="col"><div align="center"><a href="../index.html" title="home" class="bodyText">home</a><a href="../aboutus.html" title="about us" class="bodyText"></a></div></td>
<td width="75" bgcolor="#FFFFFF" class="bodyText" scope="col"><div align="center"><a href="../aboutus.html" title="about us" class="bodyText">about us </a><a href="../contactus.html" title="contact us" class="bodyText"></a></div></td>
<td width="75" bgcolor="#FFFFFF" scope="col"><div align="center"><a href="../contactus.html" title="contact us" class="bodyText">contact us </a></div></td>
<th width="324" bgcolor="#FFFFFF" scope="col"> <div align="right"><a href="validator.w3.org/check?uri=referer"><img
src="www.w3.org/Icons/valid-html401"
alt="Valid HTML 4.01 Frameset" height="31" width="88"></a></div></th>
</tr>
<tr>
<td colspan="5" valign="top" bgcolor="#FFFFFF" class="bodyText"><div align="center">content copyright 2006 yorkshire rose some images used are copyright british teleflower ltd </div></td>
</tr>
<tr>
<td colspan="5" valign="top" bgcolor="#FFFFFF">
<div align="center" class="bodyText">
<div align="center"> site design by <span class="style1"><a href="mailto: " class="bodyText">inertia</a></span></div>
</div></td></tr>
</table></th>
</tr>
</table>
<map name="mothers_day" id="mothers_day">
<area shape="rect" coords="1,0,142,228" href="../ukweddings.html" target="_parent" />
</map>
</body>
</html>

Software: Dreamweaver 8
Language: HTML ( I think!) at the moment
Replied 25 Jan 2007 11:28:06
25 Jan 2007 11:28:06 Andy Earnshaw replied:
Its coming back to me now, I get this error when trying to update:
<img src="www.asdf48.dsl.pipex.com/updateproblem.jpg" border=0>

This repeats for line 2, code for lines 1&2 this page is:

&lt;!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" --&gt;&lt;!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" --&gt;&lt;link href="/yorkshirerose/yrose.css" rel="stylesheet" type="text/css" /&gt;
&lt;meta name="keywords" content="yorkshire, rose, yorkshire rose, flowers, florists, floristry, flowers, huddersfield, HD1, kirklees, calderdale, teleflorist, wedding flowers, funeral flowers, overseas weddings, valentines day flowers , mothers day flowers, married abroad, " /&gt;

Software: Dreamweaver 8
Language: HTML ( I think!) at the moment

Edited by - Gernster on 25 Jan 2007 11:30:51
Replied 25 Jan 2007 12:26:54
25 Jan 2007 12:26:54 Andy Earnshaw replied:
Ok. looks like ive sorted this, there are two intsance begin tags!!

FURTHER EDIT, Dreamweaver is putting in the extra line when I update the page, then the next time I update it gives the error message!


HAHA I HAVE sorted it now. Swapped the w3 stuff to the top of the page and included the title infor in the head tags.

Software: Dreamweaver 8
Language: HTML ( I think!) at the moment

Edited by - Gernster on 25 Jan 2007 12:41:21

Edited by - Gernster on 25 Jan 2007 13:05:21
Replied 26 Jan 2007 19:45:58
26 Jan 2007 19:45:58 Alan C replied:
Site looks good, my only reservation is frames, I've tried to get away from them because opinion is that they make life difficult for the search engines

Reply to this topic