Welcome, Guest
Please Login or Register.    Lost Password?

Can the Table JX Grid be configured to download
(1 viewing) (1) Guest
This is the optional Forum header for the Suggestion Box.
Go to bottomPage: 12
TOPIC: Can the Table JX Grid be configured to download
#628
Can the Table JX Grid be configured to download 2 Months ago Karma: 0
Hi,

I have a feature in my site where users are able to upload documents into my server and i have created a list using Table JX to view all the fields + the filename , but i cant download the file using my browser.

I am using both Table JX and Card View, I have seen the "Personal Download Area" that ToolsJX provides.

Is it possible for me to create a similar Personal Download
area using Table JX?

If yes, is there any documentation?

If not can you suggest alternatives?

Regards
dalonehacker
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#629
Re:Can the Table JX Grid be configured to download 2 Months ago Karma: 1
Hi,

the download page in Customer area is made with Table JX.

Example below shows a simple html tag - text with link on file in public documents folder.

Code:

<a href="http://www.toolsjx.com/documents/file001.zip">Download</a>


If you have some more experience with sql you can create download table for hundreds of files in e.g. specific folder with filename pattern. Files can be downloaded also for specific user, like in Customer Area.

Best regards,
Viljem
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/07/05 13:06 By viljem.
The administrator has disabled public write access.
 
#630
Re:Can the Table JX Grid be configured to download 2 Months ago Karma: 0
Viljem,

Could you assist me further by showing some documentation
on how to use the code you had mentioned , where/how to apply it to work with Table JX?

It would be a great help for me, as well as others!

Thank You
dalonehacker
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#634
Re:Can the Table JX Grid be configured to download 2 Months ago Karma: 1
Hi,

no problem. Just describe what you would like to do.

Best regards,
Viljem
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#637
Re:Can the Table JX Grid be configured to download 1 Month, 4 Weeks ago Karma: 0
Hi Viljem,

I have created a form with the following fields:

1. Name
2. Email
3. Upload Filename
4. Datetime

So the users will keyin their name,email and browse and select a file for upload. Upon clicking the Submit button i save the fields in a table called Requests. The uploaded file is stored in a folder on my server.

I have used Table JX to create a list to manage these records, i can view the details of the requests. I can see the filename of the uploaded file. But what i want to be able to do is to somehow click on the filename in the list and download the file to my PC. Just like your Personal Download page.

You had mentioned in your previous replies that you can use a simple tag list, but I am still not sure where to apply the code in my Table JX list.

Hope this description helps you understand my problem better.

Thank You for your assistance

Regards
dalonehacker
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#639
Re:Can the Table JX Grid be configured to download 1 Month, 3 Weeks ago Karma: 1
Hi,

it is very simple:

1. column Upload Filename (in the database should be the type e.g. varchar(100)
2. use phpMyAdmin to insert the tag in the first row of the column Upload Filename:
Code:

<a href="http://www.toolsjx.com/documents/file001.zip">File1</a>


If you have 10 files, insert the tag 10 times.
If you have hundreds of files, create view and concatenate the file name, e.g. file001.zip File1, file002.zip File2...
(or send me mail, I will create the sql view for you)
You can also concatenate or just get the filename from other table or view.

Best regards,
Viljem

PS: my suggestion is, that you have two columns: FileName (File1) and FullFileName(/documents/file001.zip)
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/07/13 07:13 By viljem.
The administrator has disabled public write access.
 
Go to topPage: 12
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting