Letter, Print And Other Buttons

hi guys…

I really need your help.

I have three problems here.

  1. Does anyone know how to make letter in Yii? I want this kind of LETTER. I already referred from other sources but I didn’t find it.

  2. How to print the form that we made in Yii? I already try to make a PRINT BUTTON but anything happened! I already lost idea to do it. How to make that form change to PDF and then it can be print?

  3. I wanna know how to make button besides button CREATE. Button that I know in Yii is only this:

<?php echo CHtml::submitButton($model->isNewRecord ? 'Next' : 'Save'); ?>

What else that I can do besides submitButton?

I also ever try to do button UPDATE but the output is LINK! That UPDATE button is for when we click on that button, it still on that page. Not go to the next page. I don’t want LINK but I want a button.

Sorry for my bad English but I hope you can understand what I try to do and convey.

Anyone can help me?

Since I’m in hurry, I really appreciate the fastest response.

thank you. :)


no one don’t want reply at least one of my problems?

no one? I really need your help!

thank you…

p/s: don’t forget to #prayForMH370