rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - johnjaykay

Pages: 1 2
1
HTML & templates / Re: Move file Drop down menu
« on: March 25, 2011, 11:15:35 PM »
Here's how I ended up doing it. Not very pretty but it works.


Code: [Select]
function moveClicked() {
;

var a = getSelection();
            if (a.size() < 1)
return alert("You must select atleast 1 file/folder.");

d$= '%'+'folder%../music';

   ezprompt("{.!Are you sure you want to move files?.}", {'type':'hidden', 'default': d$,}, function(s){
        $.post("?mode=section&id=ajax.move", {"dst":s, files:selectedFilesAsStr()}, function(res){
            var a = res.split(";");

            if (a.length < 2)
                return alert($.trim(res));

            var failed = 0;
            var ok = 0;
            var msg = "";
            for (var i=0; i<a.length-1; i++) {
                var s = $.trim(a[i]);
                if (!s.length) {
                    ok++;
                    continue;
                }
                failed++;
                msg += s+"\n";
            }
            if (failed)
                msg = "{.!ERROR.}\n"+msg;
            msg = (ok ? ok+" {.!Files moved..}\n" : "{.!Files not moved..}\n")+msg;
            alert(msg);


           
 if (ok) location = location; // reload
        });
    });

}//moveClicked

2
HTML & templates / Re: Move file Drop down menu
« on: March 25, 2011, 10:51:51 PM »
THX FOR THE REPLY REJETTO. HERE IS WHAT I'M DOING

FOLODER STRUCTURE

>FILES
  >>MEDIA
    >>>UPLOAD
    >>>MUSIC

THE MOVE BUTTON MOVES FROM UPLOAD FOLDER TO THE MUSIC FOLDER EVERY TIME.

SOMETIMES I MOVE FILES AND SOMETIME FOLDERS. WILL THIS WORK FOR THAT? I KEEP GETTING "FORBIDDEN" MESSAGE.

3
HTML & templates / Re: Move file Drop down menu
« on: March 22, 2011, 07:22:10 PM »
I wanted to modify the move button. That was it. If i use %folder%, it converts in the text box to "/". Why doesn't it convert to the current folder that I am in?

Thanks.

4
HTML & templates / Re: Move file Drop down menu
« on: March 17, 2011, 06:01:06 AM »
How about some help with this... I want the destination folder to be "%folder%../music/" every time I select the move button. Just want a button that moves to that destination and asks "Are you sure?"....

Do I modify the moveclicked() function???

function moveClicked() {
    ezprompt("{.!Enter the destination folder.}", {type:"text"}, function(s){
        $.post("?mode=section&id=ajax.move", {"dst":s, files:selectedFilesAsStr()}, function(res){
            var a = res.split(";");

***possibly edit var a = "path"*** I can't get this to work


            if (a.length < 2)
                return alert($.trim(res));
            var failed = 0;
            var ok = 0;
            var msg = "";
            for (var i=0; i<a.length-1; i++) {
                var s = $.trim(a);
                if (!s.length) {
                    ok++;
                    continue;
                }
                failed++;
                msg += s+"\n";
            }
            if (failed)
                msg = "{.!We met the following problems:.}\n"+msg;
            msg = (ok ? ok+" {.!files were moved..}\n" : "{.!No file was moved..}\n")+msg;
            alert(msg);
            if (ok) location = location; // reload
        });
    });
}//moveClicked

5
HTML & templates / Re: Request : Mobile template for Nokia 5800 Please!!
« on: February 12, 2011, 01:31:02 AM »
That helped me out! Thanks rejetto!

John

6
router & port problems / Re: HFS is working great... but not from work
« on: January 24, 2011, 12:04:52 AM »
I don't use this way, but I read this previously, and maybe it will work. Check out this other posting....

http://www.rejetto.com/forum/index.php/topic,9388.0/topicseen.html

John

7
Bug reports / Re: build 272 - chrome - password
« on: January 24, 2011, 12:03:31 AM »
is your homepage set to a locked resource on hfs? if so, this will always ask you to log in.

8
HTML & templates / Re: Move file Drop down menu
« on: January 19, 2011, 10:01:27 PM »
Also, at the same time would it be possible to add a comment for that file after or before it is moved, such as once I select destination, another text box is available to add comment to that file. I am not sure how to even begin with this.

Thanks again.

9
router & port problems / Re: behind router
« on: January 19, 2011, 07:44:59 PM »
One thing I can add is that you must configure your router to forward to your computer (running HFS), otherwise any calls from the outside will be stopped at the router. You should be able to log into the router and change settings in there that forward TCP or UCP to certain IP address (computer running HFS). Google the type of router you have and how to forward

10
HTML & templates / Move file Drop down menu
« on: January 19, 2011, 07:33:31 PM »
Hello all! Thanks for the excellent software. I am trying to incorporate a move feature by moving files to a specific folder by selecting a dropdown menu...

My goal is to have user select a drop down box that has pre selected destinations of moving the file or folder selected. Once the user selects the file or folder to move, they can move by selecting from list of choices. The two destinations I want to user are:

"/../Music/"
"/../Photos/"

This would move the selected file/folder to another folder in that directory. Does this make sense to anyone? Rather than having them type full directory each time, they would be able to select pre-determined location. Thanks! :)

11
RAWR-Designs / Re: Live v3.0.1 - Released!
« on: January 17, 2011, 05:53:25 AM »
I don't see how you add a comment with this template anyways. There's no comment button. Can someone let me know how to add a comment with the Live template?

12
HTML & templates / Re: i love you guys.
« on: January 13, 2011, 10:48:44 PM »
I agree...this software is the best i've seen!

13
HFS ~ HTTP File Server / Re: No Access to HFS since KB2419635
« on: January 13, 2011, 07:49:24 PM »
If IIS is running, wouldn't it interfere with HFS? I had to install IIS for a network printer and I couldn't connect with HFS, so rather than troubleshoot, I just connected the printer to a local computer. The only suggestion I would say is make sure another program is not interfering with HFS, try changing the port HFS is running on.

14
HTML & templates / Re: Reset default template
« on: January 12, 2011, 03:23:54 AM »
So that was you looking around today? I was a little worried when I saw an IP address I didn't know. Thanks for your help.

John

15
Beta / Re: Testing build #272
« on: January 12, 2011, 03:22:04 AM »
What does this involve? I can use the program, but as far as programming...I'm not good at that....

Pages: 1 2