hellohow can I check if the message queue is empty? Google didn't help much on this topic :-)
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
But this empties the queue? After that the messages will not be displayed in the messages part of the template anymore...
On Wed, Aug 7, 2013 at 4:24 PM, Kannan Naidu wrote:
I use this .. it displays the error message when the message is not empty
<?php if(count(JFactory::getApplication()->getMessageQueue())):?>
bla..bla..bla
<?php endif; ?>
On Wed, Aug 7, 2013 at 9:39 PM, Allon Moritz wrote:
hellohow can I check if the message queue is empty? Google didn't help much on this topic :-)
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
--
Kannan Naidu
www.kannannaidu.com
twitter.com/kannannaidu
youtube.com/kannannaidu
My Google + [Add me to your circle]
My Facebook
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
Does somebody have any hint how to detect if the message queue is empty without getting all the messages out of it?
Thanks.
On Wednesday, August 7, 2013 4:26:26 PM UTC+2, laoneo wrote:
But this empties the queue? After that the messages will not be displayed in the messages part of the template anymore...
On Wed, Aug 7, 2013 at 4:24 PM, Kannan Naidu wrote:
I use this .. it displays the error message when the message is not empty
<?php if(count(JFactory::getApplication()->getMessageQueue())):?>
bla..bla..bla
<?php endif; ?>
On Wed, Aug 7, 2013 at 9:39 PM, Allon Moritz wrote:
hellohow can I check if the message queue is empty? Google didn't help much on this topic :-)
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
--
Kannan Naidu
www.kannannaidu.com
twitter.com/kannannaidu
youtube.com/kannannaidu
My Google + [Add me to your circle]
My Facebook
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
It's really hard to tell, it's been a while since my PR has been merged. But this issue omes back once a time and IMHO optional parameter is way out