Php webtags: Difference between revisions

131 bytes removed ,  12:54, 28 January 2010
Line 9: Line 9:




=Installation and Use=
=Installation=


* Download [http://wiki.sandaysoft.com/files/cumuluswebtags.txt cumuluswebtags.txt];
* Download [http://wiki.sandaysoft.com/files/cumuluswebtags.txt '''cumuluswebtags.txt'''];
[[File:ScreenShot-PHPWebtags-ConfigSetup.png|right|thumb]]
[[File:ScreenShot-PHPWebtags-ConfigSetup.png|right|thumb]]
* place the file <tt>cumuluswebtags.txt</tt> in the Cumulus data folder (or any other location accessible by/to Cumulus);
* place the file '''cumuluswebtags.txt''' in the Cumulus data folder (or any other location accessible by/to Cumulus);
* on the Cumulus main screen, from the pull-down menus, select the 'Configuration' option and then the 'Internet' option;
* on the Cumulus main screen, from the pull-down menus, select the 'Configuration' option and then the 'Internet' option;
* on the 'Internet Settings' screen, select the 'Files' tab;
* on the 'Internet Settings' screen, select the 'Files' tab;
* in one of the left side boxes (under the 'Local filenames' header), enter the name 'cumuluswebtags.txt':
* in one of the left side boxes (under the 'Local filenames' header), enter the name '''cumuluswebtags.txt''':
* -- if you have placed the file in a different location, also add the path to the file name;
* -- if you have placed the file in a different location, also add the path to the file name;
* -- you can also use the 'Browse' button to find the exact location of the file;
* -- you can also use the 'Browse' button to find the exact location of the file;
* in one of the right side boxes (under the 'Remote filenames' header), enter the name 'cumuluswebtags.php':
* in one of the right side boxes (under the 'Remote filenames' header), enter the name '''cumuluswebtags.php''':
* -- if you are uploading the Cumulus files to a different server location, also add the server path to the file name;
* -- if you are uploading the Cumulus files to a different server location, also add the server path to the file name;
* -- notice that the file extension has been changed from 'txt' (on the left side) to 'php' (on the right side);
* -- notice that the file extension has been changed from '''txt''' (on the left side) to '''php''' (on the right side);
* place a check mark in the box under the 'Process?' header:
* place a check mark in the box under the 'Process?' header:
* -- this tells Cumulus that the file 'cumuluswebtags.txt' contains tags which need to be replaced by actual values;
* -- this tells Cumulus that the file '''cumuluswebtags.txt''' contains tags which need to be replaced by actual values;
* place a check mark in the box under the 'FTP?' header:
* place a check mark in the box under the 'FTP?' header:
* -- this tells Cumulus that the processed file must be uploaded to the Web server with all the other files;
* -- this tells Cumulus that the processed file must be uploaded to the Web server with all the other files;
* finally, click on the lower-right 'OK' button to save the newly entered settings.
* finally, click on the lower-right 'OK' button to save the newly entered settings.
Unless the 'cumuluswebtags.php' file is processed by JavaScript, there is no need to place a check mark in the box under the 'Realtime?' header.


=Usage=
=Usage=
12

edits