Posts: 83
Threads: 19
Joined: Mar 2011
hello,
last hour I have a problem on my site getsimple v 3.0
when I want to save changes to the pages I redirect to
http://site.com/admin/changedata.php
and I can not save this pages !?
I tried the following operations:
- Change the theme>> failure >> admin/changedata.php
- disable plugins>> failure >> admin/changedata.php
- disable html editor>> failure >> admin/changedata.php
Have you any idea? because I'm almost at suicide
Posts: 2,928
Threads: 195
Joined: Feb 2011
jlm Wrote:Have you any idea? because I'm almost at suicide
Don't do it!!!!
Turn on DEBUG in your gsconfig.php and tell us the output of DEBUG
Posts: 83
Threads: 19
Joined: Mar 2011
Excuse me, but how do this that?
Posts: 83
Threads: 19
Joined: Mar 2011
well , I understand why I have this problem.
I wanted to put in a page of code a bit "peculiar".
Code:
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<title></title>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
</script><script type="text/javascript">
$(document).ready(function() { //Quand le document est prêt
$(".contenu").hide(); //Cache tout les div avec la classe contenue
if(location.hash != "") {
var target = location.hash.split("#")[1]
$(location.hash).show(); //Montre l'addresse du premier onglet
$("ul.menu li:has(a[rel="+target+"])").addClass("active").show();;
} else {
$("ul.menu li:first").addClass("active").show(); //Ajoute la classe active au premier bouton
$(".contenu:first").show(); //Montre le premier onglet
}
$("ul.menu li").click(function() { //Actionner au clique
$("ul.menu li").removeClass("active"); //Enleve tout les class active
$(this).addClass("active"); //Add “active†class to selected tab
$(".contenu").hide(); //Cache tout les div avec la classe contenue
var activeTab = $(this).find("a").attr("href"); //Trouve l'address du lien
$(activeTab).fadeIn(); //Fait apparaître le contenue avec un fade in
});
});
</script><p>
<style type="text/css">
.menu{
list-style-type:none;
width:550px;
}
.menu li {
display:inline-block;
}
.menu a {
text-decoration:none;
}
#conteneur {
border:solid 1px gray;
width:580px;
padding:10px 10px 10px 10px;
}
.active {
text-decoration:underline;
font-weight:bold
} </style>
</p>
<ul class="menu">
<li>
<a href="#tab1">Période d'ouverture</a></li>
<li>
<a href="#tab2">Tarifs</a></li>
<li>
<a href="#tab3">Infos Utiles</a></li>
<li>
<a href="#tab4">Plan d'accès</a></li>
</ul>
<div id="conteneur">
<div class="contenu" id="tab1">
1</div>
<div class="contenu" id="tab2">
2</div>
<div class="contenu" id="tab3">
3</div>
<div class="contenu" id="tab4">
4</div>
</div>
and getsimple don't like this: what is normal!
Posts: 524
Threads: 48
Joined: Mar 2011
jlm Wrote:Excuse me, but how do this that?
Please take a look at the wiki page on advanced configuration with gsconfig.php
Posts: 83
Threads: 19
Joined: Mar 2011
thank you very much polyfragmented
I saw the file but I did not remove the # line of code.
Well I do not understand anything anymore, here seems to work now, integrating a code "a bit special"
I want to make some tabs and I have found here that is "in my code level"
see page
http://pep66.comeze.com/index.php?id=pages01 here (click on the first line>> what are titles of tabs)