[ubuntu-ar] Formulario de Inicio de consulta

spg76 sebastianporta at gmail.com
Sat Sep 29 17:57:57 BST 2007


El día 29/09/07, Juan Manuel <arbotti en yahoo.com.ar> escribió:
>
> Adjunto en un TXT el código corregido para implementar en Drupal:
>
> 1) La clave: //* input type=hidden name="missing_fields_redirect"
> value="http://ubuntu-ar.org/" //* (coloco //* para evitar que el cliente
> de correo interprete como html) tiene un value "ubuntu-ar.org" por
> defecto, habría que consignarle la página correspondiente al error
> "Campos incompletos o erróneos"
>
> 2) La clave: //* input type=hidden name="redirect"
> value="http://ubuntu-ar.org" //* tiene value "ubuntu-ar.org" y debe ser
> cambiada por la dirección correspondiente a "formulario enviado con
> éxito" (aquí se podría colocar: "Tu consulta ha sido enviada
> exitosamente. Aguardá una pronta respuesta o si preferís suscribite a la
> lista de correo bla bla bla."
>
> 3) La dirección de correo electrónico fue cambiada por la de la lista.
>
> 4) Al colocarlo en drupal como page, hay que habilitar la opción "full
> HTML." De ésa manera logré reconfigurar las interlineas que, dicho sea
> de paso, fue un flor de quilombo.
>
> Solo hay que copiarlo y pegarlo, una vez ajustadas las dos pájinas que
> mencioné arriba.
>
> Si quieren verlo andando, dejé mi Drupal andando para pruebas y para
> investigarlo cuando tenga tiempo: www.distrorosario.com.ar/web1 El
> formulario va a mi casilla.
>
> Si alguien tiene ganas, y sabe como, corrija el tema de la codificación
> (los acentos se ven mal.)
>
> Para suscripción y tareas relacionadas con la lista, dirigite a la <a
> href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-ar" title="Lista de
> Correo de Ubuntu-Ar">lista de Correo de Ubuntu-Ar.</a>
> Página Web de Ubuntu-ar: <a href="http://www.ubuntu-ar.org"
> title="Ubuntu-Ar">http://www.ubuntu-ar.org</a>
> Por favor, tené la amabilidad de leer el <a href="
> https://launchpad.net/codeofconduct/1.0.1" title="Code of Conduct">Código
> de Conducta</a>
>
> A tener en cuenta antes de realizar una consulta:
> Se sugiere efectuar una consulta profunda por los buscadores más conocidos
> antes de emplear éste formulario, de ésa manera ahorramos tiempo
> solucionando cuestiones no tratadas en lugar de re-tratar problemas viejos o
> conocidos.
> Se recomiendan las siguientes lecturas:
> <a href="https://wiki.ubuntu.com/C%c3%b3mo_ayudarte_a_vos_mismo"
> title="Como ayudarte a vos mismo">Cómo ayudarte a vos mismo,</a>
> <a href="http://ubuntu-ar.org/soporte/comos/obtenerayuda" title="COMO:
> obtener ayuda en Ubuntu">COMO: obtener ayuda en Ubuntu</a> y
> <a href="http://www.sindominio.net/ayuda/preguntas-inteligentes.html"
> title=Cómo hacer preguntas de manera inteligente">Cómo hacer preguntas de
> manera inteligente.</a>
>
> Es menester que el formulario sea rellenado lo más prolijamente posible
> (ortografía, gramática, puntuación, etc.) sin utilizar MAYUSCULAS en todo el
> mensaje.
> Si no estás suscripto a la lista, tu mensaje será puesto a consideración
> de un moderador antes de ser enviado al resto de los usuarios.
> <FORM ACTION="/cgi-bin/FormMail.cgi" METHOD="POST">
> <INPUT TYPE=HIDDEN NAME="recipient" VALUE="ubuntu-ar en lists.ubuntu.com">
> <INPUT TYPE=HIDDEN NAME="CONSULTA" VALUE="consulta desde ubuntu-ar"> <input
> type=hidden name="required"
> value="email,Version-Ubuntu,Nombre,Suscripto,subject,Problema-Comentario">
> <input type=hidden name="print_blank_fields" value="1"> <input type=hidden
> name="missing_fields_redirect" value="http://ubuntu-ar.org/"> <input
> type=hidden name="redirect" value="http://ubuntu-ar.org"> <input
> type="hidden" name="env_report" value="REMOTE_ADDR,HTTP_USER_AGENT"/>
> Nombre*
>         <INPUT TYPE=TEXT NAME="Nombre" SIZE=40 MAXLENGTH=70 STYLE="width:
> 8.57cm; height: 0.4cm">
>
>         E-Mail*
>         <INPUT TYPE=TEXT NAME="email" SIZE=40 MAXLENGTH=70 STYLE="width:
> 8.57cm; height: 0.4cm" VALUE="(Debe ser una direccion valida.)">
>
>         Versión de Ubuntu*
>         <input Type=TEXT NAME="Version-Ubuntu" SIZE=40 MAXLENGHT=70
> TYLE="width: 8.57cm; height: 0.4cm">
>
>         ¿Estás suscripto a la lista de correo de ubuntu-ar?*
>         Si <INPUT TYPE="RADIO" NAME="Suscripto" VALUE="Si">
>         No <INPUT TYPE="RADIO" NAME="Suscripto" VALUE="No">
>
>
>         ¿Trataste de despejar tu duda en algún buscador? De ser así,
> especificanos cual utilizaste:
>         <INPUT TYPE=TEXT NAME="Buscadores" SIZE=40 MAXLENGTH=70
> STYLE="width: 8.57cm; height: 0.4cm"></P>
>
>         ¿Tu consulta es sobre?
>         <SELECT NAME="Categoria" STYLE="width: 7.5cm; height: 0.4cm">
>         <!-- Las opciones van sin acento para evitar inconvenientes de
> codificación -->
>                         <OPTION SELECTED>Instalacion de Ubuntu
>                         <OPTION>Instalación de Ubuntu CD Alternativo
>                         <OPTION>Configuracion de dispositivo de hardware
>                         <OPTION>Configuracion del sistema
>                         <OPTION>Configuracion del sistema (no hardware)
>                         <OPTION>Configuracion de Red
>                         <OPTION>Configuracion de Modems ADSL
>                         <OPTION>Configuracion de Software
>                         <OPTION>Arranque y gestor
>                         <OPTION>Uso de Software en General
>                         <OPTION>Busqueda de programa equivalente
>                         <OPTION>Interfaz grafica Gnome
>                         <OPTION>Interfaz grafica KDE
>                         <OPTION>Interfaz grafica Xfce
>                         <OPTION>Interfaz grafica Fluxbox
>                         <OPTION>Otras interfaces graficas
>                         <OPTION>Servidores
>                         <OPTION>Programación y desarrollo
>                         <OPTION>Maquinas Virtuales - Emulacion
>                         <OPTION>Consulta sobre el sitio web Ubuntu-AR
>                         <OPTION>Consulta OT (no relativo a Ubuntu)
>                         <OPTION>Solicitar recomendacion de software
>                         <OPTION>Ofrecer recomendacion de software
>                         <OPTION>Actividades del grupo (Reuniones,
> Festivales, Etc.)
>                         <OPTION>Informar eventos
>                         <OPTION>Noticias
>                         <OPTION>Otros
>
>                         </OPTION>
>         </SELECT>
>
>         ¿Qué hardware o software se encuentra implicado? Sé lo más preciso
> posible, indicá nombre y versión.
>         <INPUT TYPE=TEXTAREA NAME="Hard-Soft" STYLE="width: 8.57cm;
> height: 0.4cm">
>
>         Escribí un título para tu consulta, debe ser claro y debe
> demostrar tu inquietud con pocas palabras:*
>         <INPUT TYPE=TEXTAREA NAME="subject" STYLE="width: 8.57cm; height:
> 0.4cm">
>
>
>         Especificá de forma clara y concisa tu problema o dejá tu
> comentario:*
>         <TEXTAREA NAME="Problema-Comentario" ROWS=10 COLS=70 ></TEXTAREA>
>
>
>
>         ¿Gustarías mostrar una salida de terminal o algún archivo de
> configuración? Sentite libre de pegarla aquí:
>         <TEXTAREA NAME="Salida-Terminal" ROWS=10 COLS=70 ></TEXTAREA>
>
>         <input type="reset" value="LIMPIAR FORMULARIO">
>
>    <INPUT TYPE=SUBMIT VALUE="ENVIAR CONSULTA">
> </FORM>
> <em>Los campos marcados con * son obligatorios.</em>
> --
> Ubuntu-ar lista de correo
> Ubuntu-ar en lists.ubuntu.com
> Modifica tus opciones o desuscribite en:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ar
>
>
Juan, ya creé el formulario en http://ubuntu-ar.org/node/138
Cambié los valores que decis en el formulario y creé las paǵinas de error y
envio exitoso en http://ubuntu-ar.org/error-en-formulario y
http://ubuntu-ar.org/envio-exitoso.
El problema es que si mando un formulario incompleto no me
reenvia a la página de error.

-- 
Seba (AKA spg76)
http://www.ubuntu-ar.org
http://ubuntu76.wordpress.com
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://lists.ubuntu.com/archives/ubuntu-ar/attachments/20070929/f23f77d8/attachment-0001.htm 


More information about the Ubuntu-ar mailing list