We left off trying to decide if we can win the battle for a static login form or not. We probably could, but in more playing around with the forums, we see that it's not just login that by default comes up in a modal. The modal design pattern is used all over the place in the forums. Using it on the login just establishes that pattern and because of that we might as well go with it (it's easier anyway).

We go over the style that controls how the modals work and look. It's easy really. Vanilla gives us an overlay div that we can style. We go with transparent orange (why are all overlay divs black?!).

Then we get into the heart of how Vanilla Forums themeing works. We can look through the core files to find what files control what parts of a view. To change them, we don't change the core files themselves, we put a copy of that file in our theme folder (in the same relative location) and the application will use our file instead of the core file. That way we can alter to our heart's content without effecting core (so we can upgrade anytime... probably).

Leave a Comment

Posting Code!

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.