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

Troubleshooting

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 Newsletter > Installation Showing 2 of 2 Prev


Integrating Newsletter To Your Web Page
Modified on 2004-11-10


  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 Newsletter Subscription form to appear, save the web page file with .php extension, for example newssubscribe.php.

  3. Create another web page to locate your Newsletter Archives, let's call it newsarchive.php

    Both newssubscribe.php and newsarchive.php files are to be located 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 Newsletter 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 this path down.

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


    Calling the Newsletter Subscription Scripts

    1. Open the newssubscribe.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:


      <table border=0 width=90% align=center><tr><td> <b><u>Join Newsletter</u></b><br><br> • <a href=samplenewsletter.php style="text-decoration:none">Subscribe Newsletter</a><br><br> • <a href=samplenewsbrowse.php style="text-decoration:none">Browse Newsletter</a><br> </td></tr></table><br>


    3. In the body content section, insert the below line to display your Newsletter Subscription form.


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


    4. Save the newssubscribe.php file.


    Calling the Newsletter Archives Scripts

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

    • Insert the following part into the area you want the Newsletter menu to display:


      <table border=0 width=90% align=center><tr><td> <b><u>Join Newsletter</u></b><br><br> • <a href=samplenewsletter.php style="text-decoration:none">Subscribe Newsletter</a><br><br> • <a href=samplenewsbrowse.php style="text-decoration:none">Browse Newsletter</a><br> </td></tr></table><br>


    • 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/newsletter/home.browse.php");
      ?>


    • Save your newsarchive.php file.


  5. Navigate to your web pages, eg: http://your-domain-name/newssubscribe.php, and http://your-domain-name/newsarchive.php to view the Newsletter publish result. You will see the two links on the menu enable navigation to each other.

    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 references on code plug-in guidelines, open the /oneadmin/samplenewsletter.php and /oneadmin/samplenewsbrowse.php files with your text editor. Browsing to the sample web page, for said http://your-domain-name/oneadmin/samplenewsletter.php will enables you to preview the mailing list signup process 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 Newsletter 3.0
Integrating Newsletter 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