View Single Post
  #14  
Old 12-09-2012, 07:54 PM
powerchaos's Avatar
powerchaos powerchaos is offline
WebMaster
 
Join Date: May 2008
Posts: 130
Gender: Male
Credits: 13,362
powerchaos
Send a message via AIM to powerchaos Send a message via MSN to powerchaos
Default

well
a theme can be easy created

Code:
<head>
<title>:BROWSERTITLE:</title>
<link rel="stylesheet" href="templates/main/media/style-city.css" type="text/css" />
<link rel="stylesheet" href="css/menu.css" type="text/css" />
<!--[if lte IE 6]>
<link rel="stylesheet" media="all" type="text/css" href="media/dropdown_ie.css" />
<![endif]-->

</head>
you see the name :BROWSERTITLE: and a lot of other things int he template

those things are dynamic and taken care of in class/class_page like the following code shows

Code:
 private function getbody($template){
     // The temporary way to get AdminCP body, this will be revised in Mys v1.3.3
     $patterns = array("/:INDEX:/", "/:ADOPT:/", "/:LEVEL:/", "/:OWNEDADOPT:/", "/:IMAGE:/", "/:USER:/", "/:USERGROUP:/", "/:ITEM:/", "/:SHOP:/", "/:INVENTORY:/", "/:CONTENT:/", "/:MENU:/", "/:PROMO:/", "/:SETTINGS:/", "/:AD:/");
you see those line of codes , that are the dynamic codes
be sure to keep them in your template to show the things that are needed

at current moment is it not possible to edit everything in the html file , so you need to edit a lot of places to make the template exactly like you want

but atleast you can change now the css and a bit of the look of the template as long you keep the :texthere: items in the template

hopely it helps

Greetings From PowerChaos
Reply With Quote