Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Crear una static page para poner FAQ, About us, etc.  (Read 7204 times)

0 Members and 1 Guest are viewing this topic.

asbringer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Crear una static page para poner FAQ, About us, etc.
« on: December 26, 2012, 06:42:26 am »

Hola muy buenas, soy nuevo en esto, así que, solo queria saber qué es lo que puedo hacer para crear el TOS, el Agreement cuando se registran, el FAQ y el about us, serian todos estáticos. Espero que puedan ayudarme.
Logged

marioo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 80
Re: Crear una static page para poner FAQ, About us, etc.
« Reply #1 on: January 14, 2013, 09:15:48 pm »

No se si entiendo bien tu pregunta, yo quise añadir un faq en su momento y mi post debe estar por aquí, el caso es que conseguí sacar algo que queda chulo :D


Crear faq.html

Code: [Select]
<font face="Arial" color="black" size=4>
<a href="javascript:MostrarOcultar('texto1');"><img src="images/faq/pregunta1a.png" alt="Premium" onmouseover="this.src='images/faq/pregunta1b.png'" onmouseout="this.src='images/faq/pregunta1a.png'" alt="no puedo entrar a la galería"></a>
<div class="ocultable" id="texto1"><p align="left">

texto que aparece y se esconde
Code: [Select]
</div>
Inicio del documento:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>F.A.Q. (preguntas frecuentes)</title>
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
}
body {
background: #FFCC00 url(images/bg_yellow.jpg) repeat-x;
background-image: url(themes/curve_lucid_yellow/images/bg_yellow.jpg);   
}
}
-->
</style></head>
<html>
<head>
</head>
<body>
<script languaje="Javascript">
<!--
document.write('<style type="text/css">div.ocultable{display: none;}</style>');
function MostrarOcultar(capa,enlace)
{
if (document.getElementById)
{
var aux = document.getElementById(capa).style;
aux.display = aux.display? "":"block";
}
}

//-->
</script>

Después añado el botón en la página principal:
Añadir botón

Vamos a themes/curve_lucid_yellow/template.html y al lado de SYS MENU pegamos:

Code: [Select]
<a href="faq.html"><img src="images/faq1.png" alt="Premium" onmouseover="this.src='images/faq2.png'" onmouseout="this.src='images/faq1.png'" height="24" width="154" alt="preguntas frecuentes"></a>
faq.html -> .html al que redirige el vínculo
images/faq1.png -> imagen con el cursor fuera
images/faq2.png -> imagen con el cursor encima
preguntas frecuentes -> nombre del botón



Espero que esto te sirva de ayuda
Mario :)
Logged
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 18 queries.