#1• como puedo pasar un theme de 1024x768 a 800x600? |
#2• Pues, primero haz una copia del theme y trabaja con ella. |
#3•• um.... es decir, de todos los index.php de los modulos? |
#4• No, hombre... sino del theme.php que estes usando. |
#5• este es el theme.php <?php /************************************************************/ /* THEME NAME: Reality */ /* THEME DEVELOPER: Ýlyas Toker (http://www.realm.tr.cx) */ /************************************************************/ $bgcolor1 = "#000000"; $bgcolor2 = "#000000"; $bgcolor3 = "#000000"; $bgcolor4 = "#000000"; $textcolor1 = "#000000"; $textcolor2 = "#000000"; include("themes/Longrix/tables.php" /************************************************************/ /* Function themeheader() */ /* */ /* Control the header for your site. You need to define the */ /* BODY tag and in some part of the code call the blocks */ /* function for left side with: blocks(left); */ /************************************************************/ function themeheader() { global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi; cookiedecode($user); $username = $cookie[1]; if ($username == "" { $username = "Anonymous"; } echo "<body bgcolor=000000 leftmargin=\"40\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">"; if ($banners == 1) { include("banners.php" } $topics_list = "<select name=\"new_topic\" onChange='submit()'>\n"; $topics_list .= "<option value=\"\">Todos los Temas</option>\n"; $toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi); while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) { if ($topicid==$topic) { $sel = "selected "; } $topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n"; $sel = ""; } if ($username == "Anonymous" { $theuser = " <a href=\"modules.php?name=Your_Account&op=new_user\">Creaar una Cuenta"; } else { $theuser = " Hola $username!"; } $tmpl_file = "themes/Longrix/header.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; blocks(left); $tmpl_file = "themes/Longrix/left_center.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themefooter() */ /* */ /* Control the footer for your site. You don't need to */ /* close BODY and HTML tags at the end. In some part call */ /* the function for right blocks with: blocks(right); */ /* Also, $index variable need to be global and is used to */ /* determine if the page your're viewing is the Homepage or */ /* and internal one. */ /************************************************************/ function themefooter() { global $index, $foot1, $foot2, $foot3, $foot4; if ($index == 1) { $tmpl_file = "themes/Longrix/center_right.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; blocks(right); } $footer_message = "$foot1<br>$foot2<br>$foot3<br>$foot4"; $tmpl_file = "themes/Longrix/footer.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themeindex() */ /* */ /* This function format the stories on the Homepage */ /************************************************************/ function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) { global $anonymous, $tipath; if ($notes != "" { $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n"; } else { $notes = ""; } if ("$aid" == "$informant" { $content = "$thetext$notes\n"; } else { if($informant != "" { $content = "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> "; } else { $content = "$anonymous "; } $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n"; } $posted = ""._POSTEDBY." "; $posted .= get_author($aid); $posted .= " "._ON." $time $timezone ($counter "._READS.""; $tmpl_file = "themes/Longrix/story_home.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themearticle() */ /* */ /* This function format the stories on the story page, when */ /* you click on that "Read More..." link in the home */ /************************************************************/ function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) { global $admin, $sid, $tipath; $posted = ""._POSTEDON." $datetime "._BY." "; $posted .= get_author($aid); if ($notes != "" { $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n"; } else { $notes = ""; } if ("$aid" == "$informant" { $content = "$thetext$notes\n"; } else { if($informant != "" { $content = "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> "; } else { $content = "$anonymous "; } $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n"; } $tmpl_file = "themes/Longrix/story_page.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themesidebox() */ /* */ /* Control look of your blocks. Just simple. */ /************************************************************/ function themesidebox($title, $content) { $tmpl_file = "themes/Longrix/blocks.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } ?> que debo cambiar?(para ponerlo a 800x600) |
#6• Son en las tablas, en tu caso pone: |
#7• este es el tables.php |
#8• En principio esta bien... pon la dirección para que lo vea como queda... |
#10• Pues viendo el código fuente pone: Cita: <body bgcolor=000000 leftmargin="40" text="#000000" link="#363636" vlink="#363636" alink="#d5ae83"><table border="0" align="center" cellpadding="0" width=900 cellspacing="0" > Alli pone un 900 en width. Mira a ver que ademas del theme.php tienes un header.html que quizás este allí indicado. |
#11• en el header he puesto width=500 y mira lo que pasa... |
#12• Escrito originalmente por Razor_back Pues no sera en ese... pero hay uno que te pone 900, como puedes ver al ver el código fuentem, edita todos y buscalo. |
#13• vale, cuando pueda hago los cambios |
ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un nuevo tema en lugar de responder al actual |
Opciones: Ir al subforo: |
Permisos: TU NO PUEDES Escribir nuevos temas TU NO PUEDES Responder a los temas TU NO PUEDES Editar tus propios mensajes TU NO PUEDES Borrar tus propios mensajes |
Temas similares |
No se han encontrado temas similares |