PEAK XOOPS - Re: Submit template in englishin japanese

Re: Submit template

List posts in the topic

none Re: Submit template

msg# 1.1
depth:
1
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

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!