rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: riccetts on March 17, 2011, 09: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
-
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]
-
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
-
<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>".
-
you should post your tpl
-
I will when I'm happy with what I have currently.
I am getting there though.
-
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.
-
I understand.
I will copy and paste code if that helps.
-
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.
-
Thank you again