Hi,
first I want to thank you for the best Xoops Modul I known.
Since years I work with your great, and very easy to customize modul my-album-p
Take a look, to the custimze versions of the modul on one of my sites
toyline:
http://www.world-of-cartoons.de/masknew/modules/toyline/photo.php?lid=1episodeguide
http://www.world-of-cartoons.de/masknew/modules/myalbum2/viewcat.php?cid=1klick on the deathstone and you will see the picturedescription.
Know my problem. I will added all the fields that I added to the submit.php and the rest, you can see there are a lot more new fields, to the editphoto.php, that other user can edit the pictures.
I´ve found the entrys in the editphoto.php, but the entrys are going into wrong fields in the database.
So, what I need to do, to take all the fields I need to edit, into the editphoto.php
thanks a lot and best reguards
Gordon
I can't help your customized version at all.
Sorry.
Hello GIJOE,
thanks for replay. I need to know, where I need to write the sting for the database.
For example Line 164
myalbum_update_photo( $lid , $cid , $title , $desc_text , $valid , $ext , $dim[0] , $dim[1] ) ;
If I write the new string, for example $short_desc into this string, it is filling a wrong field in the database.
So what I need to do???
Thanks
just add a parameter of short_desc into myalbum_update_photo().
Of course you have to edit both of caller, and definition.
eg)
line 164 of editphoto.php
line 577 of include/functions.php
Ok, thanks for replay
But it don´t works.
When I want to change the picture without a new upload, I need to change the editphoto on line 184, I think.
myalbum_update_photo( $lid , $cid , $title , $codename , $desc_text , $valid ) ;
But on witch position I need to change the code?
If I change it behint the $valid the ext will have the text I wrote into the field.
Please write me the position where I need to edit the code.
Tahts the only think I dont understand in this great modul.
It is very important. Because there are now 10 peple who wants to work on my site. But they only can work on the site, if I have the chance to edit this scripts.
The rest is easy, but this is hard.
Thanks for you time
This is just an issue of parameter of php's function.
$ext , $x , $y are default parameters.
read php manual.