Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/09/2008, 20:45
Avatar de romel_inc
romel_inc
 
Fecha de Ingreso: diciembre-2007
Ubicación: Venezuela-monagas
Mensajes: 288
Antigüedad: 16 años, 5 meses
Puntos: 14
como es que se modifica un tema

hay un manual?

modifico functions.php, footer.php, ads-top.php, para incluir en el footer.php esto

Código:
	<?php include('ads/ads-top.php'); ?>
para quede igual y para administrar la publicidad por el panel de administrador


resumiendo modifique los array y ads-top.php pero no se mas. como hago para que funcione bien

básicamente la pregunta seria que archivos tengo que modificar para aún que sea tenga un link o img que se pueda administrar desde el admin

este es un estrato de functions.php sin modificar


Código:
array(	"name" => "------ Banner Ad Management (125x125 Top)----------------------------------------",
						"type" => "heading"),

				array(	"name" => "Display two 125x125 ads at top of sidebar",
						"desc" => "Check this box if you would like to display top 2 banner ads in the sidebar.",
						"id" => $shortname."_show_ads_top",
						"std" => "false",
						"type" => "checkbox"),

				array(	"name" => "Banner Ad #1 - Image Location",
						"desc" => "Enter the URL for this banner ad.",
						"id" => $shortname."_ad_image_1",
						"std" => $template_path . "/images/ad-125x125.gif",
						"type" => "text"),
						
				array(	"name" => "Banner Ad #1 - Destination",
						"desc" => "Enter the URL where this banner ad points to.",
			    		"id" => $shortname."_ad_url_1",
						"std" => "http://example.com/ads/ad1_destination.html",
			    		"type" => "text"),						

				array(	"name" => "Banner Ad #2 - Image Location",
						"desc" => "Enter the URL for this banner ad.",
						"id" => $shortname."_ad_image_2",
						"std" => $template_path . "/images/ad-125x125.gif",
						"type" => "text"),
						
				array(	"name" => "Banner Ad #2 - Destination",
						"desc" => "Enter the URL where this banner ad points to.",
			    		"id" => $shortname."_ad_url_2",
						"std" => "http://example.com/ads/ad1_destination.html",
			    		"type" => "text"),