Customised templates: Difference between revisions

m
m (→‎How Cumulus uses its templates: add cross ref to 'simple website setup')
*Remember if you are not using the standard files to unselect 'Include Standard Files' (see image at top of page) on the [[Cumulus_Screenshots#Files_Tab|''Files'' tab]] of the '''Internet''' screen within the 'Configuration' menu.
*References to the new templates for Local files 0 to 9 can be stored in [[cumulus.ini]] by placing the path and filename in left hand column on the ''Files'' tab of the '''Internet''' screen within the 'Configuration' menu. An easy way to achieve this is by using the appropriate '''Browse...''' button.
*Local files 10 upto (from version 1.9.3) 99 have to be manually inserted (or amended) by editing [[cumulusCumulus.ini#Section:_FTP_Site]], using a ''ExtraLocalNN='' line (note NN is any 1 or 2 digit number) in the existing '''[FTP site]''' section and placing the path and filename after the equals sign. An easy way to achieve this is by copying one of the lines with NN set to between '0' and '9', and then replacing the numerical digit with the required 2 digit one and then changing the filename.
*For template files 0 to 9, leave the Binary column unset (it is only set for image files) on the ''Files'' tab of the '''Internet''' screen within the 'Configuration' menu; this is achieved by including ''ExtraBinaryNN=0'' for NN values '10' upto '99' in the existing '''[FTP site]''' section of cumulus[Cumulus.ini#Section:_FTP_Site]].
*Leave the 'Realtime?' column unselected for template files 0 to 9 to be processed at the 'Interval' specified in the middle of the ''Web settings'' frame on the Sites/Options tab of the '''Internet''' screen within the 'Configuration' menu. Select it for processing at the 'Realtime interval'. For NN values '10' upto '99', normal interval processing is achieved by including ''ExtraRealtimeNN=0'', while realtime interval processing is achieved by including ''ExtraRealtimeNN=1'', in the existing '''[FTP site]''' section of cumulus[Cumulus.ini#Section:_FTP_Site]].
Assuming that your web server is not local, the host, username, password and initial directory are specified on the Sites/Options tab of the '''Internet''' screen within the 'Configuration' menu and you list the remote filenames as follows:
*For files 0 to 9 enter the directory and required file name in the 'Remote filenames' column on the ''Files'' tab of the '''Internet''' screen within the 'Configuration' menu; for NN values '10' upto '99' this is achieved by including ''ExtraRemoteNN='' with directory and filename after the equals sign in the existing '''[FTP site]''' section of cumulus[Cumulus.ini#Section:_FTP_Site]].
*As you have listed template files (with Cumulus webtags) these need to be processed; select 'Process?' column for 0 to 9 or for 10 upto 99 add ''ExtraProcessNN=1'' in the existing '''[FTP site]''' section of cumulus[Cumulus.ini#Section:_FTP_Site]].
*Finally, select 'FTP?' column for 0 to 9 or for 10 upto 99 add ''ExtraFTPNN=1'' in the existing '''[FTP site]''' section of cumulus[Cumulus.ini#Section:_FTP_Site]].
 
 
5,838

edits