Página 1 de 1

Problemas con mod dl calendario

Publicado: 21 Mar 2004, 03:37
por KTze
Bueno he instalado el mod del calendario, pero claro no se xq no me sale ningí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?ºn enlace en el foro :(
Solo puedo acceder a í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?©l si pongo en el buscador su direccií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n, en este caso:
http://clancruzados.webcindario.com/calendar-1.4.2.php
Mi pregunta es como puedo hacer para q aparezca ese enlace en mi foro :(
Instale todo como decia en el manual, pero claro como mi TEMPLATE, es diferente, puede q influya eso, no se si sabeis como puedo hacer para q aparezca ese enlace os lo agradecerí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a mucho ;)

Re: Problemas con mod dl calendario

Publicado: 21 Mar 2004, 09:47
por Francisco
Debes de crear un link en overal_header.tpl como te pone al final en MOD:

Código: Seleccionar todo

#-----[ OPEN templates/xxx/overall_header.tpl]------------------------------------------ 
#

# 
#-----[ FIND ]------------------------------------------ 
# 

<img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 

&nbsp; &nbsp;<a href="{U_CALENDAR}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_calendar.gif" width="12" height="13" border="0" alt="{L_CALENDAR}" hspace="3" />{L_CALENDAR}</a>
:wink:

Publicado: 23 Mar 2004, 09:41
por KTze
oye amigo a mi en este template, el q tngo instalado no me salen esas lineas :(
Y las q veo algo parecidas le pongo eso q dices y no m sale nada :(

Re: Problemas con mod dl calendario

Publicado: 23 Mar 2004, 09:44
por KTze
Bueno amigo aki dejo el codigo de mi template, para q veas q es diferente :D
Espero q me puedas ayudar ;)

Código: Seleccionar todo

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="Author" content="http://www.trushkin.net" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_TEMPLATE_PATH}/{T_HEAD_STYLESHEET}" type="text/css">
<style type="text/css">
<!--
th, td.th, td.spacerow	{ background-image: url({T_TEMPLATE_PATH}/images/bg_cat.gif); }
td.th2,th.cat2,td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom	{ background-image: url({T_TEMPLATE_PATH}/images/bg_cat2.gif); }
table.toptable { background-image: url({T_TEMPLATE_PATH}/images/top_bg.gif); height: 26px; }
table.bottable { background-image: url({T_TEMPLATE_PATH}/images/bottom_bg.gif); height: 9px; }
table.bottable2 { background-image: url({T_TEMPLATE_PATH}/images/bottom_bg2.gif); height: 20px; }
table.maintable { background-image: url({T_TEMPLATE_PATH}/images/top_bg.jpg); height: 100px; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("{T_TEMPLATE_PATH}/formIE.css"); 
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script language="javascript" type="text/javascript">
<!--

 function changeImages()
 {
  if (document.images)
  {
   for (var i=0; i<changeImages.arguments.length; i+=2)
   {
    document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
   }
  }
 }

 var PreloadFlag = false;

 function newImage(arg)
 {
  if (document.images)
  {
   rslt = new Image();
   rslt.src = arg;
   return rslt;
  }
 }

 function PreloadImages()
 {
  if (document.images)
  {
	// preload all rollover images
	<!-- BEGIN switch_user_logged_out -->
	img0 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif');
	img1 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif');
	<!-- END switch_user_logged_out -->
	<!-- BEGIN switch_user_logged_in -->
	img2 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif');
	img3 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif');
	img4 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif');
	img5 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif');
	<!-- END switch_user_logged_in -->
	img6 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif');
	img7 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif');
	img8 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif');
	img9 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif');
	PreloadFlag = true;
  }
  return true;
 }

 function ShowImage(title, href, name)
 {
  document.write('<td align="center" valign="middle">');
  document.write('<a title="' + title + '" href="' + href + '" class="mainmenu" ');
  document.write('onmouseover="changeImages(\'btn_top_' + name + '\', \'{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_' + name + '_on.gif\'); return true;" ');
  document.write('onmouseout="changeImages(\'btn_top_' + name + '\', \'{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_' + name + '.gif\'); return true;">');
  document.write('<img name="btn_top_' + name + '" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_' + name + '.gif" height="19" border="0" alt="' + title + '" /></a>');
  document.write('</td>');
  return true;
 }

//-->
</script>
</head>
<body bgcolor="#{T_BODY_BGCOLOR}" text="#000000" link="#{T_BODY_LINK}" vlink="#{T_BODY_VLINK}" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" onload="PreloadImages();" /><table border="0" cellspacing="0" cellpadding="0" width="{T_BODY_BACKGROUND}" height="100%" class="firsttable" align="center"><tr><td width="{T_BODY_BACKGROUND}" height="100%" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100" class="maintable"><a name="top"></a>
<tr height="61"><td align="center" valign="middle" width="100%" height="61"><a target="_blank" href="http://clan-cruzados.webcindario.com"><img src="{T_TEMPLATE_PATH}/images/logo_phpBB.gif" border="0" /></a></td></tr>
<tr height="19"><td align="center" valign="middle" width="100%" height="19"><script language="JavaScript" type="text/javascript">
			<!-- 
				document.write('<table border="0" cellspacing="0" cellpadding="0"><tr>');
				ShowImage("{L_INDEX}", "{U_INDEX}", "index");
			<!-- BEGIN switch_user_logged_out -->
				ShowImage("{L_LOGIN_LOGOUT}", "{U_LOGIN_LOGOUT}", "login");
				ShowImage("{L_REGISTER}", "{U_REGISTER}", "register");
			<!-- END switch_user_logged_out -->
			<!-- BEGIN switch_user_logged_in -->
				ShowImage("{L_PROFILE}", "{U_PROFILE}", "profile");
				ShowImage("{PRIVATE_MESSAGE_INFO}", "{U_PRIVATEMSGS}", "pm");
			<!-- END switch_user_logged_in -->
				ShowImage("{L_FAQ}", "{U_FAQ}", "faq");
				ShowImage("{L_MEMBERLIST}", "{U_MEMBERLIST}", "users");
				ShowImage("{L_SEARCH}", "{U_SEARCH}", "search");
			<!-- BEGIN switch_user_logged_in -->
				ShowImage("{L_USERGROUPS}", "{U_GROUP_CP}", "groups");
				ShowImage("{L_LOGIN_LOGOUT}", "{U_LOGIN_LOGOUT}", "logout");
			<!-- END switch_user_logged_in -->
				document.write('</tr></table>');
			//-->
			</script><noscript><table border="0" cellspacing="0" cellpadding="0">
			<tr>
			<td><a href="{U_INDEX}"><img src="{T_TEMPLATE_PATH}/images/btn_index.gif" height="19" border="0" alt="{L_INDEX}" /></a></td>
                        <!-- BEGIN switch_user_logged_out -->
			<td><a href="{U_LOGIN_LOGOUT}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login.gif" height="19" border="0" alt="{L_LOGIN_LOGOUT}" /></a></td>
			<td><a href="{U_REGISTER}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register.gif" height="19" border="0" alt="{L_REGISTER}" /></a></td>
			<!-- END switch_user_logged_out -->
			<!-- BEGIN switch_user_logged_in -->
			<td><a href="{U_PROFILE}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile.gif" height="19" border="0" alt="{L_PROFILE}" /></a></td>
			<td><a href="{U_PRIVATEMSGS}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm.gif" height="19" border="0" alt="{PRIVATE_MESSAGE_INFO}" /></a></td>
			<!-- END switch_user_logged_in -->
			<td><a href="{U_FAQ}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq.gif" height="19" border="0" alt="{L_FAQ}" /></a></td>
			<td><a href="{U_MEMBERLIST}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users.gif" height="19" border="0" alt="{L_MEMBERLIST}" /></a></td>
			<td><a href="{U_SEARCH}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search.gif" height="19" border="0" alt="{L_SEARCH}" /></a></td>
			<!-- BEGIN switch_user_logged_in -->
			<td><a href="{U_GROUP_CP}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups.gif" height="19" border="0" alt="{L_USERGROUPS}" /></a></td>

			<td><a href="{U_LOGIN_LOGOUT}"><img src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout.gif" height="19" border="0" alt="{L_LOGIN_LOGOUT}" /></a></td>
			<!-- END switch_user_logged_in -->
			</tr></table></noscript></td></tr>
<tr height="20"><td align="center" valign="middle" width="100%" height="20"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="18" border="0" alt="" /></td></tr>
</table>

<br />

<table border="0" cellspacing="0" cellpadding="10" width="100%">
<tr>
	<td align="center" valign="top">

Re: Problemas con mod dl calendario

Publicado: 23 Mar 2004, 10:22
por Francisco
Tendrí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡s que hacerte un botí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n del formato de los que tienes que diga Calendario y guardarlo donde estí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡n los otros con el nombre btn_calendar.gif y prueba este cí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³digo:

Código: Seleccionar todo

 
 
 
 
 
 
{META} 
{NAV_LINKS} 
{SITENAME} :: {PAGE_TITLE} 
 
 
 
 
 
 
 
   img0 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif'); 
   img1 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif'); 
    
    
   img2 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif'); 
   img3 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif'); 
   img4 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif'); 
   img5 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif'); 
    
   img6 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif'); 
   img7 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif'); 
   img8 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif'); 
   img9 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif'); 
   PreloadFlag = true; 
  } 
  return true; 
 } 

 function ShowImage(title, href, name) 
 { 
  document.write(''); 
  document.write(''); 
  document.write(''); 
  document.write(''); 
  return true; 
 } 

