Saturday, October 29, 2011

About hiding/showing buttons with respect to certain conditions mentioned in controlller

Hi All,

I have made a function chat() in my users_controller and I want to add
certain conditions like if a user cancels session before chat starts
than a button should appear naming CANCEL_SESSION.but the moment
session starts that button should dissapear and anothr button naming
end session should appear..How can I achieve these things??I am stuck
at this problem since last 1 day..somebody plz guide ASAP.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: