
dawn at dawnthots
Oct 19, 2011, 8:42 AM
Post #6 of 12
(1492 views)
Permalink
|
|
Re: can I use bric_soap to run a utility template?
[In reply to]
|
|
Yes I know I could do that - but I'm saying why not house that functionality within the Bricolage UI itself. As we get competent (somewhat) with scripting outside of Bricolage we sometimes forget how hard it is for the newbie to get started. I'm thinking of something like Greasemonkey for Firefox a place within the UI where you can just paste stuff that other people said will do the job for you. I'm just looking for a list of features/tweaks that might be good for us to work on at out next Brick Hack too. I know I've been out of the loop for a while - so I hope I don't offend if I've missed something that's already been talked about. Dawn On 2011-10-19, at 11:28 AM, Phillip Smith wrote: > > Why put the scripts in a template? Why not just run a script that does the work that you want done, like bric_soap or bric_republish do? > > On 2011-10-19, at 11:19 AM, Dawn Buie wrote: > >> Has there ever been a feature request for a kind of template that just contains scripts which can be run with a cronjob - within the bricolage environment? >> >> Current bricolage just works on the publish paradigm, nothing happens until you publish a story or media item. Is that paradigm fulfilling everyone's needs? >> >> Dawn >> >> >> On 2011-10-18, at 8:08 PM, Dawn Buie wrote: >> >>> ok thanks >>> >>> On 2011-10-18, at 7:48 PM, David E. Wheeler wrote: >>> >>>> On Oct 18, 2011, at 3:42 PM, Dawn Buie wrote: >>>> >>>>> I'd like to call a utility template - which simply republishes a bunch of stories - using bric_soap. Is there a way to do this - similar to how we would use $m->comp('util/republish_stuff.mc') in a story template? >>>> >>>> No. >>>> >>>>> Or do I have to make a story template which either a) calls the utility template, republish_stuff.mc' or b) paste the guts of republish_stuff.mc' into the new republish.mc story. >>>>> >>>>> I know b) works but I wondered if >>>>> >>>>> the bric_soap template module might have a command I didn't know about that would suit this situation. >>>> >>>> I presume you're calling that utility template from story template already, yes? In that case, just republish a story using said template. >>>> >>>> Best, >>>> >>>> David >>>> >>> >> > > -- > Phillip Smith > http://phillipadsmith.com > http://twitter.com/phillipadsmith > http://linkedin.com/in/phillipadsmith > > Save our in-boxes! http://emailcharter.org >
|