Trying to understand Views, Controllers - example needed, head hurts!
Hi all and great job to all who developed this lovely forum. I have some recreational html and CSS experience but am confused, despite reading, about how views and controllers etc work.
Could someone summarise what happens when I click on 'Activity' for example. I'll put my limited thoughts so you can correct me:
Click on the Activity link > sends /activity to ?default.php (where is this?) controller?? > some magic happens > data is extracted from the database using a controller and a particular method > presented via a view for that method > default.master view is used to render this.
Basically what I would like to do is have a home page that is the same as the recent discussions view, but with html - in my case I'd like to be able to insert some custom HTML at the beginning of the content pane prior to the the rest of the discussions, and call the search box to the beginning of the content page rather than the side panel.
I'm trying to analyse the different views to make sense of the documentation but I'm too much of a Newb to find the files or understand it fully.
If I can work out how to call an alternate view I can copy the files for the recent discussion view html etc, rename and modify the html for the view.
So any kind of summary as to how the above happens (and where the files are) would be invaluable as I'm keen to learn myself once I'm looking in the right direction.
I could use the plugin for new pages but would rather understand how Garden/Vanilla works for this.
Many thanks in advance.