Ask a Question related to Dreamweaver AppDev, Design and Development.
-
JPete #1
Help with Templates & CSS
I'm having a problem with a dreamweaver template that I created with an
external CSS. When I make changes to the CSS, the corresponding template
updates accordingly - so far so good. However, when I open the template in
Contribute, my CSS changes do not appear. The only way I've found to see these
CSS changes in Contribute is if after I change my CSS, I open my template file,
make a "fake change" (to bring in the new CSS changes) and save the template
file.
I thought the whole benefit of CSS is that any template/page that references
it will always pull in the latest changes? What happens when I have 20
templates that use this CSS? I have to resave all 20 templates whenever I make
a change to the underlying CSS?? Please tell me I"m missing something.
JPete Guest
-
Libraries, Templates, Nested Templates, Repeat Regions,
Hi I have eight categories to display in my site navigation. Each category has at least one (some have two) levels of subcategories. For example... -
No Templates
Hello, My problem is that I have no templates in Contribute 3.0. I have tried whit but no result. Can I download all the templates or have... -
Issues with templates and nested templates
Hello, I hope there is someone out there that can help me. I created a website using 1 main template and several nested templates. Everything... -
PHP Templates
i need to place a block of PHP code at the start of every page - BEFORE anything & everything; otherwise i get the infamous 'headers already sent'.... -
Dreameaver Templates Applide to Templates?
Hello, I was updating pages using templates today and I found that I had to create several templates to cover different styles of pages. There... -
Murray *TMM* #2
Re: Help with Templates & CSS
Something is clearly wrong. Can you show me your template, please?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"JPete" <webforumsuser@macromedia.com> wrote in message
news:d2cdjj$195$1@forums.macromedia.com...> I'm having a problem with a dreamweaver template that I created with an
> external CSS. When I make changes to the CSS, the corresponding template
> updates accordingly - so far so good. However, when I open the template
> in
> Contribute, my CSS changes do not appear. The only way I've found to see
> these
> CSS changes in Contribute is if after I change my CSS, I open my template
> file,
> make a "fake change" (to bring in the new CSS changes) and save the
> template
> file.
>
> I thought the whole benefit of CSS is that any template/page that
> references
> it will always pull in the latest changes? What happens when I have 20
> templates that use this CSS? I have to resave all 20 templates whenever I
> make
> a change to the underlying CSS?? Please tell me I"m missing something.
>
Murray *TMM* Guest
-
JPete #3
Re: Help with Templates & CSS
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- DW6 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<LINK href="../MobilityReport.css" type="text/css" rel="STYLESHEET">
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --><!--
TemplateParam name="PageHeader" type="boolean" value="true" -->
<style type="text/css">
<!--
body {
margin-top: 5px;
}
a:hover {
color: #E0DFE3;
}
-->
</style>
</head>
<body>
<div id ="mastpage">
<div id="masthead">
<div align="left"><img src="../corpc/gen/scripts/images/headerforweb.jpg"
alt="" width="715" height="87" border="0">
</div>
<div id="globalNav">
<div id="globalNavLink">Home</a></div>
<div id="globalNavSpacer">•</div>
<div id="globalNavLink">Contact Us</div>
</div>
<div id="SideNavBar">
<div id="search">
<form action="#">
<label>search</label>
<input name="searchFor" type="text" size="10">
<input name="goButton" type="submit" value="go">
</form>
</div>
<!-- TemplateBeginEditable name="BVSNavHeader" -->
<div id="BVSNavHeader" align="center">BUSINESS SERVICES</div>
<div class="NavStoryLink">BVS Story Headlines</div>
</p>
<!-- TemplateEndEditable -->
<br>
<!-- TemplateBeginEditable name="GMSNavHeader" -->
<div id="GMSNavHeader" align="center">GLOBAL SERVICES</div>
<div class="NavStoryLink">GMS Story Headlines</div>
<!-- TemplateEndEditable -->
<br>
<!-- TemplateBeginEditable name="TMSNavHeader" -->
<div id="TMSNavHeader" align="center">TRAVEL SERVICES</div>
<div class="NavStoryLink">TMS Story Headlines</div>
<!-- TemplateEndEditable -->
<br>
</div>
<br>
<!-- TemplateBeginEditable name="Content" -->
<div id="Content">
<p><img src="" alt="" width="100" height="100" style="float:left"> User
Content<br>
</p>
</div>
<!-- TemplateEndEditable -->
</div>
</div>
</body>
</html>
JPete Guest
-
Murray *TMM* #4
Re: Help with Templates & CSS
Simple enough. And when you create a child from this, the CSS is not
expressed?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"JPete" <webforumsuser@macromedia.com> wrote in message
news:d2cic8$7uh$1@forums.macromedia.com...> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <!-- DW6 -->
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <!-- TemplateBeginEditable name="doctitle" -->
> <title>Untitled Document</title>
> <!-- TemplateEndEditable -->
> <LINK href="../MobilityReport.css" type="text/css" rel="STYLESHEET">
> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --><!--
> TemplateParam name="PageHeader" type="boolean" value="true" -->
> <style type="text/css">
> <!--
> body {
> margin-top: 5px;
> }
> a:hover {
> color: #E0DFE3;
> }
> -->
> </style>
> </head>
> <body>
> <div id ="mastpage">
>
> <div id="masthead">
> <div align="left"><img src="../corpc/gen/scripts/images/headerforweb.jpg"
> alt="" width="715" height="87" border="0">
> </div>
>
> <div id="globalNav">
> <div id="globalNavLink">Home</a></div>
> <div id="globalNavSpacer">•</div>
> <div id="globalNavLink">Contact Us</div>
> </div>
>
> <div id="SideNavBar">
> <div id="search">
> <form action="#">
> <label>search</label>
> <input name="searchFor" type="text" size="10">
> <input name="goButton" type="submit" value="go">
> </form>
> </div>
>
> <!-- TemplateBeginEditable name="BVSNavHeader" -->
> <div id="BVSNavHeader" align="center">BUSINESS SERVICES</div>
> <div class="NavStoryLink">BVS Story Headlines</div>
> </p>
> <!-- TemplateEndEditable -->
> <br>
> <!-- TemplateBeginEditable name="GMSNavHeader" -->
> <div id="GMSNavHeader" align="center">GLOBAL SERVICES</div>
> <div class="NavStoryLink">GMS Story Headlines</div>
> <!-- TemplateEndEditable -->
> <br>
> <!-- TemplateBeginEditable name="TMSNavHeader" -->
> <div id="TMSNavHeader" align="center">TRAVEL SERVICES</div>
> <div class="NavStoryLink">TMS Story Headlines</div>
> <!-- TemplateEndEditable -->
> <br>
> </div>
> <br>
> <!-- TemplateBeginEditable name="Content" -->
> <div id="Content">
> <p><img src="" alt="" width="100" height="100" style="float:left"> User
> Content<br>
> </p>
> </div>
> <!-- TemplateEndEditable -->
>
> </div>
>
> </div>
>
>
> </body>
> </html>
>
>
Murray *TMM* Guest
-
JPete #5
Re: Help with Templates & CSS
Yes and no.....For example, I'll make a change to the font size in the content
tag in the CSS, save the CSS and the font in the template changes accordingly.
However, when I open Contribute and create a new web page based on that
template, the change I made to the font size does not appear. The only way
I've found to see my changes appear in Contribute is to modify the template
after I change the CSS and save the template. Its almost as if Contribute has
a cached version of the template???
JPete Guest
-
Murray *TMM* #6
Re: Help with Templates & CSS
Here's how templates work with Contribute.
When you connect to the site with Contribute (or open CT if it is the only
site you have defined for CT), it downloads the Templates from the remote
server so that it will always have a refreshed version of the latest
template instance ON THE SERVER.
When you use DW to make a change to a stylesheet or a template (in a CT
enabled site), these files will be automatically uploaded to the server so
that they are ready for the next CT user.
If you connected to the site with CT first, and THEN made a change to the
template in DW, CT now has an out of date Template.
The moral to the story is this - if you are going to be making changes to
templates on a CT enabled site, you must require all CT users to close CT.
They can only go back onto the site AFTER you give the all-clear, i.e.,
after the files have all been uploaded.
Might that be the problem for you?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"JPete" <webforumsuser@macromedia.com> wrote in message
news:d2ebo7$piu$1@forums.macromedia.com...> Yes and no.....For example, I'll make a change to the font size in the
> content
> tag in the CSS, save the CSS and the font in the template changes
> accordingly.
> However, when I open Contribute and create a new web page based on that
> template, the change I made to the font size does not appear. The only
> way
> I've found to see my changes appear in Contribute is to modify the
> template
> after I change the CSS and save the template. Its almost as if
> Contribute has
> a cached version of the template???
>
Murray *TMM* Guest
-
JPete #7
Re: Help with Templates & CSS
No - I don't have a problem with that (if that's how I could get it to work)
I'll make a change to the CSS and THEN open Contribute only to find that my
template doesn't have the latest CSS modifications. I've checked the CSS on
the server and the date/time stamp on it has been updated - so I know the
server has the latest copy. The date/time on template hasn't changed - but
that's because I didn't change the template - just the CSS.
JPete Guest
-
Murray *TMM* #8
Re: Help with Templates & CSS
So - you change the CSS file locally. Then you upload it to the server. You
verify that the CSS on the server is showing the same timestamp as the local
file (did you try GETting that file and examining it?). You then connect to
the site with CT. The CSS changes are not shown?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"JPete" <webforumsuser@macromedia.com> wrote in message
news:d2ee2b$t9d$1@forums.macromedia.com...> No - I don't have a problem with that (if that's how I could get it to
> work)
> I'll make a change to the CSS and THEN open Contribute only to find that
> my
> template doesn't have the latest CSS modifications. I've checked the CSS
> on
> the server and the date/time stamp on it has been updated - so I know the
> server has the latest copy. The date/time on template hasn't changed -
> but
> that's because I didn't change the template - just the CSS.
>
Murray *TMM* Guest
-
JPete #9
Re: Help with Templates & CSS
I was working directly off the files on the server in DW.
JPete Guest
-
Murray *TMM* #10
Re: Help with Templates & CSS
Hmm - that's a new wrinkle.
So that means that the CSS file is written directly to the CT site?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"JPete" <webforumsuser@macromedia.com> wrote in message
news:d2eirb$76e$1@forums.macromedia.com...>I was working directly off the files on the server in DW.
Murray *TMM* Guest
-
JPete #11
Re: Help with Templates & CSS
Yes - I was updating the CSS and templates right off the server.
JPete Guest
-
JPete #12
Re: Help with Templates & CSS
OK, it may be working now - sort of. When I open Contribute and click on the
refresh templates button, the preview pane diplays an out of date picture of my
template. Also, none of my CSS changes are visible while I'm in edit mode of
my new (unpublished page). However, once I publish the page and I view the
page in Contribute's browser, my CSS changes are appearing.
My question though is why doesn't Contribute diplay the template with the most
recent CSS. Why don't I see it until the new page has been published?
I have a feeling that this is going to be a stumbling block for our Contribute
users whenever we have to make a change to our CSS. When they create a new
page based on the template, they won't see the CSS change until the new page is
published.
JPete Guest
-
Murray *TMM* #13
Re: Help with Templates & CSS
I have asked for assistance from a 'higher authority'. I am not sure about
the use of an RDS site with Contribute.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"JPete" <webforumsuser@macromedia.com> wrote in message
news:d2eoa6$fak$1@forums.macromedia.com...> OK, it may be working now - sort of. When I open Contribute and click on
> the
> refresh templates button, the preview pane diplays an out of date picture
> of my
> template. Also, none of my CSS changes are visible while I'm in edit mode
> of
> my new (unpublished page). However, once I publish the page and I view
> the
> page in Contribute's browser, my CSS changes are appearing.
>
> My question though is why doesn't Contribute diplay the template with the
> most
> recent CSS. Why don't I see it until the new page has been published?
>
> I have a feeling that this is going to be a stumbling block for our
> Contribute
> users whenever we have to make a change to our CSS. When they create a
> new
> page based on the template, they won't see the CSS change until the new
> page is
> published.
>
Murray *TMM* Guest
-
JPete #14
Re: Help with Templates & CSS
Not sure what you mean by "the use of an RDS site with Contribute"???
JPete Guest
-
Murray *TMM* #15
Re: Help with Templates & CSS
You have an RDS site in DW, right? You are editing directly on the server?
Or are you saying that your DW LOCAL site is the server already?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"JPete" <webforumsuser@macromedia.com> wrote in message
news:d2es94$l6n$1@forums.macromedia.com...> Not sure what you mean by "the use of an RDS site with Contribute"???
Murray *TMM* Guest
-
JPete #16
Re: Help with Templates & CSS
We have a development web server (not my localhost) that I was connecting to
directly with DW and updating the templates and CSS. I've since changed and am
modifying the CSS and templates locally and moving the files to the develoment
web server where Contribute has a connection to. Regardless, the results are
the same.
JPete Guest
-
sfegette #17
Re: Help with Templates & CSS
My $.02 (disclaimer- I'm not technical support nor on the Contribute team):
When you click 'refresh template', the *template file* is checked for
differences, and if there are none, no action is taken (at least for the CT
preview). You're making changes only in the CSS file, which I believe is
cached locally in CT and not necessarily picked up when Contribute compares the
users' local template file to the one on the server (since the template itself
did not change). This should also explain why when you make a minor change to
the template, you then see the changes reflect in CT.
My recommendation would be to report this as a bug/feature request using the
following URL, as although it's a new one to me, I was able to confirm it:
[url]http://www.macromedia.com/go/wish/[/url]
Definitely an area of improvement that the product team could consider. In
the meantime, you will likely be able to simply 'dirty up' the template (open
it, make a one-character change, revert the change, save the template) to make
the date/time different and force CT users to pull down a new preview/version
of the CSS file when you make minor CSS tweaks. Obviously if you're changing
the CSS on a daily basis this could become a bit tedious, but in most
development flows changes like that aren't a daily occurrence- which might
explain why we've never heard this particular issue before now.
Beyond that, I'd have to defer to support (did you open a ticket on this?) for
further diagnosis/suggestions.
HTH! (and for the record- RDS servers should have no bearing on this problem-
that's just a means for connecting and managing files on a remote server).
-Scott
Macromedia, Inc.
sfegette Guest
-
Murray *TMM* #18
Re: Help with Templates & CSS
Thanks, Scott.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"sfegette" <webforumsuser@macromedia.com> wrote in message
news:d2kcb3$opr$1@forums.macromedia.com...> My $.02 (disclaimer- I'm not technical support nor on the Contribute
> team):
>
> When you click 'refresh template', the *template file* is checked for
> differences, and if there are none, no action is taken (at least for the
> CT
> preview). You're making changes only in the CSS file, which I believe is
> cached locally in CT and not necessarily picked up when Contribute
> compares the
> users' local template file to the one on the server (since the template
> itself
> did not change). This should also explain why when you make a minor
> change to
> the template, you then see the changes reflect in CT.
>
> My recommendation would be to report this as a bug/feature request using
> the
> following URL, as although it's a new one to me, I was able to confirm it:
> [url]http://www.macromedia.com/go/wish/[/url]
>
> Definitely an area of improvement that the product team could consider.
> In
> the meantime, you will likely be able to simply 'dirty up' the template
> (open
> it, make a one-character change, revert the change, save the template) to
> make
> the date/time different and force CT users to pull down a new
> preview/version
> of the CSS file when you make minor CSS tweaks. Obviously if you're
> changing
> the CSS on a daily basis this could become a bit tedious, but in most
> development flows changes like that aren't a daily occurrence- which might
> explain why we've never heard this particular issue before now.
> Beyond that, I'd have to defer to support (did you open a ticket on this?)
> for
> further diagnosis/suggestions.
>
> HTH! (and for the record- RDS servers should have no bearing on this
> problem-
> that's just a means for connecting and managing files on a remote server).
>
> -Scott
> Macromedia, Inc.
>
Murray *TMM* Guest



Reply With Quote

