Le document apparaît dans la partie centrale d'un espace de publication.
On a fait des essais dans différents espaces et le problème est le même.
J'ai l'un des contributeurs à mes côtés qui me dit que dans son cas, c'était dans des espaces privés.
Si ces renseignements peuvent t'aider à m'aider ;)
Merci.
Jean-Marc Orliaguet a écrit :Denis BLOMME wrote:
Merci Jean-Marc mais je suis vraiment néophyte et d'une part je ne
sais pas comment ouvrir un ticket (ni ce que c'est d'ailleurs), et
d'autre part je ne vois pas comment déterminer l'endroit concerné.
Les contributeurs créent des documents de tous types et cliquent sur
"Métadonnées" dans la boite 'actions située à droite, puis remplissent
le champ "Date de publication différée" (vraisemblablement l'originale
"Effective date" sur notre portail créé par Nuxeo).
Or, à la date venue, le document ne se met pas en ligne automatiquement...
Voilà le problème.
d'accord mais quand il se met en ligne à quel endroit il s'affiche dans
une boite, au milieu de l'écran ...?
/JM
--
Denis BLOMME
Chef programmeur
' 01.58.64.82.96
_______________________________________________
cps-users-fr
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr >
Dans notre site (un cps 3.0.x), nous utilisons le script automatic_transitions.py
qui est exécuté par un job sur le serveur.
Ce script a été largement modifié et celui-ci fait de l'unpublishing de docs sur base d'une date d'expiration
Il doit être modifiable pour se transformer en script faisant du publish sur base de l'effective_date
## Script (Python) "automatic_transition.py" ## parameters= # Copyright (C) 2003 Nuxeo SARL <http://nuxeo.com> # Author : Julien Anguenot <[EMAIL PROTECTED]> # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # $Id: automatic_transitions.py,v 1.2 2004/02/25 12:29:59 fedichem Exp $ """ Used for expiration & embargo launched by crontab How to call it ? - wget -q http://manager:[EMAIL PROTECTED]/automatic_transitions """ from zLOG import LOG, DEBUG, INFO from DateTime import DateTime """ Here we go ! """ LOG("AUTOMATIC TRANSITIONS START", INFO, "START") now = str(DateTime().ISO()) ########################################################### # FIRST THE ONES IN A PUBLISHED STATE TO A ARCHIVED STATE ########################################################### LOG("AUTOMATIC UNPUBLICATION OF DOCUMENTS IN A PUBLISHED STATE", INFO, "STARTING") brains = context.portal_catalog.searchResults( review_state='published', date={'query': now, 'range': 'max'}, ) LOG("AUTOMATIC ARCHIVING OF DOCUMENTS IN A PUBLISHED STATE",INFO,"") for brain in brains: ob = brain.getObject() try: LOG("Title of the document", INFO, ob.Title()) context.portal_workflow.doActionFor(ob, 'automatic_archive') except Exception, e: LOG("EXCEPTION !!! ARCHIVING", INFO, str(e)) pass brains = context.portal_catalog.searchResults( review_state='published', date={'query': now, 'range': 'max'}, ) LOG("AUTOMATIC DELETION OF DOCUMENTS IN A PUBLISHED STATE",INFO,"") for brain in brains: ob = brain.getObject() try: LOG("Title of the document", INFO, ob.Title()) context.portal_workflow.doActionFor(ob, 'automatic_delete') except Exception, e: LOG("EXCEPTION !!! DELETING", INFO, str(e)) pass brains = context.portal_catalog.searchResults( review_state='published', date={'query': now, 'range': 'max'}, ) LOG("AUTOMATIC UNPUBLISHING OF DOCUMENTS IN A PUBLISHED STATE",INFO,"") for brain in brains: ob = brain.getObject() try: LOG("Title of the document", INFO, ob.Title()) context.portal_workflow.doActionFor(ob, 'automatic_unpublish') except Exception, e: LOG("EXCEPTION !!! UNPUBLISHING", INFO, str(e)) pass LOG("AUTOMATIC TRANSITIONS STOP", INFO, "END")
_______________________________________________ cps-users-fr Adresse de la liste : [email protected] Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
