[spip-dev] breves et rubrique_statut

salut,

question (je le pose en anglais, je na'arrive pas a formuler un
question en francais a cet heure, pardon!):

how difficult would it be to modify the source code of spip so that,
if a 'breve' is placed in a subrubrique, that subrubrique is set to
'publie'? As far as I can tell, right now this only happens when
'articles' and 'sites' are attached to a subrubrique. Can anyone
explain this to me / tell me how to fix it?

Thanks loads for your help,

matt

ps -- in my last email I mentioned a problem which I guess isrelated
-- trying to put a breve in a subrubrique (the subrubriques don't
appear in the formulaire). I can change this directly in mysql, but
would like to be able to use the web interface!! t hanks again...
m

From antoine@rezo.net Sat Nov 16 12:49:54 2002

Return-Path: <antoine@rezo.net>
Received: from mallaury.noc.nerim.net (mallaury.noc.nerim.net [62.4.17.82])
  by miel.brainstorm.fr (Postfix) with ESMTP id C1CD11D2E9
  for <spip-dev@rezo.net>; Sat, 16 Nov 2002 12:49:52 +0100 (CET)
Received: from telehouse-103-1-177.net1.nerim.net
  (telehouse-103-1-177.net1.nerim.net [213.41.186.177])
  by mallaury.noc.nerim.net (Postfix) with ESMTP id 1DB6662DE4
  for <spip-dev@rezo.net>; Sat, 16 Nov 2002 12:49:51 +0100 (CET)

how difficult would it be to modify the source code of spip so that,
if a 'breve' is placed in a subrubrique, that subrubrique is set to
'publie'? As far as I can tell, right now this only happens when
'articles' and 'sites' are attached to a subrubrique. Can anyone
explain this to me / tell me how to fix it?

ps -- in my last email I mentioned a problem which I guess isrelated
-- trying to put a breve in a subrubrique (the subrubriques don't
appear in the formulaire). I can change this directly in mysql, but
would like to be able to use the web interface!! t hanks again...

The "breves" are not "articles", these are two different objects. Breves
have strong limitations, such as the impossibility to be set in any
subrubrique. This is a voluntary design, and we stick to it, for the sake of
simplicity (if a breve has two dates, a substitle, an author and can be put
anywhere in the site structure, then it should be an article!)

-- Fil

salut fil,

thanks for the reply (thanks to Dorian, too).

I see the importance of keeping breeves and articles seperate. Maybe
if I explain what I want to do a little better, someone can help me figure
out what I should do. So:

In the site I am putting up, there are two categories of articles,
which are importantly different:

1) articles produced by the members of the siteth emselves (I call these
   articles interne) and
2) articles which appear elsewhere on the net and are used as starting
   points for discussion forums (articles externes).

At present, the second category (externe) is far more important than
the first. (well, we haven't really started yet, so of course that's
true). The site is supposed to be a kind of archive as well as an
eZine, and I wanted to keep the two categories rigorously seperate.
And since I don't need quite as much information about the articles
externes, I thought I would use the already-existing breves system to
store the articles externes. (right now they're stored in a flat file
which I've converted to a format that I can insert into the
database).

hmmm... Sounds like this plan goes against what SPIP is supposed to
do. I can see three options:

- drop the distinction between articles internes and externes. I
  really don't want to do that.

- stick to my current plan, and modify the database & php scripts to
  make them compatible with it (sounds like a lot of work?),

store both kinds of articles in the spip_articles database, but use
some tricky methods to keep them rigorously seperate.

sounds like the last one is the way to go. can anyone usggest to me
how I might do that? maybe with key words?

anyway, thanks agian for your help (et aussi pour votre patience avec
la langue anglaise!)

matt

> how difficult would it be to modify the source code of spip so that,
> if a 'breve' is placed in a subrubrique, that subrubrique is set to
> 'publie'? As far as I can tell, right now this only happens when
> 'articles' and 'sites' are attached to a subrubrique. Can anyone
> explain this to me / tell me how to fix it?
>
> ps -- in my last email I mentioned a problem which I guess isrelated
> -- trying to put a breve in a subrubrique (the subrubriques don't
> appear in the formulaire). I can change this directly in mysql, but
> would like to be able to use the web interface!! t hanks again...

The "breves" are not "articles", these are two different objects. Breves
have strong limitations, such as the impossibility to be set in any
subrubrique. This is a voluntary design, and we stick to it, for the sake of
simplicity (if a breve has two dates, a substitle, an author and can be put
anywhere in the site structure, then it should be an article!)

-- Fil
From fil@miel.brainstorm.fr Sun Nov 17 00:49:53 2002

Return-Path: <fil@miel.brainstorm.fr>
Received: by miel.brainstorm.fr (Postfix, from userid 1001)
  id 1C8C91D3D6; Sun, 17 Nov 2002 00:49:53 +0100 (CET)