charlieworks Posted February 29, 2004 Posted February 29, 2004 Hello, I have this great ticket support script. It is CGI and it installs very easily. I was wondering if i could install it, and just put the form for it on the contact us page that is on the default oscommerce when you install it. I havent gotten or learned how to edit pages yet. BUt I was wondering if this is possible. I understand that something called HelpDesk is availible, but i really want to use my script. Can I just use it, and put it on the /contact_us.php page?
user99999999 Posted March 1, 2004 Posted March 1, 2004 Is it a perl script, I dont think you can integrate it with PHP. Maybe you could convert it.
charlieworks Posted March 1, 2004 Author Posted March 1, 2004 It is a perl script, but it has its own form. Could i just use the html for its own form and insert it into the contact_us.php page? The script has its own admin that would be external of the admin for oscommmerce.
user99999999 Posted March 3, 2004 Posted March 3, 2004 Hi, Since nobody knows what your "great ticket support script" does there is no way to answer your question. My best answer would be to copy contact_us.php to tickets.php and then break out your text editor. The main thing is to use the tep functions in order to preserve the session. You will need to add 'tickets.php' to includes/filenames.php Then add a link to the information box or somewhere else using thep_href_link() like contact_us. If your script was a fill out the form and send email then this should work out great. Dave...
ptrau Posted March 3, 2004 Posted March 3, 2004 Yes you can use Perl and CGI programs that work ALONG SIDE of your OSC site, but your new ticket system will need to open in a new window and will not be wrapped in the OSC website. You can replace the link to "Contact Us" with the url of your ticket system just be sure to add TARGET="BLANK" so that it will open in a new window. We do something similar with "Help Contact Live". 1) Download catalog/includes/boxes/information.php 2) Make a BACKUP copy of this file BEFORE editing 3) Open the file in your favorite text editor 4) Make sure you completed step #1 5) Find this line of code: '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); 6) Change it to reflect the url of your ticket system's main page...example: '<a href="http://www.yoursite.com/path/to/ticket/system.xxx" TARGET="BLANK">' . BOX_INFORMATION_CONTACT . '</a>'); 7) Save file and upload good luck "Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.