Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Changing text
ercatli
✭
I'm sure I have seen posts on this before, but I can't seem to find the right thing to search for.
When I installed Vanilla 0.9.2 I modified various bits of text, e.g. the welcome guest message, by searching through the English.php file for the old text and replacing it there and in some other files (e.g. apply.php). I knew it wasn't the best, but I wanted to get started, and I knew it would all change when v1 appeared.
Of course I lost all these changes when I upgraded (just this weekend) to 1.01. So my question is, are there any do's and don't's for making such changes, especially so they'll be retained though any future upgrades?
Thanks.
0
This discussion has been closed.
Comments
Thanks for pointing me in the right direction. I wasn't expecting you to explain it all to me, and I haven't delved into that part of the documentation yet because I didn't think I was up to it, but I can see I am going to have to find a few good php explanation sites, and read up on controls & delegates etc. And if I understand enough, I'm sure I'll have questions.
Since vanilla 1.0.1, you can avoid overwriting definitions by using $Context->SetDefinition('code', 'definition') to set the definitions for your extensions.