Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

user status messages

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


zdravko.balorda at siix

Nov 28, 2008, 3:05 AM

Post #1 of 4 (1809 views)
Permalink
user status messages

Hello,

could templates print any user warning/status messages, (with those cute
little red letters). For instance, when publish_another it would be
nice to report the other story being published, etc.

Best regards, Zdravko.


david at kineticode

Nov 28, 2008, 7:56 AM

Post #2 of 4 (1728 views)
Permalink
Re: user status messages [In reply to]

On Nov 28, 2008, at 12:05 PM, Zdravko Balorda wrote:

> could templates print any user warning/status messages, (with those
> cute little red letters). For instance, when publish_another it
> would be nice to report the other story being published, etc.

Yes. You can call Bric::App::Util::add_msg() from within a template.

Best,

David


dawn at thetyee

Nov 28, 2008, 9:44 PM

Post #3 of 4 (1733 views)
Permalink
Re: user status messages [In reply to]

like so:

$burner->publish_another($archive_story);
Bric::App::Util::add_msg('Archive story: '.$archive_story->get_title.'
published');

Best function since sliced bread.

Dawn

On 28-Nov-08, at 10:56 AM, David E. Wheeler wrote:

> On Nov 28, 2008, at 12:05 PM, Zdravko Balorda wrote:
>
>> could templates print any user warning/status messages, (with those
>> cute little red letters). For instance, when publish_another it
>> would be nice to report the other story being published, etc.
>
> Yes. You can call Bric::App::Util::add_msg() from within a template.
>
> Best,
>
> David
>


zdravko.balorda at siix

Dec 2, 2008, 2:27 AM

Post #4 of 4 (1719 views)
Permalink
Re: user status messages [In reply to]

>>
>> Yes. You can call Bric::App::Util::add_msg() from within a template.

I sometimes need to refresh the current page. For instance running a
preview only, added messages apear after moving to some other page.

Zdravko

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.