Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
TSPIM #1
Template Cache
Is there a cached version of the site template which Contribute uses to create
and display pages - if so where is it held and can it be removed to force a
refresh of the template code in all pages that use that template. I have found
some topic threads helpful but cannot resolve our issues of Contribute using
previous versions of the site template.
TSPIM Guest
-
template inside another template
Hi All! I have a problem with templates! As far as I know there is a nested template in dw. A nested template means that a template can be... -
Clear Template Cache in CFMX 6
I need to empty the template cache in ColdFusion MX 6. The C:\CFusionMX\cache folder is empty. We are getting CF pages showing up months after they... -
Cache Changes
I am having a problem with contribute not publishing my edits to a document. While in edit mode changes appear accurate. once the document is... -
install HTML::Template - Problem reading cache file / Bad file number
i get the following error when i try to install HTML::Template to my local space, ie, not as root: +---------------------------- % perl -MCPAN... -
Using a Template as the base for another Template
Hi, - Dreamweaver MX - Created a HTML-Template with some menu-items (normal hyperlinks) - I need to create on that menu-items some submenu-items... -
cmitchell #2
Re: Template Cache
No, there is not a cached version of the template. If you want to
update the code in pages using a template you need to "get" or
synchronize, all of the files locally with Dreamweaver, update the
template and all the files associated with that template and then "put"
or synchronize, the pages back up to the web server. Make sure your
users have published all of their pages before you do this so
everything is unlocked. Also make sure that you check in all of the
pages you updated when you're done so your users can edit.
The next time the user connects to the web site with Contribute, their
version of the template will be updated so they make new pages with the
updated template.
Christine
cmitchell Guest
-
Murray *TMM* #3
Re: Template Cache
As far as I know, templates are not cached. When the administrator makes a
change to the template and upsynchs the site (or when the site is initially
created/made CT compatible), all templates are uploaded to the server. When
the CT user logs on, the first thing that happens is that the templates are
downsynched.
Now - IF the administrator makes a change to a template and then upsynchs,
WHILE a CT user is logged on, this could cause problems with template
versions - might that be what you are seeing?
--
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
==================
"TSPIM" <webforumsuser@macromedia.com> wrote in message
news:d09ufm$60h$1@forums.macromedia.com...> Is there a cached version of the site template which Contribute uses to
> create
> and display pages - if so where is it held and can it be removed to force
> a
> refresh of the template code in all pages that use that template. I have
> found
> some topic threads helpful but cannot resolve our issues of Contribute
> using
> previous versions of the site template.
>
Murray *TMM* Guest
-
TSPIM #4
Re: Template Cache
Thanks for suggestion. However, we make sure all our CT users are not editing
before we downsynch, make the template changes then upsynch the site before
giving the OK for CT users to restart editing. See
[url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=290&[/url]
threadid=953800 for further details.
TSPIM Guest
-
Murray *TMM* #5
Re: Template Cache
Sorry - that link takes me to an error page (even after concatenating the
next line).
There is no template cache operating. In the circumstance that you have
described in this thread, all template files are pulled from the server into
each CT editor's local site when they connect. If the server's templates
are updated and current, so will be the editor's templates.
--
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
==================
"TSPIM" <webforumsuser@macromedia.com> wrote in message
news:d0h6kg$438$1@forums.macromedia.com...> Thanks for suggestion. However, we make sure all our CT users are not
> editing
> before we downsynch, make the template changes then upsynch the site
> before
> giving the OK for CT users to restart editing. See
> [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=290&[/url]
> threadid=953800 for further details.
>
Murray *TMM* Guest
-
TSPIM #6
Re: Template Cache
sorry correct URL is:
[url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=290&[/url]
threadid=949797&highlight_key=y&keyword1=t emplate%20refresh All our CT
users have been connected using an emailed connection key as they connect
directly to our internal Intranet webserver effectively as one of their local
network drives - should the keys need to be re-disseminated following any
template refresh ?
TSPIM Guest
-
Murray *TMM* #7
Re: Template Cache
> should the keys need to be re-disseminated following any
No. But tell me - is there a proxy cache on this server?> template refresh ?
--
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
==================
"TSPIM" <webforumsuser@macromedia.com> wrote in message
news:d0hrmh$bh6$1@forums.macromedia.com...> sorry correct URL is:
> [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=290&[/url]
> threadid=949797&highlight_key=y&keyword1=t emplate%20refresh All
> our CT
> users have been connected using an emailed connection key as they connect
> directly to our internal Intranet webserver effectively as one of their
> local
> network drives - should the keys need to be re-disseminated following any
> template refresh ?
>
Murray *TMM* Guest
-
-
Murray *TMM* #9
Re: Template Cache
<shrug>
Then I'm at a loss. When a CT editor connects to the site, the templates
are all downsynched. When you as the admin connect to the site and make
changes to a template file, those changed files are all upsynched. There is
no cache involved.
--
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
==================
"TSPIM" <webforumsuser@macromedia.com> wrote in message
news:d0jv18$hhv$1@forums.macromedia.com...> no, no proxy cache
Murray *TMM* Guest
-
virtuaffinity #10
Re: Template Cache
I'm not sure this is strictly true. We've had a problem over the last couple of
days where one of our editors has been seeing the site with an old CSS file
when he's been editing even though that CSS file isn't on the server anymore.
It's been driving me crazy. At one point I even deleted the CSS completely
from the server and when the editor browsed the site in contribute he saw the
site without the CSS. When he went to edit the page however it displayed with
the old CSS file.
I just searched my local drive and found that contribute does indeed create a
local cache of the site at: c:\ Documents and Settings\User\Local
Settings\Application Data\Macromedia\Contribute 3\Sites\Site whatever.
Looks like contribute caches the notes, images, templates and any other
external files like CSS and JS files but not the html files themselves.
virtuaffinity Guest
-
Murray *TMM* #11
Re: Template Cache
Yeah - but it refreshes that cache each time it connects.
--
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
==================
"virtuaffinity" <webforumsuser@macromedia.com> wrote in message
news:d2em7b$c63$1@forums.macromedia.com...> I'm not sure this is strictly true. We've had a problem over the last
> couple of
> days where one of our editors has been seeing the site with an old CSS
> file
> when he's been editing even though that CSS file isn't on the server
> anymore.
>
> It's been driving me crazy. At one point I even deleted the CSS completely
> from the server and when the editor browsed the site in contribute he saw
> the
> site without the CSS. When he went to edit the page however it displayed
> with
> the old CSS file.
>
> I just searched my local drive and found that contribute does indeed
> create a
> local cache of the site at: c:\ Documents and Settings\User\Local
> Settings\Application Data\Macromedia\Contribute 3\Sites\Site whatever.
>
> Looks like contribute caches the notes, images, templates and any other
> external files like CSS and JS files but not the html files themselves.
>
Murray *TMM* Guest
-
virtuaffinity #12
Re: Template Cache
I don't agree, it wasn't until our editor removed the CSS file from the cache and connected again that he recieved the new file.
virtuaffinity Guest
-
itchylick #13
Re: Template Cache
I'm having the same problem and would really like to understand what's going on
here. I've been testing with Contribute's cache folder open to see what happens
when I edit a file. I've been getting very different results for no reason that
I can come up with.
(note: I am using a server-side include to reference an external style sheet)
*Starting with an empty cache folder:
The first time I enter edit mode, Contribute will cache my server-side include
and the .css file that it is referencing. The page displays as expected. When I
exit edit mode, the .css file disappears from the cache folder, but the
server-side include stays cached. Since the include file is now cached, it no
longer gets processed and the .css file never gets cached again. The page now
falls apart each time I go back into edit mode.
I've been playing around with this for two days now and I've had inconsistent
behavior from the cache folder the whole time. Sometimes it clears out all the
contents, sometimes only one or two files. I can't seem to make it do anything
consistently. Very frustrating.
The only solution that I can come up with (and may have to do if I can't find
an answer) is to just hardcode the .css call into each page. That seems to be
the only way to ensure that it gets cached each time a user edits a page. I'd
prefer to keep my head code in the ssi, but alas.
If anyone can offer an explanation (or even better, a solution) I'd be most
gracious.
Thanks.
itchylick Guest
-
Chris in YVR #14
Re: Template Cache
There is absolutely some sort of template-refresh bug in Contribute. I've read
through all the threads related to "template refresh", and there are no real
solutions here--just configuration suggestions that are obvious to anyone
that's spent some time with Contribute.
To state the problem, once again, for Macromedia's benefit:
1) I modify template X in Dreamweaver. I update all pages based on that
template. I check in my changes.
2) I view page X in Contribute. It shows my template modification.
3) I click "Edit this page".
4) My template modification disappears. The old template is used.
5) It does not matter if I restart my computer, log on or off, check in or
out, or click "refresh templates". I cannot get the new template to show up.
6) At some later date, the template will spontaneously appear.
Please, please solve this problem in Contribute 3.2. It's costing the world
economy millions of dollars.
Chris in YVR Guest
-
itchylick #15
Re: Template Cache
That's interesting. I have not experienced that myself. Just a thought ...
Did you check in the updated .dwt file at the same time as your updated html pages?
itchylick Guest
-
Chris in YVR #16
Re: Template Cache
Yes.
My problem is the same as TSPIM describes at the beginning of this thread. It's a bug in Contribute.
Chris in YVR Guest
-
TSPIM #17
Re: Template Cache
We have circumvented this bug by removing parts of the template that were
previously being affected by Contribute (CT) into SSI files. The references to
external files do not appear to be affected by edits in CT.
TSPIM Guest
-
tj@cde #18
Re: Template Cache
We are experiencing the same issue (intermittently). Any suggestions are appreciated.
tj@cde Guest
-
tj@cde #19
Re: Template Cache
We have been experiencing a similar issue. We would make a change to a template
using DreamWeaver 7.0 and most of our Contribute users (we have about 90), when
creating a new page, would use the correct updated template. However, a couple
of our Contribute users would be presented with an old/out dated template that
was no longer even on the server, even when the clicked on the "Refresh
Template" button when creating a new page. Very confusing. :confused;
:D Possible fix for Template Refresh Bug:
Anyway, I checked several Contribute forums finding users with a similar
issue, but no resolution. Then, thought I would check the DreamWeaver forum. I
found that there was a template bug with DreamWeaver 7.0 and an update to fix
the bug (Dreamweaver MX 2004 to version 7.0.1 update). After I updated
DreamWeaver to 7.0.1, made a small template change (added a space then deleted
it), re-saved the template, now the Contribute issue appears (so far) to be
resolved. I will post again if the issue returns; however I'm keeping my
fingers crossed that this will permanently resolve the issue.
Good luck
tj@cde Guest



Reply With Quote

