rejetto forum
May 25, 2012, 11:03:09 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: separate upload page  (Read 1263 times)
0 Members and 1 Guest are viewing this topic.
riccetts
Experienced poster
***
Offline Offline

United States United States

Posts: 32



View Profile
« on: March 17, 2011, 04:03:27 PM »

I would like to know how to make a separate upload page and then the files are directed into a hidden folder.
thanks for help
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: March 17, 2011, 05:05:48 PM »

first: you should be good at HTML.

the template of HFS 2.2 sports a separated upload page.
You can learn from it, or start from it. I'm attaching it here for your convenience.

You can learn more details at this page http://www.rejetto.com/wiki/index.php/HFS:_Template

To upload to a hidden folder you can either

(1) upload directly to the folder, and hide just its content (not the folder itself) as in
as having the page at http://my-hfs/hidden-folder/~upload
you can hide the content by setting a files-filter to \*
* is for everything, and the initial \ works as a negation.

(2) upload to any folder, and then use command {.move.} to move the just uploaded file.
You may put it in the [upload completed] event or in the [upload success]

* default.tpl (8.48 KB - downloaded 58 times.)
Logged
riccetts
Experienced poster
***
Offline Offline

United States United States

Posts: 32



View Profile
« Reply #2 on: March 17, 2011, 05:26:39 PM »

Thanks man
I figured it out already, I have a habit of playing with the code until I get it right.
I created some buttons but now I'm having troubles aligning them on the top of the page.
I have them like a tool bar but I can't get them to align right.(every button is going to the right instead of the left)
Can you help with that one?
Thanks rejetto
Logged
FRENCH CAN CAN
Insane poster
*****
Offline Offline

Italy Italy

Posts: 641


View Profile
« Reply #3 on: March 18, 2011, 02:32:25 AM »

<p style="float:right; margin-top:8px; margin-right:-3px; margin-left:-3px;"> button </p>  (button right)

<p style="float:left; margin-top:8px; margin-right:-3px; margin-left:-3px;"> button </p>     (button left)

fix the code and you'll see that it works, if you want you can also put "<div style="............> button </ div>".
« Last Edit: March 18, 2011, 02:46:19 AM by FRENCH CAN CAN » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #4 on: March 18, 2011, 05:22:03 AM »

you should post your tpl
Logged
riccetts
Experienced poster
***
Offline Offline

United States United States

Posts: 32



View Profile
« Reply #5 on: March 21, 2011, 08:59:55 AM »

I will when I'm happy with what I have currently.
I am getting there though.
Logged
rejetto forum
« Reply #5 on: March 21, 2011, 08:59:55 AM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #6 on: March 21, 2011, 11:30:35 AM »

i didn't mean "publish for sharing it with the world", but "making us able to read it", because giving advices based on nothing is very hard.
Logged
riccetts
Experienced poster
***
Offline Offline

United States United States

Posts: 32



View Profile
« Reply #7 on: March 21, 2011, 01:01:04 PM »

I understand.
I will copy and paste code if that helps.

* Lucky shoe.txt (13.8 KB - downloaded 49 times.)
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #8 on: March 22, 2011, 08:43:05 AM »

ok, you go to the line where there's
.button { float:right;

and make it float:left
this will change every button.

If you don't want to change every button, but only some, just ask.
Logged
riccetts
Experienced poster
***
Offline Offline

United States United States

Posts: 32



View Profile
« Reply #9 on: March 22, 2011, 08:57:56 AM »

Thank you again
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 17, 2012, 01:15:10 AM