Hello,
I have a problem where the Frontend Item Edit form opens in the whole page, thus taking over the page. This happens on Firefox, Chrome & IE. THe behavior is different if I change my template, but it's till not correct. I want to get this working with my current template.
I use GCal and I've changed it to use jquery: gcal only.
I'm testing using the beez-20 and atomic templates. I don't have any others to use.
I've searched around on here for an answer, and see that people have had similar problems. Here follows my findings:
To reproduce the problem:
In the frontend, logged in with editing rights Click "edit item"
(with beez_20 template loaded)
Expected result:
Item should open in edit mode in squeezebox modal window.
Close button should close the modal view.
Actual result:
Item opens in edit mode in full page
Close button just reloads the item in edit mode, full page.
Second test:
(with atomic template loaded)
Actual result:
Item opens in edit mode in modal window ( cool :) )
Close button just reloads the original page in the squeezebox view. ( not cool)
So does anyone have any idea what might be causing this? What should I be looking for in my template files? I've looked for the word modal in all files of both templates' folders , but there's only
and
in the beez_20 template but nothing apart from that. Commenting those out did not fix the issue.
Finally hear's the header section of my page, maybe it will help to find the problem:
If anyone can point me in the right direction I will investigate further. But I'm not sure where to look. How do you know what's conflicting with what? I use FireFox with FireBug. I'm a developer (not web, not php) by day so I know call stacks and I understand js syntax.
Thanks in advance,
Phil
I have a problem where the Frontend Item Edit form opens in the whole page, thus taking over the page. This happens on Firefox, Chrome & IE. THe behavior is different if I change my template, but it's till not correct. I want to get this working with my current template.
I use GCal and I've changed it to use jquery: gcal only.
I'm testing using the beez-20 and atomic templates. I don't have any others to use.
I've searched around on here for an answer, and see that people have had similar problems. Here follows my findings:
To reproduce the problem:
In the frontend, logged in with editing rights Click "edit item"
(with beez_20 template loaded)
Expected result:
Item should open in edit mode in squeezebox modal window.
Close button should close the modal view.
Actual result:
Item opens in edit mode in full page
Close button just reloads the item in edit mode, full page.
Second test:
(with atomic template loaded)
Actual result:
Item opens in edit mode in modal window ( cool :) )
Close button just reloads the original page in the squeezebox view. ( not cool)
So does anyone have any idea what might be causing this? What should I be looking for in my template files? I've looked for the word modal in all files of both templates' folders , but there's only
/* image upload modal */
#all #upload-flash ul li a:hover,
#all .item a:hover span {
background:#095197;
color:#fff;
}
#close a
{text-decoration:none}
and
a.modal-button,
.button2-left .blank a,
.button2-left a,
.button2-left div.readmore a
{background:#eee;
padding:4px !important;
margin:0 !important;
line-height:1.2em; border:solid 1px #ddd;
font-weight:bold; text-decoration:none;
margin-top:10px !important}in the beez_20 template but nothing apart from that. Commenting those out did not fix the issue.
Finally hear's the header section of my page, maybe it will help to find the problem:
<head>
<base href="http://caj78.fr/index.php/course/test" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Root Category</title>
<link href="/templates/beez_20/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link href="http://caj78.fr/index.php/component/search/?Itemid=509&format=opensearch" rel="search" title="Valider Club Athlétisme Jeunesse" type="application/opensearchdescription+xml" />
<link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
<link rel="stylesheet" href="/components/com_k2/css/k2.css" type="text/css" />
<link rel="stylesheet" href="/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_slimbox/css/slimbox2.css" type="text/css" />
<link rel="stylesheet" href="/plugins/content/jw_sigpro/jw_sigpro/tmpl/Artistic/css/template.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/plugins/content/jw_sigpro/jw_sigpro/includes/css/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/templates/beez_20/css/position.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="/templates/beez_20/css/layout.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="/templates/beez_20/css/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="/templates/beez_20/css/general.css" type="text/css" />
<link rel="stylesheet" href="/templates/beez_20/css/general_mozilla.css" type="text/css" />
<link rel="stylesheet" href="/templates/beez_20/css/personal.css" type="text/css" />
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/media/system/js/modal.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
<script src="/components/com_k2/js/k2.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
<script src="/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_slimbox/js/slimbox2.js" type="text/javascript"></script>
<script src="/plugins/content/jw_sigpro/jw_sigpro/includes/js/behaviour.js" type="text/javascript"></script>
<script src="/templates/beez_20/javascript/md_stylechanger.js" type="text/javascript"></script>
<script src="/templates/beez_20/javascript/hide.js" type="text/javascript"></script>
<script type="text/javascript">
window.addEvent('domready', function() {
SqueezeBox.initialize({});
SqueezeBox.assign($$('a.modal'), {
parse: 'rel'
});
});
var K2SitePath = '/';
function keepAlive() { var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); });
</script>
<!--[if lte IE 6]>
<link href="/templates/beez_20/css/ieonly.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#line {
width:98% ;
}
.logoheader {
height:200px;
}
#header ul.menu {
display:block !important;
width:98.2% ;
}
</style>
<![endif]-->
<!--[if IE 7]>
<link href="/templates/beez_20/css/ie7only.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript">
var big ='72%';
var small='53%';
var altopen='est ouvert';
var altclose='est fermé';
var bildauf='/templates/beez_20/images/plus.png';
var bildzu='/templates/beez_20/images/minus.png';
var rightopen='Ouvrir les infos';
var rightclose='Fermer les infos';
var fontSizeTitle='Taille de la police';
var bigger='Augmenter';
var reset='Réinitialiser';
var smaller='Diminuer';
var biggerTitle='Augmenter la taille';
var resetTitle='Revenir aux styles par défaut';
var smallerTitle='Réduire la taille';
</script>
</head>If anyone can point me in the right direction I will investigate further. But I'm not sure where to look. How do you know what's conflicting with what? I use FireFox with FireBug. I'm a developer (not web, not php) by day so I know call stacks and I understand js syntax.
Thanks in advance,
Phil