Need Serious HELP
Permalink
So I was editing a page and put an html block on a page that had a from with some jquery on it. after I did that my C5 "wizard"/UI disappeard and I can't edit the page anymore.... HELLPPP
Go to the sitemap and click on that page in question and select "Versions". Then drop it back to a version before the issue. Be sure to clear your cache if it doesn't work right away.
Okay cool, that fixed it. I have another question... Basically I just made a test page now. I added an html block and copied and pasted my code into it (a form with some jquery). It put the block in and then when I went to save and exit the page my C5 hangs up. So I reload the page and I KNOW it's my jquery that makes my C5 UI disappear because it did it on my test page... Here is the code...
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#goto_2").click(function(){
$("#tableform1").hide(); $("#tableform2").fadeIn(3000);
});
$("#goto_3").click(function(){
$("#tableform2").hide(); $("#tableform3").fadeIn(3000);
});
$("#goto_4").click(function(){
$("#tableform3").hide(); $("#tableform4").fadeIn(3000);
});
});
</script>
<form>
<div id ="tableform1">
<h1>Your party's information</h1>
What is the name of the party? <input type="text" name="partyname" /><br /><br />
How many people will be in your party?
<select>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
</select> <br /><br />
What is a phone number we can easily contact you at? <input type="text" name="partyname" /><br /><br />
<button type="button" id="goto_2"> Next </button>
</div>
<div id ="tableform2" style="display:none;">
<h1>How many of each?</h1>
How many people will be having a five course meal? <input type="text" name="partyname" /><br /> <br />
How many people will be having a seven course meal? <input type="text" name="partyname" /><br /><br />
<button type="button" id="goto_3"> Next </button>
</div>
<div id ="tableform3" style="display:none;">
<h1>Day and Time</h1>
What day do you want reserved? ex. November 12th, 2011 - <br /> VALENTINE'S DAY IS BOOKED SORRY <input type="text" name="partyname" /><br /><br />
What time do you want reserved?
<select>
<option value="5">5pm</option>
<option value="5:30">5:30pm</option>
<option value="6">6pm</option>
<option value="6:30">6:30pm</option>
<option value="7">7pm</option>
<option value="7:30">7:30pm</option>
<option value="8">8pm</option>
<option value="8:30">8:30pm</option>
<option value="9">9pm</option>
</select> <br /><br />
<button type="button" id="goto_4"> Next </button>
</div>
<div id ="tableform4" style="display:none;">
<h1>Our last questions!</h1>
If you don't mind giving us your email we may try and <br /> contact you via email for your reservation. (We won't spam your email) <input type="email" /><br /><br />
Need anything special, (eg. Extension cords, projectors, special seating)?<br />Please let us know if you need special arrangements. <br /><br />
<textarea rows="2" cols="20">
</textarea>
<br/><br/>
<input type="submit" value="Submit" name="Submit" class="formBlockSubmitButton ccm-input-button">
</div>
</form>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#goto_2").click(function(){
$("#tableform1").hide(); $("#tableform2").fadeIn(3000);
});
$("#goto_3").click(function(){
$("#tableform2").hide(); $("#tableform3").fadeIn(3000);
});
$("#goto_4").click(function(){
$("#tableform3").hide(); $("#tableform4").fadeIn(3000);
});
});
</script>
<form>
<div id ="tableform1">
<h1>Your party's information</h1>
What is the name of the party? <input type="text" name="partyname" /><br /><br />
How many people will be in your party?
<select>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
</select> <br /><br />
What is a phone number we can easily contact you at? <input type="text" name="partyname" /><br /><br />
<button type="button" id="goto_2"> Next </button>
</div>
<div id ="tableform2" style="display:none;">
<h1>How many of each?</h1>
How many people will be having a five course meal? <input type="text" name="partyname" /><br /> <br />
How many people will be having a seven course meal? <input type="text" name="partyname" /><br /><br />
<button type="button" id="goto_3"> Next </button>
</div>
<div id ="tableform3" style="display:none;">
<h1>Day and Time</h1>
What day do you want reserved? ex. November 12th, 2011 - <br /> VALENTINE'S DAY IS BOOKED SORRY <input type="text" name="partyname" /><br /><br />
What time do you want reserved?
<select>
<option value="5">5pm</option>
<option value="5:30">5:30pm</option>
<option value="6">6pm</option>
<option value="6:30">6:30pm</option>
<option value="7">7pm</option>
<option value="7:30">7:30pm</option>
<option value="8">8pm</option>
<option value="8:30">8:30pm</option>
<option value="9">9pm</option>
</select> <br /><br />
<button type="button" id="goto_4"> Next </button>
</div>
<div id ="tableform4" style="display:none;">
<h1>Our last questions!</h1>
If you don't mind giving us your email we may try and <br /> contact you via email for your reservation. (We won't spam your email) <input type="email" /><br /><br />
Need anything special, (eg. Extension cords, projectors, special seating)?<br />Please let us know if you need special arrangements. <br /><br />
<textarea rows="2" cols="20">
</textarea>
<br/><br/>
<input type="submit" value="Submit" name="Submit" class="formBlockSubmitButton ccm-input-button">
</div>
</form>
I'm not looking that hard, but concrete5 is already including jquery so it's getting you in trouble with that probably. Try removing the google cdn part.
EDIT: I mean remove the whole inclusion of jquery.
EDIT: I mean remove the whole inclusion of jquery.
Hey man I really appreciate it, that did it... Thank you very much, again I appreciate it. I'm gaining exerpience with web programming and the latest thing has been javascript and jquery. It helped a lot!
Sorry, you need to remove the offending version after you change it to a previous version, because in edit mode you always see the latest version i think.