I am using Formidable plugin to create my forms. There are a lot of different fields available from plugin Saisies, eg Text field, Checkbox etc.
But i need my form to be able uploading files. So here is my question: is there any additional saisie to upload files?
I don’t see any ‹ saisie › for uploading files, but you can easily create one, by adding two corresponding custom template in saisies and saisies-vues.
You can look at the plugin « Mediatheque » :
it introduces a form (#FORMULAIRE_JOINDRE_DOCUMENT) that can be used in Ajax to upload elements :
look at the template file plugins/mediatheque/prive/editer/colonne_document.html to see how it is used.
This template is used in the private area to upload documents and attach them to articles, sections, etc.
It’s generic, so it can certainly be used to attach documents to upload a file and prepare it for your post
(it’s limit is that you have to be connected to use it, because the uploaded document refers to your id_auteur when it’s used for the creation of an element)
I am using Formidable plugin to create my forms. There are a lot of different fields available from plugin Saisies, eg Text field, Checkbox etc.
But i need my form to be able uploading files. So here is my question: is there any additional saisie to upload files?
I don't see any 'saisie' for uploading files, but you can easily create one, by adding two corresponding custom template in saisies and saisies-vues.
You can look at the plugin "Mediatheque" :
it introduces a form (#FORMULAIRE_JOINDRE_DOCUMENT) that can be used in Ajax to upload elements :
look at the template file plugins/mediatheque/prive/editer/colonne_document.html to see how it is used.
This template is used in the private area to upload documents and attach them to articles, sections, etc.
It's generic, so it can certainly be used to attach documents to upload a file and prepare it for your post
(it's limit is that you have to be connected to use it, because the uploaded document refers to your id_auteur when it's used for the creation of an element)
Sorry for my terrible english
It's a lot more difficult to add a file with Formidable. #SAISIE{input, nom, label=A File, type=file} can generate the good input. But.
But you need to save the file anywhere.
I have a little plugin for PDF or JPG files that can add 1 file / input, but you need to have an identify user (a user connected to your site) to use it.
Maybe that plugin is a first step and you can upgrade it as you want. I do not put it on the Zone because I'm not really satisfied by it, but if someone wants to do that, lets go !
Hello,
I have used Flux RSS en articles plugin to syndicate articles from other sources. There are more than 90000 articles under 2 particular sections. I want to delete all these articles. Is there any way to delete all, without any problem for other articles and sections?
Thanks
Kamran
From: kamran Mir Hazar kamran_mirhazar@yahoo.com To: spip-en spip-en@rezo.net Sent: Friday, March 9, 2012 5:05 PM Subject: [Spip-en] Deleting all articles under a particular section
Hello,
I have used Flux RSS en articles plugin to syndicate articles from other sources. There are more than 90000 articles under 2 particular sections. I want to delete all these articles. Is there any way to delete all, without any problem for other articles and sections?
Thanks
Kamran
Imho you should at first filter the articles you syndicate :
I suggest to use the Yahoo Pipes : http://pipes.yahoo.com/pipes/
Actually, to remove the articles that you have already inserted in your website, the best way is to use phpMyAdmin whith a query like : « delete from spip_articles where id_rubrique=NNN »
replace NNN by the number of the section that you want to flush
From: kamran Mir Hazar <kamran_mirhazar@yahoo.com> To: spip-en <spip-en@rezo.net> Sent: Friday, March 9, 2012 5:05 PM Subject: [Spip-en] Deleting all articles under a particular section
Hello,
I have used Flux RSS en articles plugin to syndicate articles from other sources. There are more than 90000 articles under 2 particular sections. I want to delete all these articles. Is there any way to delete all, without any problem for other articles and sections?
Thanks
Kamran
Hi Gilles,
If I want to delete articles under section 12 for example, I need to run this query using PHP My Admin :
« delete from spip_articles where id_rubrique=12 »
And I don’t need to filter articles using yahoo Pipes. Right?
Imho you should at first filter the articles you syndicate :
I suggest to use the Yahoo Pipes : http://pipes.yahoo.com/pipes/
Actually, to remove the articles that you have already inserted in your website, the best way is to use phpMyAdmin whith a query like : « delete from spip_articles where id_rubrique=NNN »
replace NNN by the number of the section that you want to flush
From: kamran Mir Hazar <kamran_mirhazar@yahoo.com> To: spip-en <spip-en@rezo.net> Sent: Friday, March 9, 2012 5:05 PM Subject: [Spip-en] Deleting all articles under a particular section
Hello,
I have used Flux RSS en articles plugin to syndicate articles from other sources. There are more than 90000 articles under 2 particular sections. I want to delete all these articles. Is there any way to delete all, without any problem for other articles and sections?
Thanks
Kamran
Hi Gilles,
If I want to delete articles under section 12 for example, I need to run this query using PHP My Admin :
« delete from spip_articles where id_rubrique=12 »
Yes
(only if « spip_ » is the prefix that has been specified at the installation => sometimes is may be something else)
And I don’t need to filter articles using yahoo Pipes. Right?
Yahoo Pipes is only useful for the syndication (so you don’t need this to flush your sections)
Whatever, do a backup of your database before manipulating phpMyAdmin
Imho you should at first filter the articles you syndicate :
I suggest to use the Yahoo Pipes : http://pipes.yahoo.com/pipes/
Actually, to remove the articles that you have already inserted in your website, the best way is to use phpMyAdmin whith a query like : « delete from spip_articles where id_rubrique=NNN »
replace NNN by the number of the section that you want to flush
From: kamran Mir Hazar <kamran_mirhazar@yahoo.com> To: spip-en <spip-en@rezo.net> Sent: Friday, March 9, 2012 5:05 PM Subject: [Spip-en] Deleting all articles under a particular section
Hello,
I have used Flux RSS en articles plugin to syndicate articles from other sources. There are more than 90000 articles under 2 particular sections. I want to delete all these articles. Is there any way to delete all, without any problem for other articles and sections?
Thanks
Kamran
Hi Gilles,
If I want to delete articles under section 12 for example, I need to run this query using PHP My Admin :
« delete from spip_articles where id_rubrique=12 »
Yes
(only if « spip_ » is the prefix that has been specified at the installation => sometimes is may be something else)
And I don’t need to filter articles using yahoo Pipes. Right?
Yahoo Pipes is only useful for the syndication (so you don’t need this to flush your sections)
Whatever, do a backup of your database before manipulating phpMyAdmin
Imho you should at first filter the articles you syndicate :
I suggest to use the Yahoo Pipes : http://pipes.yahoo.com/pipes/
Actually, to remove the articles that you have already inserted in your website, the best way is to use phpMyAdmin whith a query like : « delete from spip_articles where id_rubrique=NNN »
replace NNN by the number of the section that you want to flush
From: kamran Mir Hazar <kamran_mirhazar@yahoo.com> To: spip-en <spip-en@rezo.net> Sent: Friday, March 9, 2012 5:05 PM Subject: [Spip-en] Deleting all articles under a particular section
Hello,
I have used Flux RSS en articles plugin to syndicate articles from other sources. There are more than 90000 articles under 2 particular sections. I want to delete all these articles. Is there any way to delete all, without any problem for other articles and sections?
Thanks
Kamran