1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Very Silly PHP Help - 10 Minutes - $15

Discussion in 'Hire a Freelancer' started by youssef93, Sep 30, 2011.

  1. youssef93

    youssef93 Senior Member

    Joined:
    Sep 14, 2008
    Messages:
    828
    Likes Received:
    1,148
    Occupation:
    Student, Part-time Online Marketer
    Location:
    Egypt
    Hey everyone,

    Not sure this would even require PHP. I have a support ticket system and when users are opening a new ticket there is a checkbox "Email Me When a Staff Member replies to ticket". This option is unchecked by default. I want it to be checked by default. That's it. :D

    I also know of a website that uses my same help desk and have made this little modification so can provide it as example.

    I think for someone who knows their stuff, this won't take more than 10 minutes to make the checkbox "checked". :D

    $15 if you can tell me how or do it for me.

    P.S: I know of the checked="checked" html attribute. I just don't know where and how to put it.

    PM me please.

    Thanks.
     
  2. moundown

    moundown BANNED BANNED

    Joined:
    Jun 24, 2010
    Messages:
    118
    Likes Received:
    32
    when you are writing the checkbox - create a variable before it that is equal to "" then do an if statement to see if it should be checked. If it is - then set your variable = " checked "

    then when you write your (x)html just enter that variable which is either equal to "" or equal to " checked "
     
  3. youssef93

    youssef93 Senior Member

    Joined:
    Sep 14, 2008
    Messages:
    828
    Likes Received:
    1,148
    Occupation:
    Student, Part-time Online Marketer
    Location:
    Egypt
    That's all good but there is one problem. I'm using an open source help desk. Haven't coded that from scratch. I'm not familiar with big applications that are coded with PHP so I'm not really sure where and how to start looking for what I need.
     
  4. moundown

    moundown BANNED BANNED

    Joined:
    Jun 24, 2010
    Messages:
    118
    Likes Received:
    32
    Which script is it? Send the php file to me, and Ill see what I can do
     
  5. youssef93

    youssef93 Senior Member

    Joined:
    Sep 14, 2008
    Messages:
    828
    Likes Received:
    1,148
    Occupation:
    Student, Part-time Online Marketer
    Location:
    Egypt
    OK PMing you the info now. It's an open source software called Trellis Helpdesk.
     
  6. Zeta Reticuli

    Zeta Reticuli Registered Member

    Joined:
    Feb 3, 2011
    Messages:
    57
    Likes Received:
    4
    Don't worry about that, it can still be modified, I just PM you. :)
     
  7. youssef93

    youssef93 Senior Member

    Joined:
    Sep 14, 2008
    Messages:
    828
    Likes Received:
    1,148
    Occupation:
    Student, Part-time Online Marketer
    Location:
    Egypt
    OK sending you info as well.

    OK guys this is closed until the guys that have PMed me have taken a look.

    Thanks.
     
  8. daisy447

    daisy447 Regular Member

    Joined:
    Apr 7, 2011
    Messages:
    460
    Likes Received:
    133
    oops mistakenly posted the solution here...sorry
     
  9. youssef93

    youssef93 Senior Member

    Joined:
    Sep 14, 2008
    Messages:
    828
    Likes Received:
    1,148
    Occupation:
    Student, Part-time Online Marketer
    Location:
    Egypt
    Are you familiar with the software or are you just guessing? Do you know which of the files I could find that in? I did try viewing the source code from firefox then taking bits and pieces of it to searching the core files but to no avail.

    Thanks for your input though, much appreciated!
     
  10. olimix

    olimix Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    232
    Likes Received:
    71
    Location:
    11h11 brothers
    pm i'll do it for free if it's not long
     
  11. daisy447

    daisy447 Regular Member

    Joined:
    Apr 7, 2011
    Messages:
    460
    Likes Received:
    133
    ya I do know a bit about php and its not a rocket science its just a simple stuff, PM me and I'll let you know that :)