Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

How To Avoid Calling Another Controller Action

$
0
0
Hi,

i am quite new to fantastic framework yii and programming my own simple social network. I am now facing a problem - each user has his own photo galleries, can create them, edit etc. I have a PhotoGallery controller for this with dedicated actions. What I want to do is, that during first login, a photo gallery called "Profile pictures" will be created. This will happen in different Controller. What I would do is, that I would create new form accepted by createGallery action and pass it there. What I have read, this should not be done. How can I do it correctly? This is basically question for everything, what will be created automatically without user form entries. Thank you very much.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>