You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 Re: FluxBB discussion » Creating template system » 2008-06-30 04:23:04
- aboyd
Yeah, I guess I missed that stuff. Thanks.
#2 Re: FluxBB discussion » Creating template system » 2008-06-30 00:32:24
- aboyd
It seems so easy that if it's really just what I outlined, I might as well just do it and give the code contribution to you. But if you guys are planning something fancy, then I'd probably want to say, "Oh, that sounds complicated, you guys have fun with that." And then wait. ![]()
#3 FluxBB discussion » Creating template system » 2008-06-30 00:24:22
- aboyd
- Replies: 5
I was just curious, maybe somebody could school me on the template system? I ask because, having looked at the code, it appears that a person could very quickly implement a basic template system (in say, a single day), and with a few days make it pretty good. Basically, you would:
1. Create a templates/default directory
2. Copy all the main .php files there
3. Open each .php file and cut out the initial PHP stuff, so that it starts with the first div tag.
4. Open the original files, remove the tags, and add include statements to include the template files
5. Set a user profile/config for which template style you wanted
Because this seems so easy, I'm thinking I've missed something. Is there a trick to doing the template system? Would the templates not use the PHP variables but instead be parsed, similar to phpBB? Ugh. Just wondering what would cause the extra work, if any.
Pages: 1
