Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 17. Oct 2017, 15:07

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 31. Mar 2011, 22:09 
Offline

Joined: 31. Mar 2011, 22:01
Posts: 2
Hi,

I'm considering upgrading to the professional license for my website.
Before doing so however i want to make sure it will do what i want.

I want to create a form, enter a few text fields, like name, age, etc and then use this information on a different page.
The information must be stored so it won't be lost. On the new page i want to display all the images ever uploaded including the description/tekst people enter when uploading the image. Maybe use a paginator or something to display maximum 20 on each page.
Do i need to use javascript to redirect to a new page and capture the GET values there? How do i make sure that data will stay available, i don't want to create some custom code just to store the info.

I'm using the latest version of JFU with joomla 1.6.
Currently i have the upload up and running, but i have no option to use description or form tekst fields.

Thanks for reading this!


Top
 Profile  
 
PostPosted: 1. Apr 2011, 00:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
If you use the form functionality this values are sent to the server and you have to handle them in a plugin like described in the howto.

I you want to redirect to a different page using Javascript is the easiest option.

How you store your data (in the session, file based, db) is up to you. The same is the data your get from the description. I have implemented 2 defaults but you are free do do in your plugin what ever you like.

- Michael


Top
 Profile  
 
PostPosted: 1. Apr 2011, 11:30 
Offline

Joined: 31. Mar 2011, 22:01
Posts: 2
Hi Michael,

Thanks for the quick answer and the great work you've done with the plugin.

The HowTo for the form describes how to enable the fields, can you add any input type?
I would like to add the input to the DB (or even better, directly into an article), is there a plugin that achieves this?
I've got my hopes up for the 'Database Log' plugin, maybe it can already achieve this, or i can easily update the code to store other fields as well?

Secondly, i want to be able to put the image including the input on a page, is it difficult to achieve this?

Sorry if i ask newbie questions, but i'm relatively new to joomla and i don't want to invest any money into something that doesn't do 100% what i need it to do.

Thanks for your answer.


Top
 Profile  
 
PostPosted: 1. Apr 2011, 14:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
It is a normal form. The Javascript does read the form fields you configure. You can always enhance the Javascript to read anything you like.

I have a sample how to read form fields on the plugin page. You should use this as a base.

How do you like to include something directly into an article? I don't see a connection here.
Same is with the page - which page? Because if I understand you right this is a page you have to have some php in it which does read the uploaded information an includes it - But this has nothing to do with JFUploader anymore. This is just your code...

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO