Write own Asset


(Uncle Stripe) #1

Hi guys, I has been followed the tutorial to learn how to create a new asset.


But I just wanna know which file can control output at front-end?



The tutorial said is better_user.inc doing most processing and printing for the front-end, however, I add or delete some code in the file but nothing has been changed on the front-end.



So could anyone can tell me which file I need change or create to control output on front-end, please?





cheers


(Greg Sherwood) #2

If you would like your content to be printed instead of the design template and body content of the page, do your outputting in printFrontend(). If you would like to print content inside the design where the BODY tag is placed, output content in printBody().


(Uncle Stripe) #3

Thanks…


I will try it now!