Not Solved [How To?] make a plugin or add modules to admin
#1
Not Solved
need some help with somethings:

one: how do i go about making forms for my admin module. 
two: how can I make it style friendly. is it the same as the custom page. use the tables and it will be good?
three: how do i make the tabs for this section. 

<?php
/**
 * MyBB 1.8
 * Copyright 2014 MyBB Group, All Rights Reserved
 *
 * Website: http://www.mybb.com
 * License: http://www.mybb.com/about/license
 *
 */

// Disallow direct access to this file for security reasons
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}

require_once MYBB_ADMIN_DIR."inc/functions_themes.php";

$page->extra_header .= "
<script type=\"text/javascript\">
//<![CDATA[
var save_changes_lang_string = '{$lang->save_changes_js}';
var delete_lang_string = '{$lang->delete}';
var file_lang_string = '{$lang->file}';
var globally_lang_string = '{$lang->globally}';
var specific_actions_lang_string = '{$lang->specific_actions}';
var specific_actions_desc_lang_string = '{$lang->specific_actions_desc}';
var delete_confirm_lang_string = '{$lang->delete_confirm_js}';

lang.theme_info_fetch_error = \"{$lang->theme_info_fetch_error}\";
lang.theme_info_save_error = \"{$lang->theme_info_save_error}\";
//]]>
</script>";
$page->output_header();
echo "<form>
<label>hi</label>
<input type='text' class='text_input' name='hi' value='hi'/>
</form>";


$page->output_footer();

any ideas how to do this?

i gotten some of it. i just can't figure out how to do the tabs.

bump anyone wanna help? have any ideas on how to do this the proper way?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)