4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: marcus_s on March 19, 2005, 01:24:17 PM

Title: [REQ] additional database and search field: portrait / landscape
Post by: marcus_s on March 19, 2005, 01:24:17 PM
hi. i think it would be very usefull to get another database field which descripes a picture as portrait or landscape.
plus it would be great to make this field searchable in the search_form.

i can imagine to implement it as a radio button in V@no´s quick edit.  :wink:
and as a button in the search_form too.

what do you think about that?

thanks

marcus
Title: Re: [REQ] additional database and search field: portrait / landscape
Post by: Chris on March 19, 2005, 07:52:38 PM
I think all you need to do is open includes/db_field_definitions.php and follow the instructions found in the comments.  Also search the forum for how to make additional image fields searchable.  All of this has been covered already so I am not going to post the same details over again
Title: Re: [REQ] additional database and search field: portrait / landscape
Post by: marcus_s on March 19, 2005, 08:08:05 PM
hi chris.

yea discovered the "making an additional field searchable"-thread. what i would like to have is that comfortable radio-button in the edit images section into the acp.
i am not a "coder" therefore i´m not that good to work it out. thought it might be an interesting MOD when someone puts it together.

anyway thanks for the clue´s. gonna try to do it myself … :)

marcus
Title: Re: [REQ] additional database and search field: portrait / landscape
Post by: Chris on March 20, 2005, 06:51:28 PM
You don't need to modify anything.  Just add the field and follow the instructions.  The radio button will show up automatically