Here you subscribe to a local page topic. The handler will be called when a 
message matching topic is published. This is done via:

     pubzub.publish("~pagesession/foo/bar", "hello world");

You can also subscribe and publish to side wide topics. See:

An example of its usage can be found here:

This subscribes the page to server statistic publishes, and displays them.




You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to