Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Problem with Dreamweaver Template?
Old 12-24-2005, 02:37 PM Problem with Dreamweaver Template?
Junior Talker

Posts: 4
Trades: 0
Hi all,

I'm hoping someone will be able to help me out with this.

I'm building a new site from scratch using DW. Everything was going fine until today, and I'm not quite sure what happened.

I built a template on which to base most of my site's pages, and it seemed to do the trick. Updates to the template were reflected in the dependent, files, etc. But at some point this stopped working, and I got all confused what with the filepaths that the template appeared to be inserting into the code for the dependent files (i.e. "Templates/shoes.html" or "../shoes.html", both of which appeared in the code of different dependent pages at different times.

I got so fed up that I decided to just start building the site all over again, so I set up a new Site definition in DW and got to work. I set up a new template, and now whenever I try to create a new file based on that template, I get these crazy filepaths that have replaced all my links! This is what it looks like:

href="file:///C|/Documents%20and%20Setting...ite/shoes.html"> Shoes

The code looks fine in the .dwt template file - it's just the new files I'm creating that have this filepath that refers to my hard drive.

What's going on here? If anyone could provide some assistance, it would be GREATLY appreciated.
OO7girl is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-24-2005, 03:21 PM
Junior Talker

Posts: 4
Trades: 0
Ok, I got the filepath issue to go away and everything seems to be (sort of) ok. But now my problem is that changes made to my template are once again not being reflected in my pages that use the template.

Is there some trick I should be using, such as only updating the template when all those files are open or closed or something?

All I'm trying to do is change a link on the nav bar in the template from pointing to "newsletter.html" to point to "subscribe.html" - very simple.
OO7girl is offline
Reply With Quote
View Public Profile
 
Old 12-24-2005, 03:29 PM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
Welcome to WT



if the changes are made to an editable region, then they will not affect the other pages.

using the templating system, you can only update the non-editable regions.

check if the nav bar is a editable or a non editable region.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 12-24-2005, 06:49 PM
Junior Talker

Posts: 4
Trades: 0
It's definitely a non-editable region, which is what is so strange! The only editable region I have in my template is a certain table on the RH side of the page.
OO7girl is offline
Reply With Quote
View Public Profile
 
Old 12-24-2005, 06:53 PM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
sometimes it might throw strange errors if u havent created a site for the files.
try doing that and see.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with Dreamweaver Template?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20878 seconds with 12 queries