Has anyone done something like declaring cake's constants in a javascript file for use in all javascript files created for the app? I keep wondering what approach I should take for things like a path that might change depending on where the app is installed. Should I just set a variable to APP and serve the javascript file blended with php so that I can access it in other included javascript files? How does everyone else do it?
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en