⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

grocery config



victor
  • profile picture
  • Member

Posted 12 December 2012 - 13:16 PM

how many files do you want to uploade? unlimited?

victor
  • profile picture
  • Member

Posted 12 December 2012 - 13:18 PM

or you have a some fields in this table for these files?

maha
  • profile picture
  • Member

Posted 12 December 2012 - 13:28 PM

no it's one field and it is unlimited

victor
  • profile picture
  • Member

Posted 12 December 2012 - 13:31 PM

show your table structure. I use for uploading the "add_action" method

maha
  • profile picture
  • Member

Posted 12 December 2012 - 13:42 PM

table art_file
fields (int (file_id)"primary key " , int( art_id) , varchar(name), varchar(file_url));

do you have a solution?

victor
  • profile picture
  • Member

Posted 12 December 2012 - 13:55 PM

For example:
you have controller "article".
You have "article_manage" function
You can create an action in function "article_manage".
Then in the function (which you set in add_action) you can use a url segment in the before_insert.

maha
  • profile picture
  • Member

Posted 12 December 2012 - 14:17 PM

ok thank you very much i catch my error