current MAP Version

V2.4.3 2011-12-23

  • beanragtes Konto bearbeiten
  • Server Details
  • Serverliste
  • Startseite
  • Channelviewer
  • Server editieren
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

create a Template

There have been many queries about how to create your own template for MAP. This tutorial will help you. Please note that I also like to create individual templates, get to it only in the support.

Downloads:

Already created templates are available here for download!

Basics:

All templates are pushed into the following directory of MAP: ../inc/tpl/

So the script detects your template, the folder may not be renamed in your template folder, just can not. Html files will be renamed. Only the contents of your. Html files to be changed. The name of your template you choose, by clicking on the folder located in ../inc/tpl/ is give a name! This is parallel to the template folder "default". The script will automatically detect your template and you can do it in the settings menu. After you've saved the settings, your template will be displayed!

How it works:

The script calls, depending on what was asked for a page each. Html files. In the. Html files are many different placeholders that you depending on how the template should be designed to sit at other places within these files can. Where are the placeholders, the MAP generates the contents later. A placeholder may look like this: [index] or [user_list].

What should or can I change?

To customize your template you must not do much. Basically, you must distinguish between structure and presentation! To change the structure of your page to move around the menu on the left side to the right side you have to change. Html files. Want to change only the colors and the display of the page, about the width of margins or table fields, then you have to change the stylesheet.css! Of course, you can create new CSS classes in the. Html files, and define it later in the stylesheet.css.

Still ask?

If you've created a custom template, you can upload it HERE. Or simply ask a question in the forum!

Which path should I know?

//There are all the templates

../inc/tpl/

//Path to the stylesheet (in charge of sizes, colors, etc.)

../inc/tpl/Xx.YOUR_TPL_NAME.xX/_css/stylesheet.css

//Path to the template file (defined structure of the template)

../inc/tpl/Xx.YOUR_TPL_NAME.xX/index.html

//Pathstruckture of a template (example from V1.4.2)

╠╪ _css
╠══╪ stylesheet.css
╠╪ footer
╠══╪ footer.html
╠╪header
╠══╪ header.html
╠╪ images
╠══╪ activate.png
╠══╪ activity.png
╠══╪ all_server.png
╠══╪ create_map_user.png
╠══╪ create_server_user.png
╠══╪ create_user.png
╠══╪ delete.png
╠══╪ details.png
╠══╪ edit.png
╠══╪ favicon.ico
╠══╪ header.png
╠══╪ home.png
╠══╪ logout.png
╠══╪ mail.png
╠══╪ map_user.png
╠══╪ requested_account.png
╠══╪ server.png
╠══╪ server_user.png
╠══╪ settings.png
╠══╪ userlist.png
╠╪ install
╠══╪ install_check_preferences.html
╠══╪ install_chmod.html
╠══╪ install_db.html
╠══╪ install_insert_preferences.html
╠══╪ install_language.html
╠══╪ install_save_preferences.html
╠══╪ install_start.html
╠╪ menu
╠══╪ login.html
╠══╪ main_navi.html
╠══╪ menu_link.html
╠══╪ request.html
╠╪ request
╠══╪ activate_account.html
╠══╪ delete_account.html
╠══╪ edit_account.html
╠══╪ form.html
╠══╪ no_requested_accounts.html
╠══╪ request_overview.html
╠══╪ request_overview_list.html
╠══╪ requested_accounts_list_server.html
╠══╪ requested_accounts_list_server_0.html
╠══╪ requested_accounts_server.html
╠══╪ requested_accounts_server_0.html
╠╪ server
╠══╪
admin_mail_server.html
╠══╪ create_server.html
╠══╪ create_start.html
╠══╪ delete_server.html
╠══╪ edit_server.html
╠══╪ map_admin_mail_server.html
╠══╪ mass_mail_server.html
╠══╪ server.html
╠══╪ server_list.html
╠══╪ server_overview.html
╠══╪ server_overview_list.html
╠══╪ show_server.html
╠╪ settings
╠══╪ settings.html
╠╪ start
╠══╪ start.html
╠╪ user
╠══╪ create_map_user.html
╠══╪ create_server_user.html
╠══╪ delete_map_user.html
╠══╪ delete_server_user.html
╠══╪ edit_map_user.html
╠══╪ edit_server_user.html
╠══╪ map_user_list_server.html
╠══╪ map_user_list_server_0.html
╠══╪ map_user_overview.html
╠══╪ map_user_overview_list.html
╠══╪ map_user_server.html
╠══╪ map_user_server_0.html
╠══╪ most_active_user_list_server.html
╠══╪ most_active_user_list_server_0.html
╠══╪ most_active_user_overview.html
╠══╪ most_active_user_overview_list.html
╠══╪ most_active_user_server.html
╠══╪ most_active_user_server_0.html
╠══╪ no_map_user.html
╠══╪ no_most_active_user.html
╠══╪ no_server_user.html
╠══╪ server_user_list_server.html
╠══╪ server_user_list_server_0.html
╠══╪ server_user_overview.html
╠══╪ server_user_overview_list.html
╠══╪ server_user_server.html
╠══╪ server_user_server_0.html
╠╪ index.html