Select a Single Release
Once you have chosen the display.php script for linking
a single news release articles, you need to specify in the script which releases
you want to serve.
You will need to create a URL link on your page to the script with the arguement
selecting sets of release. To create a link that performs this function, open
up the page on your website with whatever page editing software you use. The
illustrations in these steps assume the use of Dreamweaver MX. Create a link
with the URL detailed in the following steps:
- Specify which script you are using. In this case, you will
be using display.php.
Type http://www.bu.edu/phpbin/news/releases/display.php? in as
the URL for the link you are making.
- Select release you want to display. Here you append to
the URL the arguement needed to select the specific news release article.
This php script requires you to know the id number of the brief you wish to
link to. Getting this number is simple:
- Go to the News
& Events and browse for the title of your article, or search
for it on the News & Events website.
- Click on the title of the article you wish to link to.
- The URL in your browser should contain
id=***; the ***
is the unique id number of the release.
Once you have this id number, add id=*** to the URL you are creating,
substituting id number of the article for the ***.
You should now have a URL that looks something like this:
http://www.bu.edu/phpbin/news/releases/display.php?id=XXX
Now, proceed to Select the Design to finish your link by telling the script
to use your design.
|