Put another include in main.ape.js Then create the include and put your code in. I believe that should be enough. Good luck!
2011/7/11 Simone Fumagalli <[email protected]> > Hello everybody. > > I want to log an entry each time I channel is created. I know the > event mkchan and I think I should use something like this > > Ape.addEvent("mkchan", function(channel) { > Ape.log("new channel " + channel.getProperty('name')); > }); > > What I don't understand is where do I have to place this code ? Do I > have to create a module ? Modify APE core code ? > > Can someone to enlighten me ? > > thanks > > -- > Simone > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
