
LostCoder
User
Nov 2, 2006, 12:33 PM
Post #1 of 3
(860 views)
Shortcut
|
|
Displaying a List of Category Specific Articles Within an Article
|
Can't Post
|
|
Hello, In my old version of AM i would publish an article in 'Category 1' and when the article was viewed, there was a list of articles for that category at the bottom. This was done by inserting the following code: <?php include("/home/yyyyyyy/public_html/main/$file_headlines$"); ?> The upgrade converted this line to say: <?php include("/home/yyyyyyy/public_html/main/$published.categoryHeadlines.filename$"); ?> ------ I have changed the publish directory for the index pages to main_index and my articles are currently publishing as follows: http://www.mysite.com/artman2/publish/CATEGORY1/articlename.php Could you please help me to come up with the correct syntax for displaying article lists? Also, I used to have a file called "headlines_plus.htm" where i would code up how i wanted the headlines to display. Is there a similar file I need to update in AM 2? Thanks. LC
|