Jump to content
Sign in to follow this  
Joel

Mctemplate Version 2

Recommended Posts

Well I got bored and wasn't diggin the default dev theme, so I created a Mccodes-like template:

20130326214507.png

Enjoy!

P.S. I submitted to market place also.

EDIT: fixed and updated, download attachment.

mctemplate.nwp

Edited by Joel

Share this post


Link to post
Share on other sites
Now are you using your own font for the title or are you using the function for the fonts?

Neither, using PNG.

Share this post


Link to post
Share on other sites

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]

Screenshot_2013-03-26-15-22-45-1.png.45364f1085a27400b9c628af264f0b2e.png

Edited by KyleMassacre

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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 by Joel

Share this post


Link to post
Share on other sites
Ok your module has been accepted, now publish it in the marketplace ;)

Sweet... published :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...