
lannings at who
Aug 11, 2008, 4:46 AM
Post #6 of 6
(318 views)
Permalink
|
I haven't tried it, but if I did I'd probably put a little hack in lib/Bric/App/Callback/BulkPublish.pm with a parameter like "all_categories" my $param = $self->params; # ... (exists $param->{all_categories} ? () : (category_id => ANY(@$cat_ids))) then try the link /admin/control/publish?bulk_publish|publish_categories_cb&all_categories=1 I'd have to test it, since I have no idea if that works. -----Original Message----- From: Maik Arnold [mailto:arnold[at]webit.de] Sent: Mon 8/11/2008 1:30 PM To: users[at]lists.bricolage.cc Subject: RE: republish all Am Montag, den 11.08.2008, 12:49 +0200 schrieb Lanning, Scott: > I don't think it's actually a firefox timeout, is it? its an firefox timeout beecause the default request timeout is 300 sec > You could probably configure "Timeout" in conf/httpd.conf > to be a bigger number if you really want the browser > to spin for a half hour. no I dont want that > I'd probably prefer a hacked-in link in the UI; > I don't know why you'd want to do it from a template. > Assuming you use the bric_queued, you could > just hack the Bulk Publish stuff so that it selects > all categories instead of giving a choice of categories, > so this "Republish Everything" link would just put all > documents and media into the job queue. I understand you're intention, but how could I do that? Can you explain it a bit deeper ? thanks > > -----Original Message----- > From: Maik Arnold [mailto:arnold[at]webit.de] > Sent: Mon 8/11/2008 12:17 PM > To: users[at]lists.bricolage.cc > Subject: Re: republish all > > > Could you set the timeout of bric_soap to half an hour and use it to > > republish everything using your existing template ? > > the timeout of the bric_soap is not the problem. I have a script to > republish all and this script works fine when I start it in a shell. > What I want is, to give the users of bricolage the possibilty to make a > republish_all in the bricolage enviroment and so I want to execute the > bric_soap script in the gui, like a story call "Republish All". So the > users can preview this story, that execute the bric_soap script. > > I hope you understand my concern. > > maik
|