PEAK XOOPS - Submit template in englishin japanese

Submit template

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/11/28 3:33 | Last modified
slyss79  三等軍曹   Posts: 143
hi guys

i use gijoe's modules from many years and they are all very very simply to modify...

but now i have a problem...

in myalbum/submit.php i want only display this (and delete title, description, etc):

http://img267.imageshack.us/img267/8314/immagine1lw1.jpg

my problem is caused becuase submit don't use the template.

And into submit.php (see the picture), how i can coerce the category (1) "Foto utenti" (also hidden the menu)

thanks for all...
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2006/11/28 18:31
Shine  上等兵 From: Netherlands  Posts: 35
I think you have to uncomment those specific lines within submit.php
Look for the line starting prox.
305 // Show the form

$title_text = new XoopsFormText( _ALBM_PHOTOTITLE , "title" , 50 , 255 , $myts->makeTboxData4Edit( $photo['title'] ) ) ;
$desc_tarea = new XoopsFormDhtmlTextArea( _ALBM_PHOTODESC , "desc_text" , $myts->makeTareaData4Edit( $photo['description'] ) , 10 , 50 ) ;

If I see correctly entering the name of the file is obligated. This part you also have to uncomment:
See lines prox 108
// Check if upload file name specified
	$field = $_POST["xoops_upload_file"][0] ;
	if( empty( $field ) || $field == "" ) {
		die( "UPLOAD error: file name not specified" ) ;
	}

Quote:
And into submit.php (see the picture), how i can coerce the category (1) "Foto utenti" (also hidden the menu)
I dont understand what you mean..?
Votes:3 Average:6.67

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!