updated flow and body copy for bushi_banner guider

This commit is contained in:
Kev Zettler 2011-07-20 12:19:20 -07:00
parent b9f5943585
commit 466cd99101

View File

@ -226,24 +226,24 @@ $(document).ready(function(){
*/ */
if(window.location.pathname.match('admin/pages/.+\/edit') != null){ if(window.location.pathname.match('admin/pages/.+\/edit') != null){
/* // /*
* We have to delay the creation of this guider // * We have to delay the creation of this guider
* so TinyMCE can render it // * so TinyMCE can render it
*/ // */
window.onload = function(){ // window.onload = function(){
window.setTimeout(function(){ // window.setTimeout(function(){
guiders.createGuider({ // guiders.createGuider({
attachTo: '#page_editable_elements_attributes_1_content_ifr', // attachTo: '#page_editable_elements_attributes_1_content_ifr',
title: "Edit the content of the page", // title: "Edit the content of the page",
description: "You can edit the content of your page in this text box. Go Ahead, add somethign like 'locomotiveCMS rocks!'. We'll wait for you.", // description: "You can edit the content of your page in this text box. Go Ahead, add somethign like 'locomotiveCMS rocks!'. We'll wait for you.",
buttons: [], // buttons: [],
id: "pageeditcontent", // id: "pageeditcontent",
next: "savepageedit", // next: "savepageedit",
position: 9, // position: 9,
width: 300 // width: 300
}); // });
}, 2000); // }, 2000);
}; // };
guiders.createGuider({ guiders.createGuider({
attachTo: "undefined", attachTo: "undefined",
@ -287,7 +287,6 @@ $(document).ready(function(){
attachTo: "button.light:last", attachTo: "button.light:last",
description: "Click this save button to save any changes you've made to the page.", description: "Click this save button to save any changes you've made to the page.",
id: "savepageedit", id: "savepageedit",
next: "help",
position: 12, position: 12,
title: "Save Your Work", title: "Save Your Work",
onShow: function(){ onShow: function(){
@ -470,16 +469,6 @@ $(document).ready(function(){
*/ */
if(window.location.pathname.match("admin/current_site/edit") != null){ if(window.location.pathname.match("admin/current_site/edit") != null){
/*
* We have to delay the creation of this guider
* so TinyMCE can render it
*/
window.onload = function(){
window.setTimeout(function(){
}, 2000);
};
guiders.createGuider({ guiders.createGuider({
attachTo: "undefined", attachTo: "undefined",
description: "Welcome to the Settings page. Here you can create new user accounts to use LocomotiveCMS, Edit SEO options, and more. We will start by changing the subomain of our site.", description: "Welcome to the Settings page. Here you can create new user accounts to use LocomotiveCMS, Edit SEO options, and more. We will start by changing the subomain of our site.",
@ -521,13 +510,20 @@ $(document).ready(function(){
guiders.createGuider({ guiders.createGuider({
attachTo: "undefined", attachTo: "undefined",
title: "Great Work!",
description: "You've Successfully updated your LocomotiveCMS settings. Dosen't that feel awesome?", description: "You've Successfully updated your LocomotiveCMS settings. Dosen't that feel awesome?",
buttons: [{name: "Quit", onclick: guiders.hideAll}, buttons: [{name: "Quit", onclick: guiders.hideAll},
{name: "Next"}], {name: "Next", onclick: function(){
if($('#bushi_banner').length > 0){
guiders.hideAll();
guiders.show("bushi_banner_guide");
}else{
guiders.hideAll();
guiders.show("congratulations");
}
}}],
id: "settingssavesuccess", id: "settingssavesuccess",
next: "congratulations", overlay: true
overlay: true,
title: "Great Work!"
}); });
} }
@ -578,11 +574,27 @@ $(document).ready(function(){
attachTo: "undefined", attachTo: "undefined",
description: "You've gone through the LocomotiveCMS guide! For more info on LocomotiveCMS,\ description: "You've gone through the LocomotiveCMS guide! For more info on LocomotiveCMS,\
checkout out <a href='http://www.locomotivecms.com/support/'>The LocomotiveCMS support pages</a>", checkout out <a href='http://www.locomotivecms.com/support/'>The LocomotiveCMS support pages</a>",
buttons: [{name: "Finished!", onclick: guiders.hideAll}], buttons:[{name: "Finished!", onclick: guiders.hideAll}],
id: "congratulations", id: "congratulations",
next: "bushi_banner",
overlay: true, overlay: true,
title: "Congratulations!" title: "Congratulations!"
}); });
window.onload = function(){
window.setTimeout(function(){
guiders.createGuider({
attachTo: "#bushi_banner",
description: "You may have noticed the bar at the top of your site. Its provided by Bushido. Bushido are friends of LocomotiveCMS. They are our official hosting partner.\
<br /><br /> They will keep your LocomotiveCMS site up and running. If you want to keep your LocomotiveCMS site, they have a short signup processes above. Check it out!",
buttons: [{name: "Next"}],
id: "bushi_banner_guide",
overlay: true,
title: "One more Thing...",
next: "congratulations",
position: 6
});
}, 1000);
};
}); });