Automatically Linking to Articles (CMS Tut Part 4)
Hi,
I've managed to install, configure the cms. However I seem to have run into one big problem.
When a new article is created , for example say article number 1, because I know that it is article number one I can simply type in www.mywebsite/viewArticle.php?id=1
as said in the tutorial.
But what if my user doesn't know the article number and they want to see a list with links to the articles how do I do that. I don't want to have to physically edit a page with links on it everytime I add a new article.
So my question is: Is it possible, if I create an article to automatically add a link to that article on a page that the end user can view?
Some variation of this is mentioned briefly in the 4th part, 2nd page, last paragraph:
And now we have a category system set up. You can use it to define the sections that will make up your site, and then assign articles to them. On the front end that your users will see, you could have a page called showarticles.php and use it to show only the articles in a particular category (e.g., showarticles.php?id=1 for news, showarticles.php?id=2 for press releases, etc.).
Bookmarks