Miscellaneous config options: keepinames|1 - original names of uploaded images will be retained imagenames|1 - image name will derive from caption (Neither of above applies to product catalogue or photo album modules) pagenames flatpages usemodjs a setting of 1 will cause module pages not to relocate to admin cgi-bin but remain as html pages at the site's url in the status bar - it pulls the content in using javascript in the background. All sites must be republished when the setting is changed. ################################################################################################ tryrequired in pages.cfg - specifies additional fields which have been placed in try2.html or try2a.html which the script will add to the form check javascript to force completion. Format: tryrequired|fieldname:label|fieldname:label etc Example: tryrequired|address1:Address|city:City|state:State|zip:Zip|telephone:Telephone| NOTE: If the following fields are included in the sign-up form, they are automatically included in the sites configuration: name,email,address1,address2,address3,address4,city,state,zip,postcode,company,telephone ################################################################################################ Changeable flash movies Flash movies can be embedded in a template as follows: In this example width and height are specified 100% - but normally actual sizes should be specified. Note that height, width and movie name are specified twice: in the object and in the embed definitions A specification like http:/www.mysite.com/tev/tev_so_far.swf will not be changed - so will work as long as that movie is present at that url. To have the movie published with the site, and/or to have different versions of a movie for different versions of the same template, alter this as follows: 1. The flash swf file(s) must be placed in the auto/images/newtemp/ directory 2. The code in the template should be altered to: 3. The relevant template definition(s) in tempdata.db require a line of the following format: flashspec|tev_so_far.swf|tev_so_far3.swf|tev_so_far1.swf etc Postions represent the numbering of flash tags in the template. In this example, the following replacements will take place: flash1_here - tev_so_far.swf flash2_here - tev_so_far3.swf flash3_here - tev_so_far1.swf If you had only one flash movie - the flashspec will be flashspec|tev_so_far.swf Multiple tags for the same movie will be replaced - so if you had more than one instance of the same movie on a page they would all be tagged flash1_here (or flash2_here if it was the second movie in the flashspec list); ################################################################################################# bannermode|1 enables banner management in admin Added for bdiverse rootpathstart|\\ # when admin.pl builds fullpath \\ is required at the start of path. Otherwise path will # be built using single instance of $dirsep at the start Added mail methods (new mail.sub) force_mail_from_address|info@bdiverse.com # This forces the return address - overcoming server restrictions on sender ShowMailReport|1 # print results of mailings to screen Added for snapmonkey forcepesdescfields|1 forcepesurl|https://www.snapmonkey.com/cgi-bin/iporder.pl showProdmodAutoform|0 showpesopts|outputpage|Output Form Style|Gift Basket|Standard showpestext|distribution|Mail order form to email address noimageresize|1 - prevents javascript method to resize images that are too wide - nologoresize|1 - prevents logos uplaoded being corrected for size and no longer checks for presence of logo image file before writing src - corrects problem arising on remotely published sites notrybutton|1 - disables "Select this Design' button in try.pl - so user can't create trial site. forcesmptmail|1 forces use of mailserver specified in mailprog| rather than sendmail on unix platform # this is useful when sendmail doesn't work. Most unix boxes can send smtp mail using their own # ip or web address For try module: fulltry|1 openblank|1 mailtry|philip@hibyte.co.uk Settings for Auto response email from try.pl fulltry must be set to 1 In cgi-bin/auto/htmls/ - tryautomail.txt The presence of this determines whether or not a mail will be sent It contains 4 tags which are replaced when the mail is sent: name_here - name entered by user adminlink_here - link to admin gateway of site created viewlink_here - link to index page of site created password_here password entered by user In cgi-bin/auto/pages.cfg 2 new variables: tryautomailfrom|demo@omTools.com - From and reply-to address in mail sent tryautomailname|OM Tools - From name in mail sent ##### alterations to try.pl and mail notification or trial sites 25-Jul-03 template try2.html now contains the form at stage 3 of try.pl - or try2a.html if fulltry is set to 1. The appearance of these pages can therefore now be customised if mailtry is enabled (see above) the values of additional fields whose names start with mail (lower case) and contain only A-Z, 0-9 - and _ will be added to the mail you receive when a customer creates a site using try.pl E.g. Although the forms can be edited, required elements are: 1. Form opening tag is