Yahoo web hosting - 266 Part II: Developing Intranet Solutions | |
266 Part II: Developing Intranet Solutions | | +—ld_tools (Intranet Simple Document Publisher Application) | | | +—apps (publisher apps and configuration files) | | | +—class (publisher apps and configuration) | | | +—templates (publisher HTML templates) | | | +—themes ————symbolically linked————+ By changing the following configuration parameters in ld.conf, you can modify the directory structure to fit your site requirements. $ROOT_PATH = $_SERVER[ DOCUMENT_ROOT ]; $REL_PHOTO_DIR = /photos ; $PHOTO_DIR = $ROOT_PATH . $REL_PHOTO_DIR; $REL_ROOT_PATH = /ld_tool ; $REL_APP_PATH = $REL_ROOT_PATH . /apps ; $TEMPLATE_DIR = $ROOT_PATH . $REL_APP_PATH . /templates ; $CLASS_DIR = $ROOT_PATH . $REL_APP_PATH . /class ; $REL_TEMPLATE_DIR = $REL_APP_PATH . /templates/ ; $THEME_TEMPLATE_DIR = $TEMPLATE_DIR . /themes ; The themes directory within the ld_tools/apps/templates should be a symbolic link pointing to the themes directory of the Intranet home application themes. For the given directory structure the ld_tools/apps/templates/themes can be created using the following command: ln -s home/templates/themes ld_tools/apps/templates/themes The above command assumes that it is being run from the %DocumentRoot% (htdocs) directory of the intranet Web site. If you cannot make symbolic links between two directories, you can simply copy the home/templates/themes directory as ld_tools/apps/templates/themes. Also, you can set the $THEME_TEMPLATE_DIR to $ROOT_PATH . /home/templates/themes . The messages file The messages displayed by the publisher applications are stored in the ch8/apps/ld.messages file in the CDROM. You can change the messages using a text editor.