Mysidia Project - A new Look
|
Oh it looks really nice Nyxi, thanks for doing this. ^^
|
|
Oh that's so cool, new template system? Actually I am considering using Smarty for Mys v1.3.3 and onward, so it may be a good starting point?
|
Quote:
|
I see. Hows your experience with Smarty so far? Converting old template system into Smarty template system should be easy, although you may encounter some issues using smarty's Smarty::assign() method if you aint quite familiar with OOP.
Theoretically three .tpl files should be sufficient for this script, one for the main theme, one for ACP theme, and another for the install wizard theme. Of course custom themes may define their own .tpl files, so the number may vary if we include old themes such as Green and Elements in official package. |
I figured we could set a main .tpl with different sections defined by sub .tpls. I'll take a look at other systems with a similar setup first though.
Although, this seems promising: http://www.smarty.net/inheritance Quote:
Quote:
|
I see, this sounds like a good idea to me. This way all custom templates can extend a main .tpl file and define their own header and body with less code.
|
Yep. ;3
I'll keep researching it. ;3 After all my bug brought home an "I wasn't all that good at school" slip today. It's a boring night for her. Maths, and Words, and things like that. |
Anyone Want to Join?
I'm looking for helpers and aspiring coders to join up. I'll even provide hosting for your mods that need external files. You can give feedback on projects that I'm working on as well. I won't post all of them here now. ;3 |
All times are GMT -5. The time now is 03:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.