Hey, this might be a dumb question, but...
I've just finished tutorial 2 and thought I'd extend the news on the homepage functionality to check that I'd understood everything. I added a check box which determines if the news shows, and a number to define how many news items show. The check box works fine and the number is stored correctly, I can view it on the page using the variable '$NumTopNews'. So far I've tried to use the '$NumTopNews' variable as an argument to the 'LatestNews' function, without any luck. E.g.
...
<% control LatestNews($NumTopNews) %>
...
My guess is that this means it should go into the controller, and the number be written directly into the 'LatestNews' function, trouble is, I'm not really sure how to do that.
Could someone give me a nudge in the right direction?
Cheers,
Alex