Links in Templates
In my template I have links such as "../image/logoTextNew.png". When I generate a new page it becomes "file:///D|/Web Developments/HMDSN/image/logoTextNew.png". I have generated a number of pages correctly but now, all of a sudddent this has happened and I don't know why. Can anyone help, it has brought my development to a complete halt.
Thanks
Gerry
It starts off as "behavior: url(../phpScripts/PIE.htc)".
That's consistent with the link being in a TEMPLATE file.
All links in the TEMPLATE file should be one of three kinds -
1. Relative to the template file, e.g.,
<a href="../ (meaning that you must go up one level from the template folder
to reach the root of the site, hence all other files, since none of them
should be in the templates folder)
2. Relative to the site root, e.g.,
<a href="/ (meaning that one would begin looking for the linked file at the
root of the site and follow the pathing from that point)
3. Absolute, e.g.,
<a href="http:// (meaning that the link is to a page external to the site).
Similar Messages
-
Links in template don't work in the children
I have created a template in CS4 with graphic roll over links. I have made six pages from this template and then gone back to the template to connect the links in the menu bar. Why don't the links work on the six pages in a browser?
Hi, Cheese,
It sounds as if the updated files were not uploaded to the server.
Or perhaps the links were not properly propagated from the Template file to the child pages:
Re-open your template file and remake the links by using the browse to file method (in the Properties Inspector). If your graphic rollovers use javascript, you may need to reapply the javascript. Don't try to type in the paths for the links; the Template has its own methods for sorting out what the links need to be on child pages.
Save the file. Click "yes" when the dialog box asks if you want to update files that depend on the template.
Any of those files that are open at the time you do this will have to be saved again (Save All). Those that are not opened will be updated in the background.
Upload ("Put") all the updated files to your server.
Z -
How would I link different templates layout together
Hi
I'm new here but not new to Dreamweaver. But having said that I never used the "save as template" for multiple page layout, if that's possible at all.
The website I'm working on has 4 different page layout and I'm wondering if I can link the templates together so I don't have to go over each templates to make changes to the navigation as the site grows.
The site will eventually end up with hundreds of pages using the 4 layouts and possibly more down the road. Hence the reason why I'm trying to find a way to link all the templates together.
I'm using Dreamweaver cc and the site is html.
Any advice would be much appreciated.
Thank
JoeNested Templates are bad news. There's no reason to use them. Don't go down this slippery slope. In fact, there's no reason to use 4 Templates. It unnecessarily complicates your site. One template that contains everything you need for your entire site is all that's required. Learn to use "Optional Editable Regions" and embedded CSS code for page specific styles. One Template makes your life so much easier .
Nancy O. -
Updating sniffer code link in Template
I have a horizontal CSS menu in a DW template that requires a
bit of sniffer code to work properly in IE
Below is the code in the template:
<!--[if lt IE 8]>
<style type="text/css" media="screen">
#menuh{float:none;}
body{behavior:url(../ebs/csshover.htc); font-size:100%;}
#menuh ul li{float:left; width: 100%;}
#menuh a{height:1%;font:bold 0.7em/1.4em arial, sans-serif;}
</style>
<![endif]-->
Child pages of the template do not update the path to
csshover.htc to create the proper relative path.
Is there anything I can do to make this section get updated?
Thanks,
JeggerHere are seven common mistakes that will result in changes
not propagating
from Template to child -
1. Rename the Templates folder
2. Move the Templates folder to some other folder level in
the site other
than root level
3. Move a template out of the Templates folder.
4. Make changes to an editable region of the template (which
will not
propagate)
5. Assume that template changes can be uploaded to the server
without also
uploading the changed local files
6. Corrupt the site cache so that the link between template
and child page
is broken
7, Improperly create your child pages by simply opening the
template,
adding page specific content, and resaving the template with
an *.html
extension rather that its *.dwt extension. (you can tell if
this is the case
by looking at the code on a child page - if you see anything
like <!--
TemplateBeginEditable... then this is what you have done)
The 6th problem can be repaired by using SITE | Advanced >
Recreate Site
Cache, and the six others can be fixed by just not doing
them. Have you
done any of those?
Or, read this -
http://www.adobe.com/go/dd83ba8b
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
==================
"mmazza" <[email protected]> wrote in
message
news:fnnjsf$bfs$[email protected]..
>I have an email link in my site's template that when I
change the links
>properties, it doesn't update on the linked pages. Any
suggestions? -
File link to template is being changed
Hi all,
Does anyone what would change the link to template in a file?
When I look at a file the template info is greyed out and
can't be edited. Considering the following text.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html><!-- InstanceBegin
template="/Templates/Communications_English.dwt"
codeOutsideHTMLIsLocked="false" -->
<head>
Today, I noticed that that file was not displaying pictures
that are set up in the associated template. When I checked the
file, I noticed that the link had changed from relative to
absolute,as seen below.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html><!-- InstanceBegin
template="C:\Communications\wwwTemplates/Communications_English.dwt"
codeOutsideHTMLIsLocked="false" -->
<head>
As I can't can't change template info that shown in the file,
I must recreate it from scratch, apply a template and then save it
as the original file.
What would cause this? Any suggestions on how to avoid it?
Thanks> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
> <html><!-- InstanceBegin
>
template="C:\Communications\wwwTemplates/Communications_English.dwt"
> codeOutsideHTMLIsLocked="false" -->
> <head>
>
> As I can't can't change template info that shown in the
file, I must recreate
> it from scratch, apply a template and then save it as
the original file.
possibles-
-saving the file to outside of the current site definition.
-changing the site definition's Local Site folder so that the
files are no
longer within the Local Site folder, then opening them.
-wild find and replace
-problem between chair and keyboard
to fix-
dw will do find and replaces on that, as long as the file is
not open.
or you can use a different text editor to change it.
in dw, select the files, and in find and replace, change in
selected files.
find in source:
<!-- InstanceBegin
template="C:\Communications\wwwTemplates/
replace:
<!-- InstanceBegin
template="/Templates/ -
Updating Links in Template files
I updated a link in my template file, and everything looked
fine, but after i put the file live, the website still points to
the old link? any ideas?Here are seven common mistakes that will result in changes
not propagating
from Template to child -
1. Rename the Templates folder
2. Move the Templates folder to some other folder level in
the site other
than root level
3. Move a template out of the Templates folder.
4. Make changes to an editable region of the template (which
will not
propagate)
5. Assume that template changes can be uploaded to the server
without also
uploading the changed local files
6. Corrupt the site cache so that the link between template
and child page
is broken
7, Improperly create your child pages by simply opening the
template,
adding page specific content, and resaving the template with
an *.html
extension rather that its *.dwt extension. (you can tell if
this is the case
by looking at the code on a child page - if you see anything
like <!--
TemplateBeginEditable... then this is what you have done). If
you *have
done this*, then recreate the child pages (in DWCS3) using
FILE | New > Page
from Template, select the template and click CREATE.
The 6th problem can be repaired by using SITE | Advanced >
Recreate Site
Cache, and the six others can be fixed by just not doing
them. Have you
done any of those?
Or, read this -
http://www.adobe.com/go/dd83ba8b
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
==================
"dksoccer" <[email protected]> wrote in
message
news:g2h91f$o94$[email protected]..
>I probably misstated that...it isn't the cahe,
dreamweaver itself is still
>pointing to the old page, is there another place that I
need to update
>besides in the template? -
Why do the regular links in template not work on announcement pages?
I am trying to figure out why the regular links (buttons) on top in my template does not work on the announcement pages on my business catalyst website. The links work perfectly fine on the other pages, but when you click on one of the latest news links to the right to read it, it leads you to a page with a url-prefix called announcements, and when you try to get back to one of the other pages by clicking on the buttons at the top for example the register button, it takes you to: http://www.littlefolkies.com/announcements/register instead of http://www.littlefolkies.com/register, and so it gives you a error message: page not found...???
Is there anyone who can help me out? I don't understand why this is happening.
You can try it yourself at www.littlefolkies.com...
I greatly appreciate any guidance!
Thanks so much,
ITake a look at your classes link.
You can see how you have the / in front and the others do not. This is why.
This tells BC to read from the site root. Without it when your inside sub folders (other levels in your url) then it will link to only within that level without the / at the front.
It is the same reason why you do all your templates and css etc with the / in front which I mentioned to you before if I recall.
You can also change the name /announcements in the url in the settings for it if you want to. -
Links in template header to not work when page is in different folder
Hello
I have the following problem: In the header of the template, the links of the menu are written absolute not relative, i.e. http://www.nabilvoyage.com/html/tours.html (not ../html/tours.html). This header is embedded in a template. If I use this template for a html page which is not in the same main folder, the links do not work (see:http://www.nabilvoyage.com/swf/gallery1.html). Can someone please help? Thank you very much.
Sarosa
The template code is:
<!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=UTF-8" />
<META NAME="keywords" CONTENT="Morocco, Transportation, Agency, Transport, Travel, Holiday, Tours, Trips, Morocco Festivals, Morocco Maps, Morocco History, Casablanca, Marrakech, Sahara">
<META NAME="description" CONTENT="Specialized Moroccan Transport Agency offers a variety of trips all over Morocco, wepages offers, Prices, Information about Moroccan History, Morocco Map, Morocco Festival Calendar etc.">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Morocco Ouarzazate Travel Agency - desert trips, excursions</title>
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
.bottom_padding {
padding-bottom: 1px;
.table1bodytoppadding {
padding-top: 20px;
body {
background-color: #D4CBB9;
table {
background-position: center;
.table1body {
border: 1px solid #857362;
.headerpicpadding {
padding-top: 3px;
.table2insidebody {
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
.celltextpadding {
padding: 15px;
.style2 {
font-size: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #45392e;
.style3 {color: #45392e}
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
#mainnav a:link {
text-decoration: none;
color: #45392e;
#mainnav a:visited {
text-decoration: none;
color: #45392e;
#mainnav a:hover {
text-decoration: none;
color: #45392e;
#mainnav a:active {
text-decoration: none;
color: #45392e;
-->
</style>
<script src="../scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
//-->
</script>
<link rel=”shortcut icon” href=”http://www.nabilvoyage.com/favicon.ico” mce_href=”http://www.nabilvoyage.com/favicon.ico”/>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body onload="MM_preloadImages('../pictures/about_down.jpg','../pictures/about_over.jpg','../pi ctures/tours_down.jpg','../pictures/tours_over.jpg','../pictures/photo_down.jpg','../pictu res/photo_over.jpg','../pictures/morocco_down.jpg','../pictures/morocco_over.jpg','../pict ures/links_down.jpg','../pictures/links_over.jpg','../pictures/contact_down.jpg','../pictu res/contact_over.jpg','../pictures/home_down.jpg','../pictures/home_over.jpg')">
<table width="878" align="center" cellpadding="0" cellspacing="0" bordercolor="#D4CBB9" class="table1body">
<tr bgcolor="#D4CBB9">
<td width="872" height="90"><div align="center"><img src="../pictures/header.jpg" alt="nabil voyage header" width="870" height="90" class="headerpicpadding" /></div></td>
</tr>
<tr bgcolor="#D4CBB9">
<td width="872" height="20"><div align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="870" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><a href="http://www.nabilvoyage.com/html/home.html" target="_top" onclick="MM_nbGroup('down','group1','Home','../pictures/home_down.jpg',1)" onmouseover="MM_nbGroup('over','Home','../pictures/home_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="http://www.nabilvoyage.com/pictures/home.jpg" alt="Home button" name="Home" border="0" id="Home" onload="" /></a></td>
<td><a href="../../about.html" target="_top" onclick="MM_nbGroup('down','group1','About','../pictures/about_down.jpg',1)" onmouseover="MM_nbGroup('over','About','../pictures/about_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="http://www.nabilvoyage.com/pictures/about.jpg" alt="About button" name="About" border="0" id="About" onload="" /></a></td>
<td><a href="http://www.nabilvoyage.com/html/tours.html" target="_top" onclick="MM_nbGroup('down','group1','Tours','../pictures/tours_down.jpg',1)" onmouseover="MM_nbGroup('over','Tours','../pictures/tours_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="http://www.nabilvoyage.com/pictures/tours.jpg" alt="Tours button" name="Tours" border="0" id="Tours" onload="" /></a></td>
<td><a href="http://www.nabilvoyage.com/html/galleries.html" target="_top" onclick="MM_nbGroup('down','group1','Photogallery','../pictures/photo_down.jpg',1)" onmouseover="MM_nbGroup('over','Photogallery','../pictures/photo_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="http://www.nabilvoyage.com/pictures/photo.jpg" alt="Photo gallery button" name="Photogallery" border="0" id="Photogallery" onload="" /></a></td>
<td><a href="http://www.nabilvoyage.com/html/morocco.html" target="_top" onclick="MM_nbGroup('down','group1','Morocco','../pictures/morocco_down.jpg',1)" onmouseover="MM_nbGroup('over','Morocco','../pictures/morocco_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="http://www.nabilvoyage.com/pictures/morocco.jpg" alt="Morocco button" name="Morocco" border="0" id="Morocco" onload="" /></a></td>
<td><a href="http://www.nabilvoyage.com/html/links.html" target="_top" onclick="MM_nbGroup('down','group1','Links','../pictures/links_down.jpg',1)" onmouseover="MM_nbGroup('over','Links','../pictures/links_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="http://www.nabilvoyage.com/pictures/links.jpg" alt="Links button" name="Links" border="0" id="Links" onload="" /></a></td>
<td><a href="../html/contact.html" target="_top" onclick="MM_nbGroup('down','group1','Contact','../pictures/contact_down.jpg',1)" onmouseover="MM_nbGroup('over','Contact','../pictures/contact_over.jpg','',1)" onmouseout="MM_nbGroup('out')"><img src="http://www.nabilvoyage.com/pictures/contact.jpg" alt="Contact button" name="Contact" border="0" id="Contact" onload="" /></a></td>
</tr>
</table> </td>
</tr>
</table></td>
</tr>
</table>
</div> <div align="center"></div> </td>
</tr>
<tr bgcolor="#D4CBB9" class="bottom_padding">
<td height="280" align="center" bgcolor="#D4CBB9"><!-- TemplateBeginEditable name="body1" -->
<!-- TemplateEndEditable --></td>
</tr>
<tr class="bottom_padding">
<td height="23"><table width="874" border="0" align="center" class="bottom_padding">
<tr>
<td height="20" bgcolor="#c0b2a1"><div align="center" class="bottom_padding"></div></td>
</tr>
</table></td>
</tr>
</table>
<p align="center"> <span class="style2">© Nabil Voyage 2009 - <a href="http://www.photo-emotions-morocco.com" target="_blank">Realisation Photo Emotions S.A.R.L</a></span><br />
</p>
</body>
</html>Only you will know for sure what you are dealing with, but I do not see the same complete url code in the header of the page you say has a problem. I only see the page filename linked (not http:///www..., just home.html). It may be a case of those pages not using the same template.
-
This is a simple problem that probably has a simple solution.
My links work in the .dwt file itself, but just one of them
(although there are only two at the moment) does not work in the
template-dependent files (my browser can't find the file). I used
point-to-file to create the link.>
http://www.mathgoesawol.com
I can't find any links there or here:
http://www.mathgoesawol.com/Templates/template.dwt
In the template, select the image you want to be a link.
Use the Property inspector to link it
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Links in template not working with index page
Forgive me, I'm a beginner. I have a site I've built using a
template with a header, footer and a side navigation bar. I need to
be able to update the navigation bar regularly. The template is in
the "templates" folder, most pages are in a "pages" folder, and the
index is at the top level (obviously). But the nav bar from the
template doesn't work for the index page - I get an error in which
the path is missing the site name folder. If I move the index page
into the pages folder, it does work - but then the links within the
text of the index page don't work, and the link back to the index
page from the other pages doesn't work either. I can FORCE them all
to work by fiddling with the path names outside of Dreamweaver, but
that's not a practical long-term solution. What am I doing
wrong?DW pop-up menus?
Read these -
http://apptools.com/rants/jsmenu.php
http://apptools.com/rants/menus.php
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
==================
"kjweldon" <[email protected]> wrote in
message
news:ep8be8$no3$[email protected]..
> It's a dropdown menu, presumable Javascript, made using
behaviors. -
Templates link to template folder
hi. I not used to using dreamweaver. I would MUCH rather
write html by hand. but my boss uses DreamWeaver and I am trying to
update a template that he made.
so he created a "site" in dreamweaver so it put all his
files in its own structure and all. but when I update the template
in the template folder and update the pages using the template all
the links and images are linked to the template folder.
It would look like "<a
href="Template/pictures/pic.jpg">" when I just want it to say
"pictures/pic.jpg" but in the template the file is linked properly.
and I can't get DW to look outside of the template folder for
templates.
anyone know how to fix it so that it won't change the links
to look in the folderBall of Snot,
(no offense intended)
I am a little unclear on your post, but I think that if you
reference your template's links to the exact directory the images
are located, the links remain relative wherever the file using the
template is located. I could just be telling you something that
you're already doing....sorry if I am.
I've never seen this as an issue in DW before (are you using
MX, MX 04, or 8?)...
DW won't find Templates outside of the /Templates
folder. -
Design view not showing links in template
Newbie here,
I have downloaded a template from the web, that i wish to
use, but when i try and insert an article onto DW, from
ezinearticle using the html code supplied and pasting into the code
view, the result in the design view is that the links that appeared
on the LHS have disappeared. I need these links to be able to
publish further content onto different pages.
Kind regards
shuks123Hi smartserpent,
Can you post a screenshot of what you are seeing?
Thanks,
Preran -
Setting subglobal links on template
1-21-07
Dear friend,
Is there a ‘user friendly’ way to edit the
subglobal links in a Dreamweaver template? I just can’t
figure them out, and I’ve done a lot of research. From what
I’ve gathered, it seems only doable on the coding level.
Please advise.
Thanks,
Gil vasquezIf you are worried by working in code view, then please
reconsider your use
of these templates. They are NOT (definitely not) for anyone
who is not
pretty comfortable with HTML, CSS, and javascript. They are
quirky and
arcane and will drive you to drink. Would you consider
something a little
less ... strange?
I'd recommend the Page Packs at PVII -
http://www.projectseven.com/,
or the
templates at
http://www.dreamweaverresources.com
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
==================
"gilart" <[email protected]> wrote in
message
news:ep13nn$qjr$[email protected]..
> 1-21-07
>
> Dear friend,
>
> Is there a ?user friendly? way to edit the subglobal
links in a
> Dreamweaver
> template? I just can?t figure them out, and I?ve done a
lot of research.
> From
> what I?ve gathered, it seems only doable on the coding
level.
>
> Please advise.
>
> Thanks,
> Gil vasquez
>
>
> -
How to remove phantom links in templates
I like the concept of templates, but their application I'm finding too buggy.
A common problem I have is that when I make a change to a template for a link, only some of the pages show the changed link, while others don't.
I was reading about different relative paths and I believe I want site-root relative paths for the whole site instead of the default document relative paths.
When I change a link from .../test1.htm to .../test1a.htm to the template, shouldn't every page using the template now automatically use the new anchor path?
Where is the cached path info stored that is telling one page to use the new version of the template (ie test1a.htm), while another page is using an old link that no long exists on the template (ie: test1.htm)
When I make a change to a link on a template and re-upload it (or even on the local machine, re-save it), I would like all the pages on the site to use the new links I made to the template instead of the old.
Does anyone have a quick and reliable solution?
AndyHere's the code for it (still a wok in progress) ...
<!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=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Concept 22</title>
<!-- TemplateEndEditable -->
<meta name="robots" content="index, follow" />
<meta http-equiv="Expires" content="0" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="Copyright 2011" />
<meta name="rating" content="general" />
<link href="../bev.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../p7tmm/p7TMMscripts.js"></script>
<link href="../p7tmm/p7TMM06.css" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="../print.css" type="text/css" media="print" />
<style type="text/css">
.style12 {
text-align: left;
font-size: 18.0pt;
font-family: "Times New Roman", serif;
color: red;
margin-left: 0cm;
margin-right: 0cm;
.style16 {
font-family: "Times New Roman", serif;
.style29 {
font-family: "Times New Roman", Times, serif;
.style34 {
color: #FF0000;
font-family: "Times New Roman", Times, serif;
font-size: x-large;
font-style: italic;
.style36 {
font-size: 12.0pt;
line-height: 150%;
font-family: "Times New Roman", Times, serif;
.style39 {
font-family: "Times New Roman", Times, serif;
font-size: x-large;
font-style: italic;
.style41 {
font-family: "Times New Roman", Times, serif;
font-size: medium;
.style42 {
font-size: medium;
.style43 {
color: black;
.style44 {
text-decoration: underline;
font-style: normal;
</style>
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
<div id="pictureDiv">
<div class="center"><img src="../jpegs/map-3.gif" width="838" height="396"></div>
<div id="textDiv">
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="table-white-background-top"> </td>
</tr>
<tr>
<td class="table-white-background-middle"><table width="660" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td><h1 class="center"> </h1>
<!-- TemplateBeginEditable name="main_content" -->Body Content Goes here<!-- TemplateEndEditable -->
<p> </p>
<h1 class="center"><span class="style29"><font size="3"> </font></span>
</h1>
<p>
<div id="footer">
<h5>Gomburg Brown & Co - Since 1989 - <br />
PO Box 3132 Fredericton, NB. Canada. E3A 5G9.<br />
506-470-0380</h5>
<p>COPYRIGHT - GOMBURG BROWN & CO, NOVEMBER 2010</p>
<p> </p>
</div>
<!-- End Footer -->
</p>
<hr /></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td class="table-white-background-bottom"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
<!--end textDiv-->
</div>
<!--end pictureDiv-->
<div id="navDiv">
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="table-purple-background-top"> </td>
</tr>
<tr>
THESE ARE THE LINKS I'M HAVING TROUBLE WITH...
<td class="table-purple-background-middle"><div id="p7TMM_1" class="p7TMM06">
<ul class="p7TMM">
<li><a href="../index.htm" >Home</a></li>
<li><a href="../about.htm" >About</a></li>
<li><a href="../contact.htm">Contact</a></li>
<li><a href="../comment.htm" >Comment</a></li>
<li><a href="../program.htm" >GB Program</a></li>
<li></li>
<li><a href="../opinion.htm" >Opinion</a></li>
<li><a href="../donate.htm" > Donate</a></li>
</ul>
<!--[if lte IE 6]>
<style>.p7TMM06 .p7TMM, .p7TMM06 a, .p7TMM06 li {height:1%;}</style>
<![endif]-->
<!--[if IE 5]>
<style>.p7TMM06 a, .p7TMM06 a {overflow: visible !important;}</style>
<![endif]-->
<script type="text/javascript">
<!--
P7_TMMop('p7TMM_1',3,0,0,3,1,1,0,1,-1,150);
//-->
</script>
</div></td>
</tr>
<tr>
<td height="100" class="table-purple-background-middle"> </td>
</tr>
<tr>
<td class="table-purple-background-bottom"> </td>
</tr>
</table>
</div>
<!--end navDiv-->
<script type="text/JavaScript">var TFN='';var TFA='';var TFI='0';var TFL='0';var tf_RetServer="rt.trafficfacts.com";var tf_SiteId="74geef2c4e352bf3a5ac8136326f81aa18a8e1803fbh18";var tf_ScrServer=document.location.protocol+"//rt.trafficfacts.com/tf.php?k=74geef2c4e352bf3a 5ac8136326f81aa18a8e1803fbh18;c=s;v=5";document.write(unescape('%3Cscript type="text/JavaScript" src="'+tf_ScrServer+'">%3C/script>'));</script>
<noscript>
<img src="http://rt.trafficfacts.com/ns.php?k=74geef2c4e352bf3a5ac8136326f81aa18a8e1803fbh18" height="1" width="1" alt=""/>
</noscript>
</body>
</html>
posted temporarily as a page using the template at http://www.vu22.com/Bev-T/index.htm
or
http://www.vu22.com/Bev-T/Templates/main_template.dwt
Now when I checked this earlier on one computer, a couple links weren't working, but now on a different computer, they're fine. -
I found Template:Note have traditional page Template:Note (正體中文), but there's no link in english page. Can someone do this ?
If I should not ask this in here, please told me.
Last edited by lycsjm (2015-02-02 02:45:28)Hi, I've added the link. The best place to discuss the wiki is using discussion pages in the wiki, for example Template talk:Note (if the discussion page doesn't exist you can create it). You can also read Help:Discussion.
Maybe you are looking for
-
IDE #1 Error on Satellite Pro A10
Hi, My Satellite Pro A10 laptop displays IDE #1 Error everytime I attempt to put it on. That message is all I get, although it is displayed for a short time- the laptop always comes back to that message, it attempts to load the screen just go's blanb
-
BAPI_AGREEMENT_MAINTAIN Doesn't UPDATE
Hi all I have a problem with . I am trying modify WEBAZ field for transaction ME32L but although the bapi is executed successfully y and return the message 'Scheduling agreement 5500003590 changed' it is not modified. Some body could help me or ha
-
I need to add hotmail to my outlook as default
I had hotmail in outlook.I think. Now when I reply using outlook.there is no option to use hotmail. how do I add my Hotmail account to be used thru outlook please. I am on craigslist.I wish to reply to an add, outlook pops up.I write hit send and get
-
SCOM 2012 Closed and Open Alert Reports
Dear all, In SCOM 2012 R2 how to Generate a report that contain open and closed alerts for past 24 hours. Is there any inbuild report ? Thanks, Sengottuvel M
-
How to execute .bat file within pl/sql block
Hi, I want to execute a batch file (.bat) file withing a pl/sql procedure. Please guide me for it. Regards