rejetto forum

separate upload page

0 Members and 1 Guest are viewing this topic.

Offline riccetts

  • Occasional poster
  • *
    • Posts: 45
  • A working progress
    • View Profile
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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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]


Offline riccetts

  • Occasional poster
  • *
    • Posts: 45
  • A working progress
    • View Profile
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


Offline FRENCH CAN CAN

  • Tireless poster
  • ****
    • Posts: 681
    • View Profile
<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, 07:46:19 AM by FRENCH CAN CAN »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline riccetts

  • Occasional poster
  • *
    • Posts: 45
  • A working progress
    • View Profile
I will when I'm happy with what I have currently.
I am getting there though.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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.


Offline riccetts

  • Occasional poster
  • *
    • Posts: 45
  • A working progress
    • View Profile
I understand.
I will copy and paste code if that helps.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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.


Offline riccetts

  • Occasional poster
  • *
    • Posts: 45
  • A working progress
    • View Profile