Forum

Questions and discussions

Need to change the default behavior of available licenses

Script's setup and configuration

Need to change the default behavior of available licenses

Postby tinwistle » Wed Apr 30, 2014 9:51 pm

Right now when I upload an image all of my Royalty Free Licenses are checked.

Image

How do I change this behavior to either check only one or maybe even none by default.

Thanks
tinwistle
 
Posts: 5
Joined: Fri Aug 24, 2012 4:55 pm

Re: Need to change the default behavior of available license

Postby tinwistle » Wed May 07, 2014 5:23 am

Does anyone have an idea on how to do this?

Thanks
tinwistle
 
Posts: 5
Joined: Fri Aug 24, 2012 4:55 pm

Re: Need to change the default behavior of available license

Postby admin » Sat May 10, 2014 5:50 pm

You should edit the file:
/admin/function/upload.php

function photo_upload_form()

line 510:
Code: Select all
<td><input name='chk".$rs->row["id_parent"]."' type='checkbox' checked></td>


cnage to:
Code: Select all
<td><input name='chk".$rs->row["id_parent"]."' type='checkbox'></td>
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.