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.jpgmy 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...
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..?