[opencms-dev] Deleting a structured content
Joe Desbonnet
jdesbonnet at gmail.com
Fri Apr 21 16:44:32 CEST 2006
A also have a news feed on one of my OpenCms sites. What I do is have
the news articles in a database with a web based administration system
completely separate to OpenCms.
OpenCms then includes the content dynamically from the database.
One disadvantage of this approach is that the built in OpenCms search
system will not work for dynamically included content.
Joe.
On 4/21/06, Aitor de la Puente <aitor at dicampus.com> wrote:
> Yes, we have thought about this :-) But the problem is that we have a system
> to send a email to the administrators warning that there are new/modified
> contents by the editors to publish. If we deleted a content with a sheduled
> job, the content can be deleted without the administrators approval.
>
> I think that we have not a perfect option, but we will have to decide by one.
>
> Thanks very much.
>
> > Perhaps if you were to run a publish project or publish directory
> > operation as a scheduled job every 10 minutes.
> >
> > So anything deleted off line will disappear from the online project
> > within 10 minutes.
> >
> > I haven't worked with scheduled jobs yet, so maybe someone else can
> > suggest how best to do this (?)
> >
> > Joe.
> >
> > On 4/21/06, Aitor de la Puente <aitor at dicampus.com> wrote:
> > > Well, I will try to explain it in my poor english:
> > >
> > > We have a small site with a news section. The people who have to admin
> > > the site, don't want to access to the workplace. So we develop a simple
> > > "login" page which change the Online project to Offline project if the
> > > user have the necesary privileges. If they delete a news content, the
> > > content isn't visible in the Offline project, so they can not publish it,
> > > but it is visible in the Online project; and they don't want to login in
> > > workplace because they have not enought "knowledge". Are you
> > > understanding me?
> > >
> > > Thank you very much by your interest.
> > >
> > > El Viernes, 21 de Abril de 2006 14:42, Joe Desbonnet escribió:
> > > > This is a feature of OpenCms: a "delete" is treated like any other
> > > > modification -- it must be pushed to the live site by means of a
> > > > publish operation.
> > > >
> > > > Is there a reason why this extra publish step is a problem? (eg do you
> > > > need someone who doesn't normally have publish privilege to delete
> > > > something?)
> > > >
> > > > Joe.
> > > >
> > > > On 4/21/06, Aitor de la Puente <aitor at dicampus.com> wrote:
> > > > > > Normally if you delete a published item in the workplace, you will
> > > > > > continue to see the entry with a line through it. If you publish
> > > > > > that item it should be removed from the on-line side.
> > > > >
> > > > > Yes, I know it. But the problem is: I see the deleted item in the
> > > > > workplace with a line throught it, but I see the content in the
> > > > > Online project until I publish it. I am looking for some "technic" to
> > > > > delete a content in the Offline project, see it deleted -with a line
> > > > > throught it- in the workplace and avoid to see it in the Online
> > > > > project (here is the problem).
> > > > >
> > > > > Thanks for your answer.
> > > > >
> > > > > > On 4/21/06, Aitor de la Puente <aitor at dicampus.com> wrote:
> > > > > > > ooops.... I have a mistake in the question: When I delete a file
> > > > > > > with de "delete" button, it appears as deleted in the workplace,
> > > > > > > and in the Offline (well, it doesn't appear, it is deleted), but
> > > > > > > the problem is that in Online mode I see this file in spite it is
> > > > > > > deleted.
> > > > > > >
> > > > > > > > So the problem is: when I delete a "new_xxxx.html" file, it
> > > > > > > > appears as deleted in the workplace, but not in the "Offline"
> > > > > > > > mode.
> > > > > > >
> > > > > > > Here is the mistake: I see as deleted in the offline mode.....
> > > > > > >
> > > > > > > Thanks...
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > Regards.
> > > > > > >
> > > > > > > --
> > > > > > > -- Aitor de la Puente
> > > > > > > --
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > This mail is sent to you from the opencms-dev mailing list
> > > > > > > To change your list options, or to unsubscribe from the list,
> > > > > > > please visit
> > > > > > > http://lists.opencms.org/mailman/listinfo/opencms-dev
> > > > > >
> > > > > > _______________________________________________
> > > > > > This mail is sent to you from the opencms-dev mailing list
> > > > > > To change your list options, or to unsubscribe from the list,
> > > > > > please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
> > > > >
> > > > > --
> > > > >
> > > > > Saludos.
> > > > >
> > > > > --
> > > > > -- Aitor de la Puente
> > > > > --
> > >
> > > --
> > >
> > > Saludos.
> > >
> > > --
> > > -- Aitor de la Puente
> > > --
>
> --
>
> Saludos.
>
> --
> -- Aitor de la Puente
> --
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list