Dreamweaver TEmplate
I created a webpage using the dreamweaver template when I
open it in the browser in a maximize screen its perfect but when I
adjust the size the content on the middle 'div' is going to the
bottom at the page. How can I do it like if I resize the page The
contents will not be affected? Thanks!!
> Of course the image in the middle
> Section which is 3 inches wide will not fit. Right?
That's correct, although inches mean nothing on the screen of
a variety of
users. Pixels would be the more consistent and proper unit of
measure.
> In regards with the css,java, html,
It's javascript, not Java. The two are completely different
things.
> why did you say it?s advanced?
The layout method used on the page is a bit arcane and unlike
other 2/3
column layouts I have seen.
> I know that it?s just to make a template command
> so that you can edit a certain section by using css
> style sheets right?
Hmmm - I don't understand what you are saying. CSS would have
nothing to do
with whether or not you can edit a section.
> But isn?t dreamweaver will make the code for you?
DW will not prevent you from making a mess of those pages,
even though It's
doing what you are telling it to.
> What kinds of difficulties or problems do you think
> that I will have in the future?
Go here -
http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamweaver
Search this forum for "HALO" or "CSS template". You will have
all of those
problems, perhaps.
Look - I don't want to discourage you from using this as an
ACADEMIC
exercise, but I don't think it's a good choice for any
commercial entity.
There are much better free/commercial choices you can make -
http://dreamweaverresources.com/
http://www.projectseven.com/
This is two of the best, in my opinion.
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
==================
"teamse" <[email protected]> wrote in
message
news:[email protected]...
> Ok.Thanks I think that answers my questions because
> If I resize the page to be only 2 inches wide
> Of course the image in the middle
> Section which is 3 inches wide will not fit. Right?
>
> In regards with the css,java, html, why did you say
> it?s advanced? I know some things with html
> and css I know that it?s just to make a template command
> so that you can edit a certain section by using css
> style sheets right? About Java, I don?t have any clue.
> But isn?t dreamweaver will make the code for you?
> The only thing that worries me is the navigation
> Bar. But isn?t to edit it I?ll just have to put the
> Link page for all the menu that I placed in the
> Navigator bar?
>
> What kinds of difficulties or problems do you think
> that I will have in the future?
>
> Thank you so much..
>
>
Similar Messages
-
Dreamweaver Template Without Dreamweaver
Hi.
I'm doing an internship for the semester and the place i work is having me redesign their intranet. I'll be gone in December, and while no immediate changes will really need to be made, over time they will probably want to do something such as adding a link in the side menu...
The problem is, I don't think they use Dreamweaver--if they're using another web design program, is it possible for them to edit the dreamweaver template I've created for them?
Thanks.Another approach is to use Server-Side Includes (text files) that contain hyperlinks, common headers & footers for example. Person responsible for updates could edit the SSI files in any html editor. Upload to server and the server would populate changes throughout the site.
More on SSIs:
http://www.smartwebby.com/web_site_design/server_side_includes.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Edit First line in dreamweaver templates
Hello,
When I create a page from a Dreamweaver template, a
dreamweaver comment similar to the one below will be inserted:
<!-- #BeginTemplate "/Templates/test.dwt" -->
Each time I edit a page to add php code in the very first
line, it is removed with every template update and the source code
again starts with the dreamweaver comment. I need to add to all my
pages a php code in the very first line like this one:
<? $ob_start; $session_start; ?>
How can I do that without removing the code from my pages
with each template update. Another problem is that I can't insert a
placeholder in the very first line of a dreamweaver template. Above
that the first line is locked in dreamweaver, so that I can't
change it manually. Is there any workaround available?
Thanks,
Philip> How can I do that without removing the code from my
pages with each
> template
> update. Another problem is that I can't insert a
placeholder in the very
> first
> line of a dreamweaver template. Above that the first
line is locked in
> dreamweaver, so that I can't change it manually. Is
there any workaround
> available?
Put the code ABOVE the <html> tag.
Which DW are you using? It looks like DW4 or earlier....
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
==================
"flip3" <[email protected]> wrote in message
news:ec40u0$mr3$[email protected]..
> Hello,
>
> When I create a page from a Dreamweaver template, a
dreamweaver comment
> similar to the one below will be inserted:
>
> <!-- #BeginTemplate "/Templates/test.dwt" -->
>
> Each time I edit a page to add php code in the very
first line, it is
> removed
> with every template update and the source code again
starts with the
> dreamweaver comment. I need to add to all my pages a php
code in the very
> first
> line like this one:
>
> <? $ob_start; $session_start; ?>
>
> How can I do that without removing the code from my
pages with each
> template
> update. Another problem is that I can't insert a
placeholder in the very
> first
> line of a dreamweaver template. Above that the first
line is locked in
> dreamweaver, so that I can't change it manually. Is
there any workaround
> available?
>
> Thanks,
>
> Philip
> -
Flash banner in a Dreamweaver Template
Hi all,
I am using one of the provided Dreamweaver Templates (CSS).
All is fine, except that for some reason it does not like Flash
imports. I can alter the template as much as I like and it will
always successfully change across the site, BUT if I try to insert
a Flash movie/banner into the template - then it does not appear of
ANY of the site files. The only way I can see the flash banner, is
if I open the template.php file in a browser - then you can see
that it is in fact there and working - but for some reason the
other pages refuse to acknolwegde it. Images / Tables / Text - all
work fine - just not flash banners. I even tried saving the banner
as a JPG file in Flash, then sticking the JPG file in the template
where the banner should - and it worked perfectly, but as a .swf
extension it fails.
Am I missing something?
Nathan> BUT if I try to insert a Flash movie/banner into the
template - then it
> does not appear of ANY of the site files.
Because of the active content .js fix, when you insert a .swf
file into a
template, you must use a Site Root relative path for it.
Open the .dwt template file.
Double-click on the .swf in design view- the "browse to file"
dialog box
should come up showing the currently selected file.
look in the bottom of that dialog box for the pulldown to
change from
document relative path to site root relative path. Change it
to site root.
click okay and save the file, and let changes propagate.
does it show in the child files now?
[note- It may still not show during local preview because
site root relative
paths in javascript will not make any sense during local
preview- they
should work fine on the remote host if the site has it's own
domain name
though]
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Dreamweaver Templates with Web Gallery
I have built a site in dreamweaver CS4 I have used a Dreamweaver Template for my pages. Rather than clog my pages up with images I used Adobe Bridge to create a web gallery, It created a gallery ok and I saved it to my hard drive. It created two items, a resourses folder and an "index" file. So I I copied and pasted the two items into my Dreamweaver folder I created and called SS_Bridge. I pointed a link I created to point to the "index" file within the SS_Bridge Folder in Dreamweaver, Will this create a problem as there will be two "Index" files within my site
jjrutterThe "home" page index file would be at the root level of the site. Other folders within the root can all have their own index (default) files.
-
NEW! Free Dreamweaver templates WITH Fireworks vector files
I just released some free Dreamweaver templates that include
not only the Dreamweaver template dwt file, but also the original
pre-sliced Fireworks file with all the template graphics.
The templates include the dwt, Fireworks file, pure CSS
menus, are AdSense-ready, XHTML 1.0 valid and are very customizable
through both the Fireworks file and the CSS.
If you use one, let me know so I can get a screenshot and
post a link to your site showing how the templates have been
customized by various designers.
Cheers!
BroditCan you post a link to the PHP page, please? This will allow
me to see the
HTML markup on it....
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
==================
"Mr Zedd" <[email protected]> wrote in
message
news:eviqn8$ntm$[email protected]..
> Hello everyone,
>
> I have been given an exisiting website to update that
uses Dreamweaver
> templates.
>
> I have made the changes successfully within the
content.dwt file, saved
> it,
> and then uploaded both the new content.dwt file and the
related *.htm
> pages
> that were linked to it.
>
> After going to the website to double check the new pages
I found a *.php
> file
> that uses the same template, content.dwt, but it never
asked to update
> that
> particular file.
>
> So, I opened the *.php file in Dreamweaver and tried to
apply changes from
> the
> content.dwt file to it using: Templates - Update current
page, but no such
> luck. Since there is no code at the start of this file
like the other
> *.htm
> files how do I "connect" it with the newly updated
template. I tried
> making a
> small change on the content.dwt file so see what files
would come up in
> the "do
> you wish to update..." list but for some reason the
*.php file is not
> there.
>
> Perhaps the answer is fairly obvious to someone who has
worked with
> Templates
> a lot but since I have just started working with
templates I still have a
> large
> knowledge gap in this area.
>
> Any help would be appreciated.
>
> Many thanks
>
> Mr Zedd
> -
DreamWeaver Template change not updating children webpages?
Hi Group,
Sorry for my newbie question here.
I loaded an HTML webpage, and saved it out as a DreamWeaver Template file.
I then created webpages from the template file (( File - New - Page From Template - Site - Template), and made sure that the "Update Page when Template Changes" check box was selected/checked.
I then created several chldren webpages, and saved them as .html files.
I decided to change the navbar system - part of the uneditiabel region in the template - by opening the template file and edit-ing that file, and then saving it as the same DreamWeaver template file.
However, the webpages did Not Update to reflect the navbar changes in the template fle !??!???
Can someone tell me what I'm doing wrong?
I believe it is something that I'm doing incorrectly with DreamWeaver ..
Here is the HTML if anyone is interested.
<!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>
<!-- TemplateBeginEditable name="DocTitle" -->
<title>CNC Joe's WorkShop - - Home Page </title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
<!-- Keep the http-equiv meta tag for IE8 -->
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<!-- Link the CSS file here -->
<link rel="stylesheet" type="text/css" media="screen,projection" href="../style.css" />
</head>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<body>
<div id="wrapper">
<a name="top"></a>
<a href="index.html" target="_self" title="CNC-Joe's Home Page" >
<img src="../joesworkshoplogo.gif" width="770px" height="300px" alt="CNC Joe's WorkShop - Home Page" />
</a>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<!-- BEGIN OF PULL DOWN MENU -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<div class="mainmenu">
<ul>
<li class="li_nc"><a href="index.html" target="_self" >Home</a></li>
<li class="li_hc"><a href="cad.html" target="_self" >CAD</a><ul class="ul_ch">
<li class="li_nc"><a href="cad_intellicad.html" target="_self" >IntelliCAD</a></li>
<li class="li_nc"><a href="cad_draftsight.html" target="_self" >DraftSight</a></li>
<li class="li_nc"><a href="cad_progesoft.html" target="_self" >Progesoft</a></li>
</ul></li>
<li class="li_hc"><a href="cam_html" target="_self" >CAM</a><ul class="ul_ch">
<li class="li_nc"><a href="cam_mach3.html" target="_self" >Mach3</a></li>
<li class="li_nc"><a href="cam_vcarve.html" target="_self" >V-Carve</a></li>
<li class="li_nc"><a href="cam_cut3d.html" target="_self" >Cut 3D</a></li>
<li class="li_nc"><a href="cam_bobcadcam.html" target="_self" >Bob-CAD-CAM</a></li>
<li class="li_nc"><a href="cam_meshcam.html" target="_self" >Mesh CAM</a></li>
<li class="li_nc"><a href="cam_deskcnc.html" target="_self" >Desk CNC</a></li>
</ul></li>
<li class="li_hc"><a href="projects.html" target="_self" >Projects</a><ul class="ul_ch">
<li class="li_nc"><a href="projects_zzeroplate.html" target="_self" >Z Zero Plate</a></li>
<li class="li_nc"><a href="projects_x0y0edgefinder.html" target="_self" >X0-Y0 Edge Finder</a></li>
<li class="li_nc"><a href="projects_digitizingtouchprobe.html" target="_self" >Digitizing Touch Probe</a></li>
<li class="li_nc"><a href="projects_millwebcam.html" target="_self" >Mill Web CAM</a></li>
<li class="li_nc"><a href="projects_laseredgefinder.html" target="_self" >Laser Pointer Edge Finder</a></li>
<li class="li_nc"><a href="projects_davidlaserscanner.html" target="_self" >David Laser Scanner</a></li>
</ul></li>
<li class="li_hc"><a href="reference.html" target="_self" >Reference</a><ul class="ul_ch">
<li class="li_nc"><a href="ref_gcodes.html" target="_self" >G-codes</a></li>
<li class="li_nc"><a href="ref_nema.html" target="_self" >NEMA Motor Info</a></li>
<li class="li_nc"><a href="ref_vbearings.html" target="_self" >V-Bearings</a></li>
<li class="li_nc"><a href="ref_linearguides.html" target="_self" >Linear Guides</a></li>
</ul></li>
<li class="li_hc"><a href="offtopictopics.html" target="_self" >Off-Topic Topics</a><ul class="ul_ch">
<li class="li_nc"><a href="ott_backyardfoundry.html" target="_self" >BackYard Foundry</a></li>
<li class="li_nc"><a href="ott_blacksmithing.html" target="_self" >BlackSmithing</a></li>
</ul></li>
<li class="li_nc"><a href="links.html" target="_self" >Links</a></li>
<li class="li_nc"><a href="contact.html" target="_self" >Contact</a></li>
</ul>
</div>
<!-- END OF PULL DOWN MENU -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<!-- END OF PULL DOWN MENU -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<!-- TemplateBeginEditable name="content" -->
<h2>Projects: Digitizing Touch Probe:</h2>
<ul>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
</ul>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<!-- End of Editable Region - the rest is Boiler Plate -->
<!-- TemplateEndEditable -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<br />
<p><a href="#top" >Back To Top...</a></p>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<!-- Footer Region -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<div id="footer">
<hr />
<p>
<a href="http://validator.w3.org/check?uri=referer">
<img class="logos" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
<img style="border:0;width:88px;height:31px"
class="logos" src="http://jigsaw.w3.org/css-validator/images/vcss"
alt="Valid CSS!" />
</a>
</p>
<h5><strong><i>
This website is for educational purposes only. Any resemblance to any person - living or dead - is purely coincidental
</i></strong></h5>
</div>
</div><!-- end Div Wrapper -->
</body>
</html>Additional Info:
No -I haven't been able to get the DW Template feature to work on other sites - this is my first application of it to a website (actually it's the whole reason for getting DreamWeaver... I know it works, I know that I'm doing something wrong.. I just don't know what it is...)
All the .HTML files (index.html, cad.html, cam.html, etc. etc.) are in the website's root directory.
The Template file is in its own sub-directory folder named "Templates".
Right now even the .css file is in the root directory....
Thank You for trying to help me - I greatly appreciate it.
Joe -
Problem Uploading Dreamweaver Template
Hi,
I am using Dreamweaver 8, and decided to revise my website
using a Dreamweaver template. The pages look GREAT when I preview
them in Firefox or IE. But when I uploaded the home page, using an
FTP program, the page looked like a mess! None of the columns in
the template were there. The formatting is all wrong, and the links
don't work! This page is horrible! I don't understand since they
looked great in the preview. Can somebody tell me what I've done
wrong?
If you'd like to view the mess, it's at
http://www.karathecomputertutor.com
Thanks!> If you'd like to view the mess, it's at
http://www.karathecomputertutor.com
> Thanks!
there's a problem with the way you've defined this site in
dreamweaver.
the link you gave is at the root level of the public hosting
for that
domain.
but the css link is:
<link rel="stylesheet"
href="../karathecomputertutor4.1/3col_leftNav.css
and the links farther down in the page also are "../
that means go up one folder level.
there is no up from the root level.
The site needs to be defined so that the "homepage" file,
index.html is at
the root level of what you've picked for the Local Site
Folder.
and, all the site files need to be in the Local Site Folder
of course.
and, the remote has to show the public level, with the
index.html file in
the root (use the "Host Directory" line in dw if your files
need to go into
a folder like "public_html" or "www" for example) -
Dreamweaver Templates and Include files
Hi,
I am using dreamweaver templates so that my users can create
new pages on our Intranet using Contribute.
When I create a template and try and use an inculde file for
the menu systems I get an error. I am trying to use the following
code to inculde the asp file:
<!--#include file="/includes/menu.asp" -->
And I get the following error when saving the template:
Unbalanced body tag
I have checked and I definetly have opening and closing body
tags in the HTML. So I am wondering whether the error is caused by
the fact that the file is a dwt and not as asp.
So, is there anyway of using include files in a dreamweaver
template?
Thanks in advance for any help.That's the wrong syntax for a file include. It should be
either of these -
<!--#include virtual="/includes/menu.asp" -->
or
<!--#include file="includes/menu.asp" -->
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
==================
"Alan" <[email protected]> wrote in
message
news:C568040E.31895D%[email protected]..
>
>
>> <!--#include file="/includes/menu.asp" -->
>>
>> And I get the following error when saving the
template:
>>
>> Unbalanced body tag
>>
>> I have checked and I definetly have opening and
closing body tags in the
>> HTML.
>
> Is the include file JUST the html that would be correct
syntax for where
> it
> is used in the main file?
>
> In other words- included files should not be complete
html docs with their
> own head and body tags. That would result in multiple
head and body tags
> in
> the assembled files.
>
>
> --
> Alan
> Adobe Community Expert, dreamweaver
>
>
http://www.adobe.com/communities/experts/
>
>
> -
Designing Dreamweaver templates (was:Info.)
hey again. i have a question. and i am wondering. if its true. could a designer or photogrpaher make a template and have it used in his or her web site? if so. how? i heard you can do this in either of the two programs. photo shop and illustrator. see i am now a member of bc partner. but i am wanting to learn the in between lines. of web site making. see i have started a web site in the past. using dreamweaver, and now i am using muse. but again i am starting from scratch. right now i am using a current site called wix.com. heres my current web site.
1. wix= http://brian-ford.wix.com/photographerexplorer
2. web site in progress using adobe muse. http://bf-photographer01.businesscatalyst.com
3. heres is wix.com it self. you can see how they have this site designed. and with it they have thumbnails of web site templates. that are editable. http://www.wix.com/html5webbuilder/400?utm_campaign=vir_wixad_live
how is that possiable? all i have learnd as a photo student. was design a web site from scratch. besides adding a background image. i have lerned code bfore. and i can laern more. so what is it that i can do?
so how to desing a template? and make it into a image? that someone/client. can tap on it. and edit it. as what they want.Hi bford 225,
Not sure if this is what you are looking for, but for what it is worth:
http://webdesign.about.com/od/dreamweaverhowtos/ig/Create-a-Dreamweaver-Template/
Thanks,
Preran -
Dreamweaver Templates - automation of objects
Can I make a template with objects (forgive me if wrong term) be defined once and is automatically generated for the rest of the document?
Example:
If I build a template with the following code:
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="pagetitle" -->
<h1 class="title">CSA 120/pagetitle</h1>
<!-- TemplateEndEditable -->
I would like to edit the <title> once and it update in different places on the html page where the title is used. So the HTML code would result in the following:
<!-- TemplateBeginEditable name="doctitle" -->
<title>Syllabus</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="pagetitle" -->
<h1 class="title">CSA 120/Syllabus</h1>
<!-- TemplateEndEditable -->Dreamweaver Templates alone won't do what you want. But if your server supports PHP, you can set a variable inside the <title> tag and echo that value to other regions of the page. NOTE: You must save your HTML pages as .php for this to work.
CODE:
<!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" />
<!--set variable and echo value in the title tags-->
<title> <?php $title="This is my Page Title"; echo $title ?> </title>
</head>
<body>
<!--echo variable between <h1> tags-->
<h1><?php echo $title ?></h1>
<!--echo variable again between <h3> tags-->
<h3><?php echo $title ?></h3>
</body>
</html>
And this is the resulting code on server:
<!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" />
<!--set variable and echo value in the title tags-->
<title> This is my Page Title </title>
</head>
<body>
<!--echo variable between <h1> tags-->
<h1>This is my Page Title</h1>
<!--echo variable again between <h3> tags-->
<h3>This is my Page Title</h3>
</body>
</html>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Dreamweaver template / having trouble seeing the previews
I am designing a website, using Dreamweaver for the first
time, and I would like to ask your advice.
Do you know how to apply a dreamweaver template to other html
pages. I have having trouble seeing the previews in the local
browser. For examples, when I preview an html page, that has the
template included, I see the page OK. But when I click to go to
another page with the sample template, the new page shows up, but
without the template design included.Answered mutliple times on the DW forum.
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
==================
"happydreamweaver" <[email protected]> wrote
in message
news:fin6nr$5q1$[email protected]..
> How can I apply a template to new pages? I have done the
following:
> Apply the template to the pages as follows:1 Select File
> Open.
> 2 Browse to and select index.html.
> 3 Select Modify > Templates > Apply Template to
Page.
> 4 Type the title of the page in the Banner Editable
Region. Type or insert
> text in the Body Editable Region.
> 5 Select File > Save.
>
> Then when I preview the broswer, I see the html page as
I should, put when
> I
> click to a new page, the new new doesn't have the
template.
>
> Also, when I went to apply the template to a new page, a
message said that
> I
> had orphaned stuff. What does that mean and how can I
get the template
> show
> apply without the hassle.
> -
Hello,
I have been tasked with updating the navigation on a site that is using a Dreamweaver template (DWT) as the base file. The navigation was originally built using jQuery navigation UI, however this did not address all of our needs and I have updated it with another version of an accordion.
The .dwt file only is only controlling the navigation and the head of the site.
I have integrated the new xhtml structure and added/removed javascript/jquery into the .dwt file. I saved the file, therefore updating all of the relevant .html files, and verified that the accordion works.
However - the accordion does not work for all of the xhtml files. Some files, seemingly at random, are not pulling in the javascript.
When opening the relevant .html files, I can verify that they have all been updated with the new xhtml and the correct javasctipt. However, when viewing the .html files that are not displaying correctly with FireBug, I can see that none of the jquery/javascript is being applied to the navigation (classes are missing that are injected into the xhtml, but the structure and css is correct).
I've done some research and the only issues I've been able to find are related to .xhtml files not being updated with the correct code, but in my case all of the affected files have the correct xhtml and scripts in the head.
Does anyone have any light to shed on this subject? I am quite puzzled.While I understand that looking at code is the ultimate way to find a solution, the intent of my question was not "how do i fix this" or "what is wrong with my code" but rather "does anyone have any idea as to why this would be happening". Or even, "where would you start to troubleshoot this".
I made my question general as such because I intended on trying to troubleshoot on my own in order to better understand the issue.
Thank you for stating the obvious, not all first time forum posters are completely unaware of how to ask questions properly. -
DreamWeaver Template - How to remove a border?
Hi Folks,
I'm a newbie here.
I decided to use a dreamweaver template to start my website. I want to remove the border of the template...as well as to make the Left and Right hand side "margins" the same background color as the webpage... can anyone tell me where to start on this? Thanks for the help,
JoeFor myself, the best place to learn about this sort of thing is staring you in the face... I don't like books. I find that suffering thru solving things is the best way to learn. The internet is a very good resource, and taking a course or two never hurt me, though I usually had most courses completed by the second class (I couldn't put this stuff down once I started).
Dreamweaver is just a tool...one of a few fairly decent ones. Learning how to use it is nice, but the more important things to learn are the languages of web design, which can be overwhelming to catch and keep up with. For the basics, I'd say you want to get neck deep into HTML, CSS, and Javascript.
I don't do web design on a continuous basis... my dealings are more often in the Flash realm. Other folks here may have other recommendations that may be better advice to follow. You'll probably find a few postings where someone has asked how to learn what, so look around a bit. If you don't find anything, just ask it straight out as a new posting. -
Heyyy,
I have been trying to set up some Dreamweaver Template files.
I have defined an editable region for the content to go in, I then create a new file using this template and start editing the page. However when I put in too much content, the editibale region doesnt flow or stretch its height to match the content. (I have attached a screenshot of DW to show that the design looks fine, but you can tell that the content overflows the editable region guidelines)
This isn't a problem in any browser apart from IE7 (which I have attached a screenshot of to show you what is happening) where the content doesn't display properly.
I was just wondering if anyone might know how to correct this issue? If I need to provide any more details, code or screenshots it would be great if you could let me know. And thanks for any help offered!
Cheers,
EzraEzra-The best thing you can do to get help on this is put that page out there on a web server and provide a link. That will give the very helpful people here all the resouces needed to view what might be causing your problem. If you don't do this, it's just a guessing game that really nobody wants to play.
-
hi, i am having trouble with a dreamweaver template. the
links in the template do not match the links in the pages i have
created using that template, in that they have a
"..template/somepage.html" whereas in the template it is just
"somepage.html". why does it do this? i have recreated the page,
reapplied the template to the page, recreated my site cache,
recreated a template and a new page and it still isn't working. ??
i am sure it is a simple answer but after reading through the
forums i am not sure what my next step should be.
thank you.> "somepage.html".
If you have a link like that in a template file then you have
made a
mistake. You should never have links that imply other files
are at the same
folder level as the template itself. The most common cause
for this is to
manually enter the link into the template file. Don't do
that. Use the
Browse function to browse to and select the desired target
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
==================
"chrissy b" <[email protected]> wrote in
message
news:e4lc0i$7fb$[email protected]..
> hi, i am having trouble with a dreamweaver template. the
links in the
> template
> do not match the links in the pages i have created using
that template, in
> that
> they have a "..template/somepage.html" whereas in the
template it is just
> "somepage.html". why does it do this? i have recreated
the page,
> reapplied
> the template to the page, recreated my site cache,
recreated a template
> and a
> new page and it still isn't working. ?? i am sure it is
a simple answer
> but
> after reading through the forums i am not sure what my
next step should
> be.
>
> thank you.
>
Maybe you are looking for
-
XMLParseException Bursting with nested empty tags
The following XML gives us this error under 5.6.2 Burster: oracle.apps.xdo.batch.BurstingProcessorEngine][EXCEPTION] oracle.xml.parser.v2.XMLParseException: Unexpected EOF. at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:233) .... and so o
-
MM - Retrieve List of G/L Account
Dear experts, For PR creation, how to retrieve the list of G/L account and what it based on? Thank you. Regards, Weng Edited by: Weng on Feb 7, 2009 6:45 AM
-
Permanently Widen Finder View Column Width
I am familiar with the method to get a full/wider view of a Finder column when I'm there, but the column width goes back to its original width when the Finder is closed. Any way that anyone knows to set and maintain a wide column view after closing F
-
Hi I am trying on selectOneMenu to show div elements as per selection particular div will be shown code for that is <h:selectOneMenu id="cars" onchange="selection();" value="#{myBean.carType}" > <f:selectItem itemValue="Select Type..." /> <f:selectI
-
Labview vs visual basic vs visual C
Hi, I am hoping to get advice about LabVIEW vs Visual Basic/C for developing education software. I have programmed in LabVIEW for test and measurement applications. I have also programmed a couple of short programs in C, but have never programmed i