Help Desk Software & Beyond
August 20, 2017, 09:20:55 PM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: READ ME BEFORE you Post a Topic or Modify TTX  (Read 10415 times)
Sparky
Moderator
Hero Member
*****

Karma: 85
Posts: 2,275


stop pushing all those buttons


View Profile
« on: March 22, 2008, 02:34:22 PM »

-> TTX Forum READ ME <-



The modifications discussed in this forum range from very simple changes in one line of one module to very complex involving many changes including the addition of new modules & templates.  Most modifications listed in the index sticky thread were written and tested in TTX 2.24 and below.  They may not work in TTX 3.0 and it will be some time before I get them all tested and updated as needed.

It's always assumed that one...

1.  has a good working knowledge of HTML editing.
2.  has some programming experience.  Perl specifically not required although it's a huge plus.

Some tips...

1.  Remember to keep back-ups of your TTX installation.  The files are small so this should be a very quick and simple thing.

2.  Use a good text editor.  Sometimes when you cut 'n' paste code from forums stray invisible junk gets copied too.  A good editor will show you these errant characters.  When editing HTML template files, you can NOT use a WYSIWYG editor like GoLive, DreamWeaver, or *gasp* FrontPage unless working in source code mode.  The TTX templates are missing parts of standard HTML code because they are only incomplete portions of the final pages.  You will most certainly have to do your HTML programming the old fashioned way- manually.

3.  Do NOT edit on the server using FTP.  Sometimes you may lose a connection and then lose your edits or worse, corrupt the version on the server.  Always edit the file on your hard drive and upload it to the server over-writing the old one.

4.  Remember to upload the HTML & Perl files in ASCII text mode.  Then if you're on a Linux or Apache server, remember to set file permissions on the Perl modules to 755.  If you're on a Windows Server, then Good Luck.  Wink  Seriously, you'll have to set proper file/folder access permissions on Windows too.

5.  If you make manual changes to the configuration file (ttxcfg.cgi), always remember that the TTX Setup program could over-write your changes.  Keep a back-up before making any changes or running the TTX Setup program.

Remember...

The folks (including me) who've shared their modifications here, did so freely.  If you have some trouble applying a modification, find a bug, or find a dead link, please post in the appropriate thread.  Support will be limited and voluntary so it's advised you make full back-ups or install an experimental copy of TTX on your server.  Although anyone is free to make any modification to the TTX code, if you break it, do not expect any technical support from United Web Coders.  You apply these modifications at your own risk.

Rules for sharing your own modifications...

1.  Please post the step-by-step edits in a clear manner including module and subroutine locations.
2.  Start your new topic title with [MOD]
3.  For everyone's safety, please do not post links to download modified versions of TTX files.  PM me with questions about this rule.

Topic Title Guidelines...

[MOD]- Confirmed working modification
[REQ]- An idea, suggestion, feature request, custom modification required, etc.  Just because you post a request there is no guarantee a modification exists or that it can easily be created for you.  I help out where & when time permits.
[PROB]- A problem with an existing modification or a problem figuring out some code.  This is a general request for help related to modifications.  You're having trouble getting a modification to work or you've found some kind of a bug within a modification.
[FIX]- An unofficial solution to a TTX issue.  There is an undocumented hidden feature in TTX but it's not quite working as expected.  This fix is a temporary solution until the new feature is fully implemented by Alex in a future release.
[INFO]- Technical information.  Related to how the TTX code functions or general information about making Perl modifications.

Before Posting Your Request...




And finally, if you have absolutely no desire to tackle these modifications or if you have a new suggestion that can't get resolved here, please feel free to send Alex a trouble ticket... you can either make a TTX feature suggestion or discuss hiring him for custom modifications.


Good luck and have fun!   Wink
« Last Edit: March 24, 2009, 01:07:23 AM by Sparky » Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Sparky
Moderator
Hero Member
*****

Karma: 85
Posts: 2,275


stop pushing all those buttons


View Profile
« Reply #1 on: March 22, 2008, 03:10:24 PM »

 - You can not place any PHP code within the TTX HTML templates.

 - You can not place SSI (server side includes) within the TTX HTML templates.

more info

Most pages are dynamically generated by TTX as follows...

header.shtml + TTXtemplate.html + footer.shtml

Pop-ups are dynamically generated by TTX through a single template file without the header & footer files.

Within these TTX HTML files are Perl Macros which can be recognized by their surrounding "%" symbols.  As TTX loads the final page in your browser, the TTX Perl code automatically replaces the macro with the dynamic content specified by the Macro.

Although you can't use PHP or SSI in these templates, you could add similar dynamic functions to the TTX Perl modules and output into your custom Macros in the HTML templates.  This requires some basic Perl & HTML knowledge.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Sparky
Moderator
Hero Member
*****

Karma: 85
Posts: 2,275


stop pushing all those buttons


View Profile
« Reply #2 on: March 24, 2008, 02:16:42 PM »

Tell us how you've integrated TTX into your site.

Take the poll and feel free to post your link...


Integration of TTX into Your Site
« Last Edit: March 27, 2008, 10:32:32 PM by sparky672 » Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Sparky
Moderator
Hero Member
*****

Karma: 85
Posts: 2,275


stop pushing all those buttons


View Profile
« Reply #3 on: June 18, 2008, 12:01:09 AM »

bump!   Tongue
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.02 seconds with 20 queries.