Hi,
can anyone tell me why when I click on refresh the images and related css disappears?
If I click on the Address bar and press enter everything comes back.
Cheers,
Sandy a new-bee to CMS
PS, this happens in the browser
Without seeing things like the Design parsefile and how its configured, this is very difficult to troubleshoot.
Though, I can't think of a reason why the images would disappear on refresh.
Does this happen in every browser? On multiple machines?
I've had this problem with IE before if the DOC type headers or xml declaration/html declaration is something it doesn't recognise. For example:
<?xml version="1.0" encoding="UTF-8"?>
That's a correct xhtml 1.0 stric doc type, xml and html declaration. Where I've had problems is if the encoding is not correct (not a recognised code), or the language is incorrect. IE does some funny things with refreshing and sometimes ignoring portions of the page when it's rendering.
Check the doc type headers and make sure that is ok, also double check that all of your html tags are closing correctly in the design parse file, especially if you are doctype-ing as xhtml.
[quote]I've had this problem with IE before if the DOC type headers or xml declaration/html declaration is something it doesn't recognise. For example:
<?xml version="1.0" encoding="UTF-8"?>
That's a correct xhtml 1.0 stric doc type, xml and html declaration. Where I've had problems is if the encoding is not correct (not a recognised code), or the language is incorrect. IE does some funny things with refreshing and sometimes ignoring portions of the page when it's rendering.
Check the doc type headers and make sure that is ok, also double check that all of your html tags are closing correctly in the design parse file, especially if you are doctype-ing as xhtml.
[right][post="6847"]<{POST_SNAPBACK}>[/post][/right][/quote]
Thanks for the replies,
I have added the parse file and the css file for your amusement as I am quite new to web design and CMSs, a quick look-over would be much appreciated.
Sandy
>>>>>>>>>>>>>>>>>>>Parse file<<<<<<<<<<<<<<<<<<<<<
<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<title><mysource_print id_name="__global__" var="site_name" /> :
<mysource_print id_name="__global__" var="asset_name" /></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="mysource_files/compscidefault.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="container">
<div id="top"> <img src="mysource_files/resizedlogoembosed.jpg" alt="Department logo" width="900" height="80" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="8,13,141,55" href="http://www.aber.ac.uk" alt="www.aber.ac.uk" />
</map>
</div>
<div id="leftnav">
<mysource_area id_name="top_menu" design_area="menu_normal">
<mysource_set name="level" value="top"/>
<ul>
<mysource_asset>
<li>
<a href="<mysource_Print var="asset_link" />">
<MySource_PRINT var="asset_name"/>
</a> </li>
</mysource_asset>
</ul>
</mysource_area>
</div>
<div id="content">
<mysource_area id_name="body" design_area="body" />
</div>
<div id="footer">Please report site access problems to <a href="mailto:cs-webman@aber.ac.uk">cs-webman</a></div>
</div>
</body>
</html>
>>>>>>>>>>>>>>>>>>>>CSS<<<<<<<<<<<<<<<<<<<<<<<
/* CSS Document */
#container
{
width: 100%;
margin: 10px auto;
background-color: #fff;
color: #333;
border: 1px solid gray;
}
#top
{
padding: .5em;
background-color: #99cccc;
border-bottom: 1px solid gray;
}
#top h1
{
padding: 0;
margin: 0;
}
#leftnav
{
float: left;
width: 180px;
margin: 0;
padding: .5em;
}
#leftnav ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
}
#leftnav a
{
display: block;
padding: 3px;
width: 160px;
background-color: #99cccc;
border-bottom: 1px solid #eee;
}
#leftnav a:link, #leftnav a:visited
{
color: #333333;
text-decoration: none;
}
#leftnav a:hover
{
background-color: #FF9966;
color: #fff;
}
#content
{
margin-left: 185px;
border-left: 1px solid gray;
/*padding: 1em;*/
}
#footer
{
clear: both;
margin: 0;
padding: .5em;
color: #333;
background-color: #ff9966;
border-top: 1px solid gray;
line-height: 100%;
}
#leftnav p, rightnav p { margin: 0 0 5em 0; }
#content h2 { margin: 0 0 .5em 0; }
Hi come on all you bright sparks, someone must have an answer to this one please?
[quote]Thanks for the replies,
I have added the parse file and the css file for your amusement as I am quite new to web design and CMSs, a quick look-over would be much appreciated.
Sandy
>>>>>>>>>>>>>>>>>>>Parse file<<<<<<<<<<<<<<<<<<<<<
<?xml version=“1.0” encoding=“iso-8859-1”?>
<!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>
<title><mysource_print id_name=“global” var=“site_name” /> :
<mysource_print id_name=“global” var=“asset_name” /></title>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1” />
<link href=“mysource_files/compscidefault.css” rel=“stylesheet” type=“text/css”/>
</head>
<body>
<div id=“container”>
<div id=“top”> <img src=“mysource_files/resizedlogoembosed.jpg” alt=“Department logo” width=“900” height=“80” border=“0” usemap="#Map" />
<map name=“Map” id=“Map”>
<area shape=“rect” coords=“8,13,141,55” href=“http://www.aber.ac.uk” alt=“www.aber.ac.uk” />
</map>
</div>
<div id=“leftnav”>
<mysource_area id_name=“top_menu” design_area=“menu_normal”>
<mysource_set name=“level” value=“top”/>
<ul>
<mysource_asset>
<li>
<a href="<mysource_Print var=“asset_link” />">
<MySource_PRINT var=“asset_name”/>
</a> </li>
</mysource_asset>
</ul>
</mysource_area>
</div>
<div id=“content”>
<mysource_area id_name=“body” design_area=“body” />
</div>
<div id=“footer”>Please report site access problems to <a href="mailto:cs-webman@aber.ac.uk">cs-webman</a></div>
</div>
</body>
</html>
>>>>>>>>>>>>>>>>>>>>CSS<<<<<<<<<<<<<<<<<<<<<<<
/* CSS Document */
#container
{
width: 100%;
margin: 10px auto;
background-color: #fff;
color: #333;
border: 1px solid gray;
}
#top
{
padding: .5em;
background-color: #99cccc;
border-bottom: 1px solid gray;
}
#top h1
{
padding: 0;
margin: 0;
}
#leftnav
{
float: left;
width: 180px;
margin: 0;
padding: .5em;
}
#leftnav ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
}
#leftnav a
{
display: block;
padding: 3px;
width: 160px;
background-color: #99cccc;
border-bottom: 1px solid #eee;
}
#leftnav a:link, #leftnav a:visited
{
color: #333333;
text-decoration: none;
}
#leftnav a:hover
{
background-color: #FF9966;
color: #fff;
}
#content
{
margin-left: 185px;
border-left: 1px solid gray;
/padding: 1em;/
}
#footer
{
clear: both;
margin: 0;
padding: .5em;
color: #333;
background-color: #ff9966;
border-top: 1px solid gray;
line-height: 100%;
}
#leftnav p, rightnav p { margin: 0 0 5em 0; }
#content h2 { margin: 0 0 .5em 0; }
[right][post=“6882”]<{POST_SNAPBACK}>[/post][/right][/quote]
I can't see any problems with an initial check of your html + css. Have you tried this in different browsers, it could simply be a problem with your browser and/or the PC you are testing it on.
[quote]I can’t see any problems with an initial check of your html + css. Have you tried this in different browsers, it could simply be a problem with your browser and/or the PC you are testing it on.
[right][post=“7079”]<{POST_SNAPBACK}>[/post][/right][/quote]
Hi Anthony,
I have just tried this with Firefox and and have the same problem.
I also tried it with IE 6 and on three different computers, with IE I have the problem.
I even tried a version of the parse file without using any Matrix tags and get the same problem. Are there any server issues I should maybe look into?
Cheers,
Sandy
There shouldn't be anything on the server side that will cause the browser refresh problems.
Is this still in the same network? Just musing… perhaps something on your network is causing this issue (proxy server settings?).
Also, check the output of the page (view source in the browser) and make sure it's what you are expecting to see (ie, matrix generating everything properly).
[quote]There shouldn’t be anything on the server side that will cause the browser refresh problems.
Is this still in the same network? Just musing… perhaps something on your network is causing this issue (proxy server settings?).
Also, check the output of the page (view source in the browser) and make sure it’s what you are expecting to see (ie, matrix generating everything properly).
[right][post=“7086”]<{POST_SNAPBACK}>[/post][/right][/quote]
Hi Anthony,
I have just gone through the permissions screen relating to the design, clicked on Read Permissions section to allow public access and now all appears to work.
Not sure why this should have changed things, if you upload a new parse file does this change the permissions?
Thanks for all your help.
Sandy
The parse file should not affect the permissions at all. What might have happened , however, may be that your sessions are open but the browsers were not carrying them over until you refreshed the page, for whatever reason… or at least that is what I'm musing was the problem.