Joel Posted March 26, 2013 Share Posted March 26, 2013 (edited) Well I got bored and wasn't diggin the default dev theme, so I created a Mccodes-like template: Enjoy! P.S. I submitted to market place also. EDIT: fixed and updated, download attachment. mctemplate.nwp Edited March 27, 2013 by Joel Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 26, 2013 Share Posted March 26, 2013 Haha thats awesome Quote Link to comment Share on other sites More sharing options...
Joel Posted March 26, 2013 Author Share Posted March 26, 2013 Thanks! cookies for you! Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 26, 2013 Share Posted March 26, 2013 Now are you using your own font for the title or are you using the function for the fonts? Quote Link to comment Share on other sites More sharing options...
Joel Posted March 26, 2013 Author Share Posted March 26, 2013 Now are you using your own font for the title or are you using the function for the fonts? Neither, using PNG. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 26, 2013 Share Posted March 26, 2013 (edited) Yeah I just downloaded it and checked it out. Here are some things you should work on: The code editor, it doesnt show right. And maybe instead of the image for the header use ImageGameName(); instead. That way it uses the fonts for the game name and you can use a background image for it. Other than that so far I like it haha [ATTACH=CONFIG]898[/ATTACH] Edited March 26, 2013 by KyleMassacre Quote Link to comment Share on other sites More sharing options...
Joel Posted March 26, 2013 Author Share Posted March 26, 2013 Yeah I just downloaded it and checked it out. Here are some things you should work on: The code editor, it doesnt show right. And maybe instead of the image for the header use ImageGameName(); instead. That way it uses the fonts for the game name and you can use a background image for it. Other than that so far I like it haha [ATTACH=CONFIG]898[/ATTACH] Okay I'll add the function, remove the text and just add ImageGameName(); The code editor is probably due to the width of the content, not sure that is changeable via a templates folder? file? Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted March 27, 2013 Share Posted March 27, 2013 Well im completely horrible with design so I wouldnt know for sure how to fix it. Quote Link to comment Share on other sites More sharing options...
Joel Posted March 27, 2013 Author Share Posted March 27, 2013 (edited) Updated: - fixed code editor problem - temp - using ImageGameTitle(); for the game title http://img16.imageshack.us/img16/9527/20130327003706.png EDIT: code editor css/js not in default template? possibly a_bertrand needs to add support for other templates for it to work correctly. mctemplate.nwp Edited March 27, 2013 by Joel Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted March 27, 2013 Share Posted March 27, 2013 Illusions made a template code editor which let you edit template directly like the code editor. BTW to make the code editor work, you should NOT add all the JS in the header ;) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title><?php echo $gameName; ?></title> <link rel="icon" type="image/png" href="<?php echo $webBaseDir; ?>favicon.ico" /> <link href="<?php echo $webBaseDir; ?>templates/neo_mafia/mafia.css" type="text/css" rel="stylesheet" /> <?php echo $content['header']; ?> </head> <body> Basically what you need to do is add an <?php echo $content['header']; ?> or <?= $content['header']; ?> before the /head Quote Link to comment Share on other sites More sharing options...
Joel Posted March 27, 2013 Author Share Posted March 27, 2013 (edited) Illusions made a template code editor which let you edit template directly like the code editor. BTW to make the code editor work, you should NOT add all the JS in the header ;) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title><?php echo $gameName; ?></title> <link rel="icon" type="image/png" href="<?php echo $webBaseDir; ?>favicon.ico" /> <link href="<?php echo $webBaseDir; ?>templates/neo_mafia/mafia.css" type="text/css" rel="stylesheet" /> <?php echo $content['header']; ?> </head> <body> Basically what you need to do is add an <?php echo $content['header']; ?> or <?= $content['header']; ?> before the /head Ahh... I must have missed it while looking at the default template file, i'll update it now. =D Edited March 27, 2013 by Joel Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted March 27, 2013 Share Posted March 27, 2013 Ok your module has been accepted, now publish it in the marketplace ;) Quote Link to comment Share on other sites More sharing options...
Joel Posted March 27, 2013 Author Share Posted March 27, 2013 Ok your module has been accepted, now publish it in the marketplace ;) Sweet... published :) Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted March 27, 2013 Share Posted March 27, 2013 Thanks for the contribution! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.