Browse Topics In
Knowledge Base
|
|
|
| Search for Answers |
|
|
| Intelligent FAQ Search. Type in your keywords to search for the answers you need. |
|
|
Back
|
Link Manager > Troubleshooting |
Showing 1 of 8 |
Next |
I need to set up a page that is outside that oneadmin directory, but can't get the config.php to pull in the Link Manager code.
Modified on 2004-10-11
|
|
Well, we recommend that you use the include snippets that come along with full document path, when calling the Link Manager scripts, instead of using relative path.
- Open the oneadmin/config.php file, and copy the value of Document Path, let say it is '/home/sitename/public_html/oneadmin/'.
- Now, the full inclusion code for 'config.php' is -
include_once("/home/sitename/public_html/oneadmin/config.php"); ?>
This code can be put anywhere in your web page, provided it is above any of the following two.
- Use the below code to call your link directory's menu -
include("/home/sitename/public_html/oneadmin/linkmanager/home.menu.php"); ?>
- To display the body content of link directory, insert the below line of code -
include("/home/sitename/public_html/oneadmin/newsletter/home.browse.php"); ?>
With this, you will be able to pull in the Link Manager scripts regardless of where your web page is located.
|
|
|
|