Apex Software Platform
Member Area View
Within the /etc/training/package.php file we defined one menu in the member's area at Financial->View Lotteries, so let's go ahead and developm that view now. Within terminal, type:
`./apex create view members/financial/lottery training*
This will create two new files at the below locations, and assign them to the "training" package, so they are included when the package is published to a repository.
Open the file at /views/tpl/members/financial/lottery.tpl, and enter the following contents:
This defines a page with a simple tab control that contains two tabs, one for all recent lottery wins, and one for the user's personal lottery wins.
We don't need to write any PHP code for this view, and the .tpl file above will run just fine if you visit the Fiancnail->View Lotteries menu of the member's area. Let's move on to the Admin Manage Lotteries View.
Need a Professional?
Need development work by the creator of Apex? E-mail [email protected] for a free consultation.
Subscribe to the low traffic mailing list to stay updated on Apex.