| Author |
Message |
floppydrivez Involved


Joined: Feb 26, 2006 Posts: 337 Location: Jackson, Mississippi
|
Posted:
Fri Sep 25, 2009 6:00 pm |
|
Could we use anchors in the first part of the installer so it jumps closer to where I have to click next.
I tested this in FF 3.5 and IE 8 (it draws an underline in IE8 easy fix, but still)
Something like
| Code: | <tr>
<td><a name="lip2" href="javascript:void(0)">
<table><tr><td>
<form name="lip2" method="post" action="<?php $_SERVER['PHP_SELF'];?>">
<input class="button" type="submit" name="<?php echo _rnSUBMIT;?>" value="<?php echo _rnSTEP3b;?> : <?php echo _rnLOAD_IP2COUNTRY_DATA2_10;?>" />
<span class="c3"><input class="inputbox" name="session" value="<?php echo $_SESSION['lip2'];?>" readonly="readonly" size="75" onfocus="blur()" /></span>
<input type="hidden" name="op" value="lip2" />
</form>
</td></tr></table>
</a>
</td>
</tr> |
| Code: | if($_POST['op']=='lip10'){
echo '<script>window.location.href = "'.$_SERVER['PHP_SELF'].'?setup='.$setup.'#setup"</script>';
}else{
echo '<script>window.location.href = "'.$_SERVER['PHP_SELF'].'#'.$_POST['op'].'"</script>';
} |
In language files.
| Code: | | <a href="setup.php" name="setup">Setup</a> |
Yes, I am the lazy one. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2404 Location: Pennsylvania
|
Posted:
Fri Sep 25, 2009 6:38 pm |
|
This is needed . It is a little annoying having to scroll down so many times when loading the IP2Country stuff. |
|
|
|
 |
floppydrivez Involved


Joined: Feb 26, 2006 Posts: 337 Location: Jackson, Mississippi
|
Posted:
Fri Sep 25, 2009 6:44 pm |
|
Especially when your a developer and its common to reload the CMS from scratch like 10 times a day. /exaggeration on |
|
|
|
 |
montego Former Admin in Good Standing

Joined: Aug 29, 2004 Posts: 9071 Location: Arizona
|
Posted:
Sat Sep 26, 2009 1:09 pm |
|
One thing that I have always wanted is a "Quick Install" version where I can elect to install the IP2C data or not then simply hit a button and the whole shootin' match is loaded. The files were broken up to avoid issues with slow servers (so reach the PHP time-out) and/or limits on database queries within a given time-frame. If you have none of these limitations and you install many times over, yes, it is kind of a pain. In fact, I'd love to just enter in all my information that setup.php click a check-box, and let it install everything from the tables and data all in one shot. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16976 Location: Kansas
|
Posted:
Sat Sep 26, 2009 2:23 pm |
|
And people in hell want ice water  |
|
|
|
 |
montego Former Admin in Good Standing

Joined: Aug 29, 2004 Posts: 9071 Location: Arizona
|
Posted:
Sun Sep 27, 2009 10:55 am |
|
Unfortunately, too late for them my friend... but, we're still a kickin' so time to get crackin'
 |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16976 Location: Kansas
|
Posted:
Sun Sep 27, 2009 1:20 pm |
|
tempus fugit |
|
|
|
 |
eldorado Involved


Joined: Sep 10, 2008 Posts: 366 Location: France
|
Posted:
Sun Sep 27, 2009 3:47 pm |
|
alea jacta est now raven time to get crackin' , nah , just kidding . Hey floppy , why don't you get a saved copy of the database at start and just reload it when you need reinstall? Thats what I do but maybe thats not enough , Is there a script that do something else than install sql in the installation? |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16976 Location: Kansas
|
Posted:
Sun Sep 27, 2009 7:20 pm |
|
Eldorado's simple but elegant sugestion is an excellent example of Occam's razor  |
|
|
|
 |
floppydrivez Involved


Joined: Feb 26, 2006 Posts: 337 Location: Jackson, Mississippi
|
Posted:
Sun Sep 27, 2009 7:23 pm |
|
A one click installer is very possible though. The basic concept is that the new location is just the next step in the installer phase and a simple check to see if there was an error with the current phase.
All pretty simple stuff. If it was me, I would create a checkbox array which defined which phases (love that word) needed to be executed. After reviewing the code for the current installer, it is just a some minor modifications and testing. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16976 Location: Kansas
|
Posted:
Sun Sep 27, 2009 7:41 pm |
|
True. All things are possible. In your browser you can also click View/Zoom Out and, Voila! It all fits on a single screen
All that aside, I understand the issues, desires, wants, etc. I also know that I can loop the IP2C to make it one click. When I was creating the installer I took the approach that a single click should create a single response. In other words one action equals one reaction which is, I believe, some programming principle I read somewhere . It helps to keep debugging much easier. In any event, no need to drag this out as the installer is being rewritten anyway. Maybe redesigned is a better term. What was released was all I could complete at that time  |
|
|
|
 |
|
|
|
|