All Web Applications In One Streamlined Environment 
Customer Service  |  Site Map
Home
Products
Download
Store
Support

Browse Topics In
Knowledge Base


Back To Top

Installation

Tutorials

Update & Bugs Fix


Search for Answers
Intelligent FAQ Search. Type in your keywords to search for the answers you need.


Customer Helpdesk
Can't find the answers you need? Go to our Technical Support Helpdesk





Back News & Announcement > Installation Showing 2 of 2 Prev


Integrating News & Announcement To Your Web Page
Modified on 2004-12-01


  1. One of our product uniqueness is we made our scripts capable to fit into your existing web design.

  2. First, create a web page where you would like the News & Announcement page to appear, save the web page file with .php extension, for example news.php.

  3. The news.php file can be uploaded in a same directory on your web server, it can be either web root directory or any directory of your choice.

  4. To ensure the News & Announcement works regardless the location of your web pages, you will need to add your document path to all the PHP include codes. To find your document path, open the /oneadmin/config.php file with your text editor, note it down.


    Let's assume that the document path is '/home/sitename/public_html/oneadmin/'



    Calling the News Article Display

    1. Open the news.php you have created with your text editor.

    2. Place the following portion of code into the area you want the Newsletter menu to display:

    3. In the body content section, insert the below line to display your Lastest News listing.

      <?
      include_once("/home/sitename/public_html/oneadmin/config.php"); 
      include("/home/sitename/public_html/oneadmin/newsannounce/home.news.php");
      ?>

    4. Save the news.php file.



    Calling the Announcement Display

    • Open the newsarchive.php file with your text editor.

    • Put the following line in the body content section, to show all the newsletters you have added to your database.

      <?
      include_once("/home/sitename/public_html/oneadmin/config.php"); 
      include("/home/sitename/public_html/oneadmin/newsannounce/home.announce.php");
      ?>

    • Save your news.php file.


  5. Navigate to the news.php page, eg: http://your-domain-name/news.php to view the result. We recommend that you place your codes on the hidden web pages to test before placing them on the public pages.

    If you need more reference on the plug-in guidelines, open /oneadmin/samplenewsannounce.php file with your text editor. Browse to the sample web page, for said http://your-domain-name/oneadmin/samplenewsannounce.php will enable you to preview the news and announcement front-end in real time.

    Note: Substitute the path in green to your Document Path (the complete path to your oneadmin directory)



Is this FAQ helpful? Ratings :
Printer Friendly Version
Tell A Friend


Related FAQs In This Category
Installing the News & Announcement
Integrating News & Announcement To Your Web Page




Quick Links
Support Helpdesk
Knowledge Base
Product Activation
Installation Support


More Information
Purchase & Delivery
Pricing Information
Payment Methods
Refund Policy
License Agreement
Privacy Policy

Copyright © 2004 by Comdev Software Sdn Bhd. All Rights Reserved. License Agreement Privacy Policy