Php webtags: Difference between revisions

921 bytes added ,  12:45, 28 January 2010
m
m (added the 'currcond' tag and enclosed all tags in double quotes to allow apostrophes within text)
Line 9: Line 9:




=Installation=
=Installation and Use=


*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]]
*Rename it as <tt>cumuluswebtags.php</tt> and place it in the Cumulus data folder or any other location Cumulus can access.
* place the file <tt>cumuluswebtags.txt</tt> in the Cumulus data folder (or any other location accessible by/to Cumulus);
*Click the 'Configuration' menu then 'Internet'
* on the Cumulus main screen, from the pull-down menus, select the 'Configuration' option and then the 'Internet' option;
*In an empty slot provide the local filename where you have stored the file you just downloaded.
* on the 'Internet Settings' screen, select the 'Files' tab;
*In the 'remote filenames' provide the full path and filename to upload onto your webserver.
* in one of the left side boxes (under the 'Local filenames' header), enter the name 'cumuluswebtags.txt':
*Tick the 'Process' and 'FTP' boxes.  This tells Cumulus that the 'local filename' contains webtags and it will replace these with actual values.  The FTP option will ensure it is uploaded to your webserver with all other files.
* -- 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;
* 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;
* -- 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:
* -- 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:
* -- 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.


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