Moving the template code to your template does not satisfy the dependencies of the code, it is not that simple. However, you have a perfect example of it in the vBulletin code.
Sorry, I had no other way to answer this question since you did not really ask a programming question. You asked a 'how do I do that' question, which is what I am replying too. Unfortunately, you question is too broad in scope for me to be helpful.
|