DW8 Template
I am a neophyte, self taught DW8 user. Have template for the
87 pages in my site. When I edit template and update my pages, all
of the pages lose their titles.
Thanks!
jeepartsrus
This is the symptom of an improperly made template.
Try this -
1. Create a new page, and use FILE | Save As... > make the
name *.dwt and
save it in the Templates folder.
2. Create a new page, and use FILE | Save As Template... and
let DW decide
where to save it.
Look at the code on the two pages. Can you see the
difference? Always use
the latter method to create your template files. That's how
all well-formed
templates should look.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"baldbobby" <[email protected]> wrote in
message
news:ed16oh$4ql$[email protected]..
>
> I am a neophyte, self taught DW8 user. Have template for
the 87 pages in
> my site. When I edit template and update my pages, all
of the pages lose
> their titles.
> Thanks!
> jeepartsrus
Similar Messages
-
Swapimage in DW8 template (?)
Hi
I've built a website using DW8 templates--no problem. I
decided to try the 'swapimage' behaviour. I added a dozen images,
sized ready to display in a table (uneditable region) updated all
the pages, uploaded all pages onto server and my website
disappears.
Go into my template code, delete the javascipt, update pages,
reload, website re-appears.
Decided to make the table a (editable region) to host the
swapimage behaviour, repeat the process, upload all web pages onto
server and my website disappears. Its almost like a layer is
covering the entire page, all the pages.
Again I go into the code view, delete the javascript, upload
all onto server and website re-appears. Okay I'll download the
Kaosweaver extension 'Dynamic images' and my problems will be
over--same thing--the javascript is causing havoc with my template.
Any help will be greatly appreciated.\
BobHelp would not be possible without seeing your pages. Can you
post a link
to one that works and one that doesn't, please?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"auctioneer" <[email protected]> wrote in
message
news:etq0rt$eur$[email protected]..
> Hi
>
> I've built a website using DW8 templates--no problem. I
decided to try the
> 'swapimage' behaviour. I added a dozen images, sized
ready to display in a
> table (uneditable region) updated all the pages,
uploaded all pages onto
> server
> and my website disappears.
>
> Go into my template code, delete the javascipt, update
pages, reload,
> website
> re-appears.
>
> Decided to make the table a (editable region) to host
the swapimage
> behaviour,
> repeat the process, upload all web pages onto server and
my website
> disappears.
> Its almost like a layer is covering the entire page, all
the pages.
>
> Again I go into the code view, delete the javascript,
upload all onto
> server
> and website re-appears. Okay I'll download the
Kaosweaver extension
> 'Dynamic
> images' and my problems will be over--same thing--the
javascript is
> causing
> havoc with my template.
>
> Any help will be greatly appreciated.\
>
> Bob
> -
DW8 Template/Form problems
Hi
I have a problem I need help with. I've attached the code
from my DW8 template. I insert this small 'html' form and it messes
up my template view. The form is for viewers to subscribe to our
newsletter. Please have a look and try and see where I need to make
my corrections.
ps: when I upload the page/website everything is fine, its
just the view in DW design--it's almost like when I put the form in
the table, the entire table collapses.
please be explicit with directions--I'm not a professional
web designer.
HELP!> www.aahalton.org
the nested tables aren't easy to sight read in a few minutes.
What i think is the problem-
One- should have <form> and </form> around the
JumpMenu select list.
Two- the other form, it is across several table cells.
Instead of the opening form tag being in the first TD with a
form field in
it, the form tag should open before the <table> tag
that contains the form
fields, and close after </table>
In short- the tags are nested wrong.
<table>
<tr>
<td>
<form></td>
<td></form></td>
</tr>
</table>
<form><table>
<tr>
<td></td>
<td></td>
</tr>
</table></form>
<table>
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
SWF's in DW8 templates for IE7
I remember finding the answer to this problem ages ago, but I
can't remember what it was and I desperately need to know.
I am trying to use a flash movie in a template in DW8, but
when the template is applied to the page and previewed in IE7 the
flash movie appears as a white box. If memory serves me right this
problem reared it's ugly head at the same time as the boxes
appeared around flash files and flash buttons had to be clicked
twice to make 'em work. I think Adobe/macromedia did something in
the fix which cured that problem but buggered the flash from
working in the templates. I could be wrong but I vaguely remember
having to turn off one of the new workarounds.
Any help would much appreciated.
Ralph Ferrand
Vision Design
www.vduk.co.ukMake your link to the Flash file a root relative one.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Cevema" <[email protected]> wrote in
message
news:en8mu5$ld5$[email protected]..
>I remember finding the answer to this problem ages ago,
but I can't
>remember
> what it was and I desperately need to know.
>
> I am trying to use a flash movie in a template in DW8,
but when the
> template
> is applied to the page and previewed in IE7 the flash
movie appears as a
> white
> box. If memory serves me right this problem reared it's
ugly head at the
> same
> time as the boxes appeared around flash files and flash
buttons had to be
> clicked twice to make 'em work. I think Adobe/macromedia
did something in
> the
> fix which cured that problem but buggered the flash from
working in the
> templates. I could be wrong but I vaguely remember
having to turn off one
> of
> the new workarounds.
>
> Any help would much appreciated.
>
> Ralph Ferrand
> Vision Design
> www.vduk.co.uk
> -
First of let me state that I don't like nested
templates......... I have been using DW8 to do the template work...
it validates the css and the html in the w3c validator, ( i
also have to make it accessible) , i also validated it in cs 3
which it validates... it looks fine on the web, and in DW8, but not
in cs3.... is there a reason the divs are breaking and going all
over the place? is there any bugginess I need to be aware of? (i
didn't find anything yet)
The reason we use nested templates is there are 8 or more
people working on the web, there web exp. is
greatly varying and I have enough trouble trying to keep up
with them not overwriting work (even with a message pooping up
saying it is checked out..) The problem is most of them don't do
code and they really can't make changes because of the way the divs
are all over the place.... when i detach the template however
everything is perfect... as far as I know it doesn't lose any code
when detached..... If I need to be more specific plz let me
know...Let's see the page.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"jbmarlow" <[email protected]> wrote in
message
news:g279v1$iem$[email protected]..
> First of let me state that I don't like nested
templates......... I have
> been
> using DW8 to do the template work...
> it validates the css and the html in the w3c validator,
( i also have to
> make
> it accessible) , i also validated it in cs 3 which it
validates... it
> looks
> fine on the web, and in DW8, but not in cs3.... is there
a reason the divs
> are
> breaking and going all over the place? is there any
bugginess I need to be
> aware of? (i didn't find anything yet)
>
> The reason we use nested templates is there are 8 or
more people working
> on
> the web, there web exp. is
> greatly varying and I have enough trouble trying to keep
up with them not
> overwriting work (even with a message pooping up saying
it is checked
> out..)
> The problem is most of them don't do code and they
really can't make
> changes
> because of the way the divs are all over the place....
when i detach the
> template however everything is perfect... as far as I
know it doesn't lose
> any
> code when detached..... If I need to be more specific
plz let me know...
> -
DW8 templates won't display in Live View
I have several sites that I've developed around templates
distributed with Dreamweaver 8. When I access these with
Dreamweaver CS4, everything works well in code and design view, but
java script and images don't seem to display correctly in Live
View. Live View seems to work fine with newly created pages in DW
CS4, but my existing sites will not display. Anybody run into this?
DW CS4 on a iMac (2 GHz Intel Core 2 Duo) running under
10.5.5.> I had to do one other thing besides
> setting up a testing server, and that was to set "Links
relative to site root"
> in the "Local info" panel of the site definition dialog.
That will change future links, and template paths updated
later- but it
won't change existing paths.
http://e7x.com/dw/
relativity extension. works in current versions of dw AFAIK.
Note- if you set up a local testing server and use site root
relative paths,
you will need to set up a "virtual host name" in your
server's config file
and possibly the Hosts file of your OS so that you can use a
url of
http://mysite.local
instead of
http://localhost/mysite/
because site root relative won't work when the
site is in a subfolder, the way dw will write them.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Help! Template problem?
Dear Adobe Friends!
Help! I'm having major difficulty updating a client site with Dreamweaver 8. I created the site OK initially some months ago - and any updates to editable regions worked just fine - but then I passed it all onto a PHP developer who added some shopping cart functionality for me. Now, when I re-download the DW template he has worked on along with the associated .php and .html files, my updates/edits cause all manner of ugly problems, including what looks like duplication of the HEAD content and spurious unclosed <a> tags. Both he and I are mystified by this.
The source code of the template and one of the associated files is below, along with a screenshot of the problem. Any brilliant insights you all might into why this is happening most gratefully received!
Kind regards
Mark Birkett - Director, Dalemedia Ltd - Manchester UK - www.dalemedia.com
DW8 template (sitetemplatenew.dwt):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Natural Deodorants | Natural Deodorant Spray | Crystal Deodorant</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<META NAME="keywords" CONTENT="Natural Deodorant, Natural Deodorant Spray, Crystal Deodorant, Herbal Natural Deodorant, Best Natural Deodorant, Natural Deodorant Crystal, Natural Deodorant Spray, Aluminium Free, Anti-perspirant, No Animal testing">
<META NAME="description" CONTENT="Looking for a natural deodorant? Try Dr Frielgood's natural deodorant spray today! Aluminium-free! Tested on humans only! Work with nature, not against it...">
<!-- TemplateEndEditable -->
<!-- MB - The next script makes the clock work -->
<script type="text/javascript">
currenttime = '<? print date("F d, Y H:i:s", time())?>'
var montharray=new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December")
var serverdate=new Date(currenttime)
function padlength(what){
var output=(what.toString().length==1)? "0"+what : what
return output
function displaytime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+pa dlength(serverdate.getSeconds())
document.getElementById("servertime").innerHTML=datestring+" "+timestring
window.onload=function(){
setInterval("displaytime()", 1000)
</script>
<!-- MB - The next scripts contain any (template) in-line styles -->
<link href="../style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(../images/diagonal-stripe-background.jpg);
background-repeat: repeat-x;
-->
</style>
</head>
<body>
<table width="100%" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<table width="985" border="0" align="center" bgcolor="#FFFFFF" class="borderall">
<tr>
<td colspan="3">
<table width="100%" border="0" class="borderbottom">
<tr>
<td width="77%" height="21"><p align="left" class="clocktime"><b>Dr Frielgood says it's: </b><span id="servertime" class="clocktime"></span></p></td>
<td width="23%" align="right" valign="middle"><a href="../careers.php">CAREERS</a> | <a href="../terms-and-conditions.php">OUR TERMS </a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3"><img src="../images/toplogo.jpg" alt="Welcome to Dr Frielgood - Working with nature, not against it" title="Welcome to Dr Frielgood - Working with nature, not against it" width="985" height="150" /></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top">
<table width="100%" border="0" cellpadding="3" class="bordertopbottom">
<tr>
<td align="left" valign="middle">
<a href="../index.php">HOME</a> |
<a href="../our-products.php">WHY USE NATURAL DEODORANTS?</a> |
<a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
<a href="../useful-links.php">LINKS</a> |
<a href="../faqs.php">FAQs</a> |
<a href="../basket.php">EDIT ORDER</a> |
<a href="../checkout.php">GO TO CHECKOUT</a> |
<a href="../contact-us.php">CONTACT US</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="180" align="left" valign="top">
<table width="100%" border="0" class="borderall">
<tr>
<td bgcolor="#660099"><span class="featuretitles">VIEW OUR CATALOGUE</span></td>
</tr>
<tr height="10">
<td></td>
</tr>
<?php
for( $i = 0; $i < $NumMenuCats; $i++ ) {
if( !isset($LeftMenuCats[$i]["LevelOffset"]) ) $LeftMenuCats[$i]["LevelOffset"] = "";
?>
<tr>
<td colspan="2" class="producttext">
<?=$LeftMenuCats[$i]["LevelOffset"];?><img src="../images/square.jpg" alt="Button Icon" width="10" height="10" />
<a href="<?php echo $_SERVER["PHP_SELF"];?>?CurrentCat=<?php echo $LeftMenuCats[$i]["mcmsCategoryID"];?>&ProductID=<?=$ProductID;?>"><?=$LeftMenuCats[$ i]["mcmsTitle"];?></a>
</td>
</tr>
<?php
if( $LeftMenuCats[$i]["mcmsCategoryID"] == $CurrentCat ) {
for( $j = 0; $j < $NumProducts; $j++ ) {
?>
<tr>
<td class="producttext">
<a href="../catalogue-details.php?CurrentCat=<?=$LeftMenuCats[$i]["mcmsCategoryID"];?>&P roductID=<?=$LeftMenuProducts[$j]["mcmsProductID"];?>"><?=$LeftMenuProducts[$j]["mcmsTitle "];?></a>
</td>
</tr>
<?php
if( $NumMenuCats < 1 ) {
?>
<tr>
<td>Products have not yet been added to this category.</td>
</tr>
<?php
?>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td bgcolor="#660099"><span class="featuretitles">OUR CUSTOMERS SAY... </span></td>
</tr>
<tr>
<td>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="180" height="180" title="xfv">
<param name="movie" value="../vertical-scroll.swf" />
<param name="quality" value="high" />
<embed src="../vertical-scroll.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="180" height="180"></embed>
</object>
</td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">LATEST NEWS </span></td>
</tr>
<tr>
<td align="left" valign="top" class="latestnewstext">
<br />
June 2011: <br />
Dr Frielgood website launches! <br /><br />
June 2011: <br />
Dr Frielgood developing new soap product! <br /><br />
</p>
</td>
</tr>
</table>
<br />
</td>
<td width="530" align="left" valign="top">
<!-- TemplateBeginEditable name="CentreContent" -->
<!-- TemplateEndEditable -->
</td>
<td width="275" align="right" valign="top">
<table width="100%" border="0" class="borderall">
<tr>
<td colspan="3" align="left" valign="top" bgcolor="#660099" class="featuretitles">YOUR SHOPPING BASKET </td>
</tr>
<?php
if( $NumBasketItems < 1 ) {
?>
<tr>
<td colspan="3" align="left" valign="top" class="pricingboxtext"><div align="left" class="requiredfieldtext">You have nothing in your shopping basket...</div></td>
</tr>
<?php
?>
<tr>
<td width="54%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Item</td>
<td width="29%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Qty</td>
<td width="17%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Price</td>
</tr>
<tr>
<td align="left" valign="top" class="pricingboxtext"> </td>
<td align="left" valign="top" class="pricingboxtext"> </td>
<td align="left" valign="top" class="pricingboxtext"> </td>
</tr>
<?php
for( $i = 0; $i < $NumBasketItems; $i++ ) {
?>
<tr>
<td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsTitle"];?></td>
<td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsQuantity"];?></td>
<td align="left" valign="top" class="pricingboxtext">£<?=$BasketItemDetails[$i]["LineTotal"];?></td>
</tr>
<?php
} //for( $i = 0; $i < $NumBasketItems; $i++ ) {
?>
<tr>
<td colspan="3" align="left" valign="top" class="pricingboxtext"> </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">POSTAGE </td>
<td align="left" valign="top" class="pricingboxtext"><?=$TotalPostage;?></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">TOTAL </td>
<td align="left" valign="top" class="pricingboxtext"><?=$FinalTotal;?></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"> </td>
<td align="left" valign="top"> </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"><a href="#"><img src="../images/credit-card-logos-small.jpg" alt="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" width="180" height="32" border="0" title="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" /></a></td>
<td align="left" valign="top"><a href="../basket.php"><img src="../images/shopping-cart-icon-medium.png" alt="Your shopping purchases so far..." title="Your shopping purchases so far..." width="40" height="34" border="0" /></a></td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#660099" class="featuretitles">JOIN OUR FREE NEWSLETTER! </td>
</tr>
<?php
if( $ShowNewsThankyou != "yes" ) {
if( strlen($NewsError) > 0 ) {
?>
<tr>
<td colspan="2" align="left" valign="top" class="maintext">
<span class="requiredfieldtext"><?=$NewsError;?></span>
</td>
</tr>
<?php
?>
<form action="<?=$_SERVER["PHP_SELF"];?>" method="post">
<tr>
<td colspan="2" align="left" valign="top" class="maintext">If you would like to receive our quarterly newsletter full of health tips, special offers and industry news, please complete the form below. We'll even enter you into our quarterly prize draw to win a FREE gift! </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" class="requiredfieldtext"> </td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Name </td>
<td align="left" valign="top"><input name="mcmsNewsName" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsName"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsName"]));?>" /></td>
</tr>
<tr>
<td width="45%" align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Email </td>
<td width="55%" align="left" valign="top"><input name="mcmsNewsEmail" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsEmail"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsEmail"]));?>" /></td>
</tr>
<tr>
<td align="center" valign="middle">
<img src="../images/newsletter-icon-2.png" alt="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" width="50" height="48" border="0" title="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" />
</td>
<td align="left" valign="top">
<input type="hidden" name="mcmsAction" value="newsletter" />
<label><input name="Submit" type="submit" class="formbuttons" value="Submit" /></label>
</td>
</tr>
</form>
<?php
else {
?>
<tr>
<td colspan="2" align="left" valign="top" class="maintext">
<span class="requiredfieldtext">Thankyou, your entry has been received!</span>
</td>
</tr>
<?php
?>
<tr>
<td align="center" valign="middle"> </td>
<td align="left" valign="top"> </td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">SEE OUR SOCIAL MEDIA PAGES </span></td>
</tr>
<tr>
<td align="center" valign="top">
<table width="100%" border="0" align="center">
<tr>
<td height="21" align="center" valign="middle">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<div align="center"><a href="http://www.addthis.com/bookmark.php?v=250&pubid=xa-4d73a367659a9f30" class="addthis_button_compact">Share</a> <span class="addthis_separator">|</span> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a></div>
</div>
<div align="center">
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4d73a367659a9f30"></script>
<!-- AddThis Button END -->
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3" align="center" valign="middle"> </td>
</tr>
<tr>
<td colspan="3" align="center" valign="middle">
<table width="100%" border="0" cellpadding="3" class="bordertopbottom">
<tr>
<td align="center" valign="middle">
<a href="../index.php">HOME</a> |
<a href="../our-products.php">WHY USE NATURAL DEODORANTS?</a> |
<a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
<a href="../useful-links.php">LINKS</a> |
<a href="../faqs.php">FAQs</a> |
<a href="../basket.php">EDIT ORDER</a> |
<a href="../checkout.php">GO TO CHECKOUT</a> |
<a href="../contact-us.php">CONTACT US</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3" align="center" valign="middle"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="300" align="center" valign="top" background="../images/deep-gradient.jpg" bgcolor="#FFFFFF">
<div align="center">
<p><span class="copyrighttext"><br />
© Dr Frielgood 2011, 5 Piccadilly Place, Manchester, M1 3BP, UK - <a href="mailto:[email protected]">[email protected]</a></span><br /><br />
<a href="http://www.dalemedia.com" target="_blank"><img src="../images/dalemedia-logo-white-small.jpg" alt="Dalemedia - Web Design Manchester" width="80" height="100" border="0" title="Dalemedia - Web Design Manchester" /></a></a></p>
<p><a href="http://www.dalemedia.com" target="_blank"><span style="color:#666666; font-size:10px; font-weight: bold">Dalemedia - Web Design Manchester</span></a></p>
</div>
</td>
</tr>
</table>
</body>
</html>
Associated file (index.php):
<?php
$CMSSection = "frontcatalogue";
require_once("mcms/mcmsmain.php");
require_once("mcms/frontend/cataloguecode.php");
require_once("mcms/frontend/basketcode.php");
require_once("mcms/frontend/newslettercode.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="Templates/sitetemplatenew.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Natural Deodorants | Natural Deodorant Spray | Crystal Deodorant</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<META NAME="keywords" CONTENT="Natural Deodorant, Natural Deodorant Spray, Crystal Deodorant, Herbal Natural Deodorant, Best Natural Deodorant, Natural Deodorant Crystal, Natural Deodorant Spray, Aluminium Free, Anti-perspirant, No Animal testing">
<META NAME="description" CONTENT="Looking for a natural deodorant? Try Dr Frielgood's natural deodorant spray today! Aluminium-free! Tested on humans only! Work with nature, not against it...">
<style type="text/css">
<!--
#Textbox {position:absolute;
width:500px;
height:650px;
z-index:1;
overflow: auto;
visibility: visible;
-->
</style>
<!-- InstanceEndEditable -->
<!-- MB - The next script makes the clock work -->
<script type="text/javascript">
currenttime = '<? print date("F d, Y H:i:s", time())?>'
var montharray=new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December")
var serverdate=new Date(currenttime)
function padlength(what){
var output=(what.toString().length==1)? "0"+what : what
return output
function displaytime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+pa dlength(serverdate.getSeconds())
document.getElementById("servertime").innerHTML=datestring+" "+timestring
window.onload=function(){
setInterval("displaytime()", 1000)
</script>
<!-- MB - The next scripts contain any (template) in-line styles -->
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/diagonal-stripe-background.jpg);
background-repeat: repeat-x;
-->
</style>
</head>
<body>
<table width="100%" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<table width="985" border="0" align="center" bgcolor="#FFFFFF" class="borderall">
<tr>
<td colspan="3">
<table width="100%" border="0" class="borderbottom">
<tr>
<td width="77%" height="21"><p align="left" class="clocktime"><b>Dr Frielgood says it's: </b><span id="servertime" class="clocktime"></span></p></td>
<td width="23%" align="right" valign="middle"><a href="careers.php">CAREERS</a> | <a href="terms-and-conditions.php">OUR TERMS </a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3"><img src="images/toplogo.jpg" alt="Welcome to Dr Frielgood - Working with nature, not against it" title="Welcome to Dr Frielgood - Working with nature, not against it" width="985" height="150" /></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top">
<table width="100%" border="0" cellpadding="3" class="bordertopbottom">
<tr>
<td align="left" valign="middle">
<a href="index.php">HOME</a> |
<a href="our-products.php">WHY USE NATURAL DEODORANTS?</a> |
<a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
<a href="useful-links.php">LINKS</a> |
<a href="faqs.php">FAQs</a> |
<a href="basket.php">EDIT ORDER</a> |
<a href="checkout.php">GO TO CHECKOUT</a> |
<a href="contact-us.php">CONTACT US</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="180" align="left" valign="top">
<table width="100%" border="0" class="borderall">
<tr>
<td bgcolor="#660099"><span class="featuretitles">VIEW OUR CATALOGUE</span></td>
</tr>
<tr height="10">
<td></td>
</tr>
<?php
for( $i = 0; $i < $NumMenuCats; $i++ ) {
if( !isset($LeftMenuCats[$i]["LevelOffset"]) ) $LeftMenuCats[$i]["LevelOffset"] = "";
?>
<tr>
<td colspan="2" class="producttext">
<?=$LeftMenuCats[$i]["LevelOffset"];?><img src="images/square.jpg" alt="Button Icon" width="10" height="10" />
<a href="<?php echo $_SERVER["PHP_SELF"];?>?CurrentCat=Templates/%3CTemplates/%3C!DOCTYPE%20html%20PUBLIC%20% 22--//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Natural Deodorants | Natural Deodorant Spray | Crystal Deodorant</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<META NAME="keywords" CONTENT="Natural Deodorant, Natural Deodorant Spray, Crystal Deodorant, Herbal Natural Deodorant, Best Natural Deodorant, Natural Deodorant Crystal, Natural Deodorant Spray, Aluminium Free, Anti-perspirant, No Animal testing">
<META NAME="description" CONTENT="Looking for a natural deodorant? Try Dr Frielgood's natural deodorant spray today! Aluminium-free! Tested on humans only! Work with nature, not against it...">
<!-- TemplateEndEditable -->
<!-- MB - The next script makes the clock work -->
<script type="text/javascript">
currenttime = '<? print date("F d, Y H:i:s", time())?>'
var montharray=new Array("January","February","March","April","May","June","July","August","September","Octo ber","November","December")
var serverdate=new Date(currenttime)
function padlength(what){
var output=(what.toString().length==1)? "0"+what : what
return output
function displaytime(){
serverdate.setSeconds(serverdate.getSeconds()+1)
var datestring=montharray[serverdate.getMonth()]+" "+padlength(serverdate.getDate())+", "+serverdate.getFullYear()
var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+pa dlength(serverdate.getSeconds())
document.getElementById("servertime").innerHTML=datestring+" "+timestring
window.onload=function(){
setInterval("displaytime()", 1000)
</script>
<!-- MB - The next scripts contain any (template) in-line styles -->
<link href="../style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(../images/diagonal-stripe-background.jpg);
background-repeat: repeat-x;
-->
</style>
</head>
<body>
<table width="100%" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td>
<table width="985" border="0" align="center" bgcolor="#FFFFFF" class="borderall">
<tr>
<td colspan="3">
<table width="100%" border="0" class="borderbottom">
<tr>
<td width="77%" height="21"><p align="left" class="clocktime"><b>Dr Frielgood says it's: </b><span id="servertime" class="clocktime"></span></p></td>
<td width="23%" align="right" valign="middle"><a href="../careers.php">CAREERS</a> | <a href="../terms-and-conditions.php">OUR TERMS </a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3"><img src="../images/toplogo.jpg" alt="Welcome to Dr Frielgood - Working with nature, not against it" title="Welcome to Dr Frielgood - Working with nature, not against it" width="985" height="150" /></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top">
<table width="100%" border="0" cellpadding="3" class="bordertopbottom">
<tr>
<td align="left" valign="middle">
<a href="../index.php">HOME</a> |
<a href="../our-products.php">WHY USE NATURAL DEODORANTS?</a> |
<a href="http://www.facebook.com" target="_blank">FACEBOOK</a> |
<a href="../useful-links.php">LINKS</a> |
<a href="../faqs.php">FAQs</a> |
<a href="../basket.php">EDIT ORDER</a> |
<a href="../checkout.php">GO TO CHECKOUT</a> |
<a href="../contact-us.php">CONTACT US</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="180" align="left" valign="top">
<table width="100%" border="0" class="borderall">
<tr>
<td bgcolor="#660099"><span class="featuretitles">VIEW OUR CATALOGUE</span></td>
</tr>
<tr height="10">
<td></td>
</tr>
<?php
for( $i = 0; $i < $NumMenuCats; $i++ ) {
if( !isset($LeftMenuCats[$i]["LevelOffset"]) ) $LeftMenuCats[$i]["LevelOffset"] = "";
?>
<tr>
<td colspan="2" class="producttext">
<?=$LeftMenuCats[$i]["LevelOffset"];?><img src="../images/square.jpg" alt="Button Icon" width="10" height="10" />
<a href="<?php echo $_SERVER["PHP_SELF"];?>?CurrentCat=<?php echo $LeftMenuCats[$i]["mcmsCategoryID"];?>&ProductID=<?=$ProductID;?>"><?=$LeftMenuCats[$ i]["mcmsTitle"];?></a>
</td>
</tr>
<?php
if( $LeftMenuCats[$i]["mcmsCategoryID"] == $CurrentCat ) {
for( $j = 0; $j < $NumProducts; $j++ ) {
?>
<tr>
<td class="producttext">
<a href="../catalogue-details.php?CurrentCat=<?=$LeftMenuCats[$i]["mcmsCategoryID"];?>&P roductID=<?=$LeftMenuProducts[$j]["mcmsProductID"];?>"><?=$LeftMenuProducts[$j]["mcmsTitle "];?></a>
</td>
</tr>
<?php
if( $NumMenuCats < 1 ) {
?>
<tr>
<td>Products have not yet been added to this cateory.</td>
</tr>
<?php
?>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td bgcolor="#660099"><span class="featuretitles">OUR CUSTOMERS SAY... </span></td>
</tr>
<tr>
<td>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="180" height="180" title="xfv">
<param name="movie" value="vertical-scroll.swf" />
<param name="quality" value="high" />
<embed src="vertical-scroll.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="180" height="180"></embed>
</object>
</td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">LATEST NEWS </span></td>
</tr>
<tr>
<td align="left" valign="top" class="latestnewstext">
<br />
June 2011: <br />
Dr Frielgood website launches! <br /><br />
June 2011: <br />
Dr Frielgood developing new soap product! <br /><br />
</p>
</td>
</tr>
</table>
<br />
</td>
<td width="530" align="left" valign="top">
<!-- InstanceBeginEditable name="CentreContent" -->
<table width="100%" border="0">
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#eeeeee" class="pagetitles">About Us <a href="index.php" class="breadcrumbtext">HOME</a><span class="breadcrumbtext"> > ABOUT US </span></td>
</tr>
<tr>
<td width="50%" align="left" valign="top">
<p class="maintext"><strong><span class="pagetitles"><span class="h1">Natural Deodorants</span></span> - An overview:</strong></p>
<p class="maintext">Welcome! Here at Dr Frielgood we are totally committed to creating the very best natural deodorant products possible. Each one is made with 100% natural ingredients and, unlike many other competitor products, is truly aluminium-free. </p>
<p class="maintext"><strong>Our environmental policy:</strong></p>
<p class="maintext">Our natural deodorant products come in an easy-to-use spray bottle and are packaged in the lightest-weight materials possible - in order minimise our impact on the environment. </p>
<p class="maintext"><strong>Buy online with peace of mind: </strong></p>
<p class="maintext">You can buy all Dr Frielgood products directly from this site, secure in the knowledge that all payments are made using Barclays proven<em> ePDQ</em> system - ensuring your credit card details are never divulged to anyone (<em>not even to us</em>).</p>
<p class="maintext"><strong>Find out more: </strong></p>
<p class="maintext">Now, if you only wish to <em>use</em> our great natural deodorant products, well that's just great. You are very welcome to look around the site and make your purchase with confidence. <br />
<br />
On the other hand, if you're curious about why we're so so proud of our products - or perhaps wondering what ingredients it contains - then we're more than happy to tell you all about it!</p>
<p class="maintext">Click to find out all about our <a href="our-products.php"><span style="color:#660099; font-size:12px; font-weight: bold">natural deodorants</span></a>. </p>
<p class="maintext">--------------------------------</p>
</td>
<td width="50%" align="center" valign="top"><a href="http://www.dr-frielgood.co.uk/catalogue-details.php?CurrentCat=116&ProductID=0"><img src="images/final-bottle.jpg" alt="Dr Frielgood Natural Deodorant" title="Dr Frielgood Natural Deodorant" width="300" border="0" /></a></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"></td>
</tr>
</table>
<!-- InstanceEndEditable -->
</td>
<td width="275" align="right" valign="top">
<table width="100%" border="0" class="borderall">
<tr>
<td colspan="3" align="left" valign="top" bgcolor="#660099" class="featuretitles">YOUR SHOPPING BASKET </td>
</tr>
<?php
if( $NumBasketItems < 1 ) {
?>
<tr>
<td colspan="3" align="left" valign="top" class="pricingboxtext"><div align="left" class="requiredfieldtext">You have nothing in your shopping basket...</div></td>
</tr>
<?php
?>
<tr>
<td width="54%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Item</td>
<td width="29%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Qty</td>
<td width="17%" align="left" valign="top" bgcolor="#eeeeee" class="pricingboxtext">Price</td>
</tr>
<tr>
<td align="left" valign="top" class="pricingboxtext"> </td>
<td align="left" valign="top" class="pricingboxtext"> </td>
<td align="left" valign="top" class="pricingboxtext"> </td>
</tr>
<?php
for( $i = 0; $i < $NumBasketItems; $i++ ) {
?>
<tr>
<td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsTitle"];?></td>
<td align="left" valign="top" class="pricingboxtext"><?=$BasketItemDetails[$i]["mcmsQuantity"];?></td>
<td align="left" valign="top" class="pricingboxtext">£<?=$BasketItemDetails[$i]["LineTotal"];?></td>
</tr>
<?php
} //for( $i = 0; $i < $NumBasketItems; $i++ ) {
?>
<tr>
<td colspan="3" align="left" valign="top" class="pricingboxtext"> </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">POSTAGE </td>
<td align="left" valign="top" class="pricingboxtext"><?=$TotalPostage;?></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#EEEEEE" class="pricingboxtext">TOTAL </td>
<td align="left" valign="top" class="pricingboxtext"><?=$FinalTotal;?></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"> </td>
<td align="left" valign="top"> </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"><a href="#"><img src="images/credit-card-logos-small.jpg" alt="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" width="180" height="32" border="0" title="We accept all major credit cards! All transactions secured by Barclays ePDQ Payment System" /></a></td>
<td align="left" valign="top"><a href="basket.php"><img src="images/shopping-cart-icon-medium.png" alt="Your shopping purchases so far..." title="Your shopping purchases so far..." width="40" height="34" border="0" /></a></td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#660099" class="featuretitles">JOIN OUR FREE NEWSLETTER! </td>
</tr>
<?php
if( $ShowNewsThankyou != "yes" ) {
if( strlen($NewsError) > 0 ) {
?>
<tr>
<td colspan="2" align="left" valign="top" class="maintext">
<span class="requiredfieldtext"><?=$NewsError;?></span>
</td>
</tr>
<?php
?>
<form action="<?=$_SERVER["PHP_SELF"];?>" method="post">
<tr>
<td colspan="2" align="left" valign="top" class="maintext">If you would like to receive our quarterly newsletter full of health tips, special offers and industry news, please complete the form below. We'll even enter you into our quarterly prize draw to win a FREE gift! </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" class="requiredfieldtext"> </td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Name </td>
<td align="left" valign="top"><input name="mcmsNewsName" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsName"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsName"]));?>" /></td>
</tr>
<tr>
<td width="45%" align="left" valign="top" bgcolor="#eeeeee" class="formitemstext">Your Email </td>
<td width="55%" align="left" valign="top"><input name="mcmsNewsEmail" type="text" class="formtextboxes" value="<?php if( isset($_POST["mcmsNewsEmail"]) ) echo htmlspecialchars(stripslashes($_POST["mcmsNewsEmail"]));?>" /></td>
</tr>
<tr>
<td align="center" valign="middle">
<img src="images/newsletter-icon-2.png" alt="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" width="50" height="48" border="0" title="Join our FREE quarterly newsletter! Lots of information about Dr Frielgood including special offers and discounts for members!" />
</td>
<td align="left" valign="top">
<input type="hidden" name="mcmsAction" value="newsletter" />
<label><input name="Submit" type="submit" class="formbuttons" value="Submit" /></label>
</td>
</tr>
</form>
<?php
else {
?>
<tr>
<td colspan="2" align="left" valign="top" class="maintext">
<span class="requiredfieldtext">Thankyou, your entry has been received!</span>
</td>
</tr>
<?php
?>
<tr>
<td align="center" valign="middle"> </td>
<td align="left" valign="top"> </td>
</tr>
</table>
<br />
<table width="100%" border="0" class="borderall">
<tr>
<td align="left" valign="top" bgcolor="#660099"><span class="featuretitles">SEE OUR SOCIAL MEDIA PAGES </span></td>
</tr>
<tr>
<td alSo you give your main template .dwt file minus any php code to your php developer and they then insert some php code into that template file and give it back to you?
You then create an index.php page from the template and that's when the trouble starts? Is this correct?
What I see is a duplicated <head> section from line 11 through to line 128 in the index.php file. Who put that there? I don't see any 'include' php code in the template file asking for it to be placed there so the question is where did it come from? It does not belong there.
Go back to the php developer and ask them where it could have come from. One possibility is from an 'include' php file but as I say I don't see any php code in the original template file that would be associated with it. The other possibility is it was placed their manually. -
Trouble with using MX Templates in DW8
I had a question that I just cannot seem to figure out. My
company recently bought Macromedia's Studio 8 Upgrade for the
Design department. We used to use Dreamweaver MX. We did not have
any problems with MX, with images showing in the Design window.
However, in DW8 the images do not show up. There are place
holders, but I need to see the images so I can actually design the
page. When I program the sites into DW8 and then open a page it
seems like the website management is not right. I found out that I
had to re-attach the CSS sytle sheet using DW8's CSS window, once I
did that the page looked a lot better but the images still do not
show up (in the design screen).
This problem only seems to occur in Dreamweaver 8. When
viewed in a browser it seems to be fine. Does anyone know a setting
that I may be getting messed up? I copied all of our websites
directly from MX, so that cannot be the issue.
Thanks again!Show me such a page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Fadet0blak" <[email protected]> wrote in
message
news:e5i6b8$91q$[email protected]..
>I had a question that I just cannot seem to figure out.
My company recently
> bought Macromedia's Studio 8 Upgrade for the Design
department. We used to
> use
> Dreamweaver MX. We did not have any problems with MX,
with images showing
> in
> the Design window.
>
> However, in DW8 the images do not show up. There are
place holders, but I
> need
> to see the images so I can actually design the page.
When I program the
> sites
> into DW8 and then open a page it seems like the website
management is not
> right. I found out that I had to re-attach the CSS sytle
sheet using DW8's
> CSS
> window, once I did that the page looked a lot better but
the images still
> do
> not show up (in the design screen).
>
> This problem only seems to occur in Dreamweaver 8. When
viewed in a
> browser it
> seems to be fine. Does anyone know a setting that I may
be getting messed
> up? I
> copied all of our websites directly from MX, so that
cannot be the issue.
>
> Thanks again!
>
> -
Problem inserting FLV into template based page DW8
Error when inserting an FLV into a template based page.
The error is: "Making this change would require changing code
that is locked by a template or translator. The change will be
discarded."
I thought perhaps something was wrong with my code so I
created a new page in DW8, with one word of text. Saved the new
page as a template with the one word of text made into an editable
region. Created a page based on that template and attempted to
insert a FLV file into the editable region (using Insert > Media
> Flash Video). I still get the error message. I've attached the
code for this page.
I also get the error message when I go through the tutorial
Presenting
Video with the Flash Video Component in Dreamweaver 8. Using
the files provided in the tutorial.
Is the only workaround for this the one I found here?:
http://med.stanford.edu/irt/web/references/flash_video_installation.html.
Steps are under heading "Workaround for Locked Code insert error"
near bottom of page.
Any help is appreciated.
Jen> Is the only workaround for this the one I found here?:
>
http://med.stanford.edu/irt/web/references/flash_video_installation.html.
> Steps
> are under heading "Workaround for Locked Code insert
error" near bottom
> of
> page.
This workaround *will* work....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"kilmeny21" <[email protected]> wrote in
message
news:[email protected]...
> Error when inserting an FLV into a template based page.
>
> The error is: "Making this change would require changing
code that is
> locked
> by a template or translator. The change will be
discarded."
>
> I thought perhaps something was wrong with my code so I
created a new page
> in
> DW8, with one word of text. Saved the new page as a
template with the one
> word
> of text made into an editable region. Created a page
based on that
> template and
> attempted to insert a FLV file into the editable region
(using Insert >
> Media >
> Flash Video). I still get the error message. I've
attached the code for
> this
> page.
>
> I also get the error message when I go through the
tutorial
>
http://www.adobe.com/devnet/flash/articles/flv_tutorial.html.
Using the
> files
> provided in the tutorial.
>
> Is the only workaround for this the one I found here?:
>
http://med.stanford.edu/irt/web/references/flash_video_installation.html.
> Steps
> are under heading "Workaround for Locked Code insert
error" near bottom
> of
> page.
>
> Any help is appreciated.
> Jen
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml"><!--
InstanceBegin
> template="/Templates/index.dwt"
codeOutsideHTMLIsLocked="false" -->
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <!-- InstanceBeginEditable name="doctitle" -->
> <title>Untitled Document</title>
> <!-- InstanceEndEditable -->
> <!-- InstanceBeginEditable name="head" --><!--
InstanceEndEditable -->
> </head>
>
> <body>
> <!-- InstanceBeginEditable name="temp"
-->Text<!-- InstanceEndEditable -->
> </body>
> <!-- InstanceEnd --></html>
> -
Adding Old templates to a DW8 re-install
Hey there, XP was behaving badly and I reinstalled it. Lo and
behold, my templates (there are many of them) are on their template
folder in their respective sites, but they are not associated with
their sites in the File > New and the successive dialog boxes.
So I make changes and the template is saved but the pages are not
updated, a total mess.
Can anybody point me to documentation, or advice, as to how
to get my templates back to their site.
Thanks,
Mario.Never mind, I got it...
-
DW8 changes to >; in templated page (Outside HTML)
SOLVED:
One of the Code Rewriting preferences is 'Encode <,>,
&, and " in attribute values using &' which appears to be
the reason for this.
I am trying to update a template whose children have code
before the HTML tag (on some pages) and when I do it changes the
greater than symbol (in a query) to > which causes it to
crash. This is fairly trivial to find/replace but I'm wondering if
there's a way I can tell it not to do that, and if not what else is
it changing (is there a list/kb article about this I can read?) So
far I've found no mention of this anywhere.
Great thanks for any help...Have you read my reply to your post on the DW forum?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"bwesteia" <[email protected]> wrote in
message
news:eqao6q$muv$[email protected]..
>I am trying to update a template whose children have code
before the HTML
>tag
> (on some pages) and when I do it changes the greater
than symbol (in a
> query)
> to > which causes it to crash. This is fairly trivial
to find/replace but
> I'm
> wondering if there's a way I can tell it not to do that,
and if not what
> else
> is it changing (is there a list/kb article about this I
can read?) So far
> I've
> found no mention of this anywhere.
>
> Great thanks for any help...
>
> -
Re:DW8 flash on template page not shows flash
Hi Murray,
When I changed it to relative nothing changed, the .dwt works
fine but not
my other pages based on the template. Maybe there is
something wrong with
the editable regions?
Thanks for your help
Sam
Make the link to your Flash file be a root relative one.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
Hi all,
I have a template based page with one flash animation.
When I preview my template page the flash is working fine,
but in my pages
bases on the template I don't see my flash animation.
Do I miss something?
You can find my pages (text) on the following links:
http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
http://www.waterloocity.be/doc/index-asp.txt
I searched in the archives but fund nothing that helps me
I appreciate all help
Thanks in advanced, SamThen there is something wrong with the SWF file.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"SamDesign.be" <[email protected]> wrote in
message
news:[email protected]...
> Now, I see noting. In dreamweaver I see the swe but when
I do the "play"
> it's white
>
> "Murray *ACE*" <[email protected]> a
écrit dans le message
> de news: [email protected]...
>> Do you see the Flash element locally?
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "SamDesign.be" <[email protected]>
wrote in message
>> news:[email protected]...
>>> Yes, I work localy for the moment.
>>>
>>> "Murray *ACE*"
<[email protected]> a écrit dans le
message
>>> de news: [email protected]...
>>>> Did you upload the Scripts folder?
>>>>
>>>> <script
src="../Scripts/AC_RunActiveContent.js"
>>>> type="text/javascript"></script>
>>>>
>>>> --
>>>> Murray --- ICQ 71997575
>>>> Adobe Community Expert
>>>> (If you *MUST* email me, don't LAUGH when
you do so!)
>>>> ==================
>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>> ==================
>>>>
>>>>
>>>> "SamDesign.be"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> Hello Murray,
>>>>>
>>>>>
>>>>>
>>>>> I tray it again but still don't working.
I made a new page, without
>>>>> linking to a template, and there my
flash is also not showing up.
>>>>>
>>>>> Here is my code from a test page.
>>>>>
>>>>> Thanks for your time!
>>>>>
>>>>>
>>>>>
>>>>> <%@LANGUAGE="VBSCRIPT"
CODEPAGE="1252"%>
>>>>>
>>>>> <!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN"
>>>>> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>>>>>
>>>>> <html xmlns="
http://www.w3.org/1999/xhtml">
>>>>>
>>>>> <head>
>>>>>
>>>>> <meta http-equiv="Content-Type"
content="text/html;
>>>>> charset=iso-8859-1" />
>>>>>
>>>>> <title>Untitled
Document</title>
>>>>>
>>>>> <script
src="../Scripts/AC_RunActiveContent.js"
>>>>>
type="text/javascript"></script>
>>>>>
>>>>> </head>
>>>>>
>>>>> <body>
>>>>>
>>>>> <script type="text/javascript">
>>>>>
>>>>> AC_FL_RunContent(
>>>>> 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','100','height','60','title','test','src','/flash/newpub','quality','high','pluginspage ','http://www.macromedia.com/go/getflashplayer','movie','/flash/newpub'
>>>>> ); //end AC code
>>>>>
>>>>>
</script><noscript><object
>>>>>
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>>>>> codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
>>>>> width="100" height="60" title="test">
>>>>>
>>>>> <param name="movie"
value="/flash/newpub.swf" />
>>>>>
>>>>> <param name="quality" value="high"
/>
>>>>>
>>>>> <embed src="/flash/newpub.swf"
quality="high"
>>>>> pluginspage="
http://www.macromedia.com/go/getflashplayer"
>>>>> type="application/x-shockwave-flash"
width="100" height="60"></embed>
>>>>>
>>>>> </object></noscript>
>>>>>
>>>>> </body>
>>>>>
>>>>> </html>
>>>>>
>>>>>
>>>>>
>>>>> "Murray *ACE*"
<[email protected]> a écrit dans le
>>>>> message de news:
[email protected]...
>>>>>> If you changed it to ROOT relative,
e.g.,
>>>>>>
>>>>>> /Flash/whatever.swf
>>>>>>
>>>>>> Then it would work. Please show us
your code....
>>>>>>
>>>>>> --
>>>>>> Murray --- ICQ 71997575
>>>>>> Adobe Community Expert
>>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>>> ==================
>>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>>>> ==================
>>>>>>
>>>>>>
>>>>>> "SamDesign.be"
<[email protected]> wrote in message
>>>>>>
news:[email protected]...
>>>>>>> Hi Murray,
>>>>>>>
>>>>>>> When I changed it to relative
nothing changed, the .dwt works fine
>>>>>>> but not my other pages based on
the template. Maybe there is
>>>>>>> something wrong with the
editable regions?
>>>>>>>
>>>>>>> Thanks for your help
>>>>>>>
>>>>>>> Sam
>>>>>>>
>>>>>>>
>>>>>>> Make the link to your Flash file
be a root relative one.
>>>>>>> --
>>>>>>> Murray --- ICQ 71997575
>>>>>>> Adobe Community Expert
>>>>>>> (If you *MUST* email me, don't
LAUGH when you do so!)
>>>>>>> ==================
>>>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM)
>>>>>>> Technotes
>>>>>>> ==================
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I have a template based page
with one flash animation.
>>>>>>>
>>>>>>> When I preview my template page
the flash is working fine, but in my
>>>>>>> pages
>>>>>>> bases on the template I don't
see my flash animation.
>>>>>>>
>>>>>>> Do I miss something?
>>>>>>>
>>>>>>> You can find my pages (text) on
the following links:
>>>>>>>
>>>>>>>
http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
>>>>>>>
>>>>>>>
http://www.waterloocity.be/doc/index-asp.txt
>>>>>>>
>>>>>>> I searched in the archives but
fund nothing that helps me
>>>>>>>
>>>>>>> I appreciate all help
>>>>>>>
>>>>>>> Thanks in advanced, Sam
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> -
DW8 flash on template page not shows flash
Hi all,
I have a template based page with one flash animation.
When I preview my template page the flash is working fine,
but in my pages
bases on the template I don't see my flash animation.
Do I miss something?
You can find my pages (text) on the following links:
http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
http://www.waterloocity.be/doc/index-asp.txt
I searched in the archives but fund nothing that helps me
I appreciate all help
Thanks in advanced, SamMake the link to your Flash file be a root relative one.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"SamDesign.be" <[email protected]> wrote in
message
news:eugrqh$jr9$[email protected]..
> Hi all,
>
> I have a template based page with one flash animation.
>
> When I preview my template page the flash is working
fine, but in my pages
> bases on the template I don't see my flash animation.
>
> Do I miss something?
>
> You can find my pages (text) on the following links:
>
>
http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
>
>
http://www.waterloocity.be/doc/index-asp.txt
>
> I searched in the archives but fund nothing that helps
me
>
> I appreciate all help
>
> Thanks in advanced, Sam
>
> -
Template & flash bug DW8?
I have just updated a site that had a small flash movie in a
non editable
region in templated pages.
DW offered to update the code and it wrapped the flash movie
in the
'AC_FL_RunContent' script tags.
AC_FL_RunContent(
'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.
cab#version=7,0,19,0','name','logo','width','176','height','133','id','logo'
,'onmouseover','MM_controlShockwave(\'logo\',\'\',\'Play\')','src','../flash
/log11','quality','high','pluginspage','
http://www.macromedia.com/go/getflas
hplayer','swliveconnect','true','movie','../flash/log11' );
//end AC code
The flash movie link inside these tags is now *fixed* to the
link which in
the template ( ../flash/log11 )
Any child page spawned from the template retains this link
wherever it is
saved to in the site and only plays the movie if the
../flash/log11 link
happens to be correct.
Detach the template and the link reverts to what it should be
and the movie
plays.
Once I worked out what was happening it was not too difficult
to find a
workaround but appreciate it if anyone could shed some light.
thanks
lawriethank you
lawrie
"Murray *ACE*" <[email protected]> wrote
in message
news:eh50e6$83v$[email protected]..
: It is a known bug.
: Murray --- ICQ 71997575
: Adobe Community Expert
: (If you *MUST* email me, don't LAUGH when you do so!)
: ==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
: ==================
: "lawrie" <[email protected]> wrote in message
: news:eh4tig$4t8$[email protected]..
: >I have just updated a site that had a small flash movie
in a non editable
: > region in templated pages.
: >
: > DW offered to update the code and it wrapped the flash
movie in the
: > 'AC_FL_RunContent' script tags.
: >
: > AC_FL_RunContent(
: >
'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.
: >
cab#version=7,0,19,0','name','logo','width','176','height','133','id','logo'
: >
,'onmouseover','MM_controlShockwave(\'logo\',\'\',\'Play\')','src','../flash
: >
/log11','quality','high','pluginspage','
http://www.macromedia.com/go/getflas
: >
hplayer','swliveconnect','true','movie','../flash/log11' ); //end
AC
code
: >
: > The flash movie link inside these tags is now *fixed*
to the link which
in
: > the template ( ../flash/log11 )
: >
: > Any child page spawned from the template retains this
link wherever it
is
: > saved to in the site and only plays the movie if the
../flash/log11
link
: > happens to be correct.
: >
: > Detach the template and the link reverts to what it
should be and the
: > movie
: > plays.
: >
: > Once I worked out what was happening it was not too
difficult to find a
: > workaround but appreciate it if anyone could shed some
light.
: >
: > thanks
: >
: > lawrie
: >
: >
: > -
DW8 says there's no margin, but the image is still 10 or so pixels off
Okay, so I'm new to DW and am using DW8 (what's the newest
version anyway?)
Here's the background and my problem:
I'm working with a graphics designer in redesigning the site
for our non-profit organization, and she has a gradient along the
left side of the page. At the top of the gradient, she has a logo
blends with the gradient. The navigation bar then runs along the
top of the page with drop-down menus designed in Fireworks. It's a
beautiful design, but I'm having trouble getting things to work
properly when I'm importing them into DW.
Once again, I'm new to DW as well as FW, but I'm a quick
learner (i think). I brought these aspects (the gradient, logo,
site name, and nav bar) together in FW. I want these to form the
template for all the pages of the site so I brought them into DW to
do so. However, I need to make sure the background (the gradient)
repeats without the logo repeating. So I exported it separately and
set it as the page background using page properties. I thought that
would be simple enough. However, I can't export just the logo as a
.jpg (which it needs to be in order to look right) without it being
having a white background and no longer blending with the gradient.
So now I thought to myself, that I'd export the whole FW
image (with the gradient, logo, and nav bar) to DW and simply place
it over the gradient background, inserting it as an image, so that
these things show up at the top of the page but the gradient
continues beneath the image. It's been an amazingly frustrating
process, and I know that last idea probably sounds ridiculous to
those more experienced than myself. However, I think it may
actually work. The only problem, and a big one, is that when I
insert the image for the whole FW document (or even for just the
logo itself), even when it says the page has no margins or padding,
it still seems to set this image in and down about 10 pixesls,
making it offset with the gradient background and leaving the edge
of the logo visible (which is supposed to look like it runs off the
page). How can I fix this?
And once it's working, how do I set these two areas, the side
gradient with logo and the top nav bar with site name, to be the
template for the rest of the site with the big open area I have
left on the rest of the page as the editable region? It seems to me
like once I get this set as the template, the rest of the pages
will come together fairly quickly and easily.
Is there another way to do this that would be easier? I'm
very much open to suggestions. I don't yet have the site up on a
testing server to show anyone online, but if you would like to
email me
[email protected], I'd
welcome the correspondence and help in getting this working. I'd
also be willing to send the .html files to someone by email if they
could be helpful. Sorry for the long post, but I've spent all day
working on this problem, and am absolutely desperate. Please help,
and thank you for your time.> The only problem, and a big one, is that when I insert
the
> image for the whole FW document (or even for just the
logo itself), even
> when
> it says the page has no margins or padding, it still
seems to set this
> image in
> and down about 10 pixesls, making it offset with the
gradient background
> and
> leaving the edge of the logo visible (which is supposed
to look like it
> runs
> off the page). How can I fix this?
You need to set 0 margin and padding on the body tag. Copy
the following
into the head of your document just before the closing head
tag (/head>)
Preferably it should go into an external stylesheet, but by
the sounds of
things you are not using this as yet.
<style type="text/css">
<!--
body {
padding: 0;
margin: 0;
background-color: White; /*change to suit whatever your
background image is
-->
</style>
> And once it's working, how do I set these two areas, the
side gradient
> with
> logo and the top nav bar with site name, to be the
template for the rest
> of the
> site with the big open area I have left on the rest of
the page as the
> editable
> region? It seems to me like once I get this set as the
template, the rest
> of
> the pages will come together fairly quickly and easily.
Once you have added the above to your page, you need to save
the page as a
Template. You will be asked to create an editable region
(which is the area
that will be changed on each child page created from this
template).
The DW help files do offer some information on how to create
Template
pages - that may be the first stop for you :-)
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
~ Customisation Service Available ~
http://www.csstemplates.com.au
Spry Widget Examples
http://www.dreamweaverresources.com/spry-widgets/
Maybe you are looking for
-
Does the ipod nano 3g /vidoe support the playing of FM radio
Does the Ipod 3g/video support the playing of FM radio using products like Griffins IFM?
-
Quickest way to deliver TV News Footage?
(A little off-topic I'm afraid but surely this is the best place to ask!) I have to shoot an interview with a racing driver who's secured a new drive with a UK team. This is to be featured on his home country's TV news. I'd like to shoot in HDV and t
-
Hi, I have a sidebar as below: Toy: Dog 1 Date of production: Dec 2009 Cost: $10 Retail Value: $50 Remarks: test test test test I would like to have everything before the colons bolded. I have many of these going through the document, with the infor
-
Scroll with trackpoint only works downwards
Hi there, Everything is in the title: when I hold the middle button of the trackpoint and try to scroll down, it works, but if I want to scroll upwards, nothing happens. What am I missing? Solved! Go to Solution.
-
I bought an unlocked iPhone 5s from USA and travel back to my counry but won't work in my country
I bought an unlocked iPhone 5s from USA and travel back to my counry but won't work in my country