[Phpslash-commit] CVS: phpslash-ft/doc/html phpslash.sgml,1.8,1.9
Brought to you by:
joestewart,
nhruby
From: nathan h. <nh...@us...> - 2001-11-24 15:05:09
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html In directory usw-pr-cvs1:/tmp/cvs-serv6461/doc/html Modified Files: phpslash.sgml Log Message: Doc work and cleanup in .docs/ Index: phpslash.sgml =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/phpslash.sgml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** phpslash.sgml 2001/11/23 20:37:40 1.8 --- phpslash.sgml 2001/11/24 15:05:05 1.9 *************** *** 337,348 **** <tag/Section 1.11/ ! Here are some directory paths. NOTE: There are no trailing slashes ! at the end. ! $basedir - the base path for the phpslash installation ! $templatedir - the directory where the templates are stored. ! $rootdir - the URL where people will access the root of the site. ! $imagedir - the directory where all the images are stored. <tag/Section 1.2/ --- 337,374 ---- <tag/Section 1.11/ ! Here are some directory and URL paths that are needed by phpslash., Shown below is a brief explination ! along with an example fo what the linw will look like in the config file.You'll need to edit these in order for phpslash to work. ! NOTE: There are no trailing slashes at the end. ! NOTE: The format change from prevous versions of phpSlash. ! A reference to the local running php script. We use this a lot, so it makes sense to make a ! copy in our own array and use that instead of doing a global $PHP_SELF; on every function ! and object. ! $_PSL[phpself] = $PHP_SELF; ! ! Complete filesystem path to the pages ! $_PSL[basedir] = '/home/nathan/webDevel/phpslash-ft/public_html'; ! ! Path to the templates directory ! $_PSL[templatedir] = $_PSL[basedir] . '/templates'; + Path to the class directory + $_PSL[classdir] = '/home/nathan/webDevel/phpslash-ft/class'; + + The base URL for the phpslash site + $_PSL[rooturl] = 'http://fatboy.mystic/ft'; + + The base URL for the admin pages + $_PSL[adminurl] = $_PSL[rooturl] . '/admin'; + + The base URL for images that pertain to phpslash + $_PSL[imageurl] = $_PSL[rooturl] . '/images'; + + The url for all the topic images. + $_PSL[topicimageurl] = $_PSL[imageurl] . "/topics"; + + The full directory path to the topic images. + $_PSL[topicimagedir] = $_PSL[basedir] . "/images" . "/topics"; + <tag/Section 1.2/ *************** *** 1219,1223 **** Answer 2: put all your jscript in seperate .js files and then put ! #lt;script language="javascript" src="/path/to/myJavaScriptFile.js"> </script> in the HTML template. It's functionally the same as adding the jscript inline to your HTML document, but causes an additional HTTP --- 1245,1249 ---- Answer 2: put all your jscript in seperate .js files and then put ! <script language="javascript" src="/path/to/myJavaScriptFile.js"> </script> in the HTML template. It's functionally the same as adding the jscript inline to your HTML document, but causes an additional HTTP |