//--> 
 
 
 
 
 
          
            ShowImage("{L_LOGIN_LOGOUT}", "{U_LOGIN_LOGOUT}", "login"); 
            ShowImage("{L_REGISTER}", "{U_REGISTER}", "register"); 
          
          
            ShowImage("{L_PROFILE}", "{U_PROFILE}", "profile"); 
            ShowImage("{PRIVATE_MESSAGE_INFO}", "{U_PRIVATEMSGS}", "pm"); 
          
            ShowImage("{L_FAQ}", "{U_FAQ}", "faq"); 
            ShowImage("{L_MEMBERLIST}", "{U_MEMBERLIST}", "users"); 
            ShowImage("{L_SEARCH}", "{U_SEARCH}", "search"); 
          
            ShowImage("{L_USERGROUPS}", "{U_GROUP_CP}", "groups"); 
            ShowImage("{L_LOGIN_LOGOUT}", "{U_LOGIN_LOGOUT}", "logout"); 
          
            document.write(''); 
         //--> 
          
          
          
                         
          
          
          
          
          
          
          
          
          
          
          
          
         

          
          
          
 
 


 

 
 
   
Suerte. :lol:

Publicado: 24 Mar 2004, 12:11
por KTze
Amgio sustituí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­ el codigo q tení?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a x el q pusiste aki pero no sale nada :( Sigue todo igual Qpodemos hacer?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¿?

Re: Problemas con mod dl calendario

Publicado: 24 Mar 2004, 12:24
por Francisco
Ahora tienes el cí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³digo puesto, creo que no. :roll:

Tienes que crear dos botones del mismo estilo de los que tienes uno se llamarí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡ btn_calendar_on.gif y el otro btn_calendar.gif y subirlos al servidor donde estí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡n los otros.

Tienes que aí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?±adir el botí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n btn_calendar_on.gif en overal_header.tpl en el cí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³digo siguiente:

Buscar:

Código: Seleccionar todo

// preload all rollover images 
img0 = newImage('./templates/Iris/images/lang_spanish/btn_login_on.gif');
img1 = newImage('./templates/Iris/images/lang_spanish/btn_register_on.gif');
img6 = newImage('./templates/Iris/images/lang_spanish/btn_faq_on.gif');
img7 = newImage('./templates/Iris/images/lang_spanish/btn_search_on.gif');
img8 = newImage('./templates/Iris/images/lang_spanish/btn_users_on.gif');
img9 = newImage('./templates/Iris/images/lang_spanish/btn_index_on.gif');
PreloadFlag = true;
Y mira el archivo *.cfg que tienes en tu directorio templates por si tienes que aí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?±adir ahí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­ tambien los botones nuevos.

No puedo hacer otra cosa. :?:

Publicado: 13 Abr 2004, 11:20
por KTze
Bueno amigo la verdad estube intentando hacer lo q m pones pero no entiendo muy bien lo q m kires dcir, a ver si habrí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a posibilidad d explicarlo un poco mejor xq ando algo perdido :(

Publicado: 15 Abr 2004, 13:33
por KTze
Xfavorrrr alguien podria explicarme como hacer para q me aparezca el enlace al calendario en mi foro :(

Publicado: 15 Abr 2004, 20:54
por ThE KuKa
Creo que la explicacion dada por Francisco es mas que buena, explica que parte no entiendes, porque soy yo, el que no entiende nada.

S@lu2

Re: Problemas con mod dl calendario

Publicado: 21 Abr 2004, 10:19
por KTze
Bueno amigo pues hice eso q comenta el amigo x aki, pero sigue sin salirme el enlace, no xq no me sale :(
Si alguien sabes como hacerlo d otra manera o como puedo ponerlo se lo agradecerí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a, con una imagen mismo, com fuera, xfaaaaaaaaa
Gracias x todo

Publicado: 26 Abr 2004, 10:24
por KTze
Nadie puede decirme como pongo un acceso directo en el foro a un URL, con eso me conformo :(

Publicado: 26 Abr 2004, 23:12
por tole
Dinos donde tienes ubicada esta imagen icon_mini_calendar.gif, es decir la ruta donde lo tienes, y en el primer mensaje de Francisco en el indica donde tienes q colocar el link, intenta colocarlo con el path donde estí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© esa imagen si es q yo no veo tanta complicacií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n en el tema.

Salu2.

Publicado: 30 Abr 2004, 10:43
por KTze
Ya amigo si yo se q no es complicado el problema es q como es otro TEMPLATE pues esas lines no me aparecen :(
Por eso toy liado :(