Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

May 28, 2020, 09:18:41 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 190002
  • Total Topics: 20832
  • Online Today: 128
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 67
Total: 67

Author Topic: Article catagory page display  (Read 2955 times)

0 Members and 1 Guest are viewing this topic.

dataspiller

  • Guest
Article catagory page display
« on: September 30, 2008, 10:30:47 PM »
I was wondering if there is a way to keep the category page in the articles section to only display the title and a brief description, instead of the entire article for PHP articles.


For normal html articles, you can have a preview display instead of the full article, where as the php doesn't have that option.

Also, is there a page that will just display the categories?

What I'm looking for is a way to create a link to a page that lists the categories, then clicking the category name takes you to a list of articles in that category.

From what I have seen all you can do is link to a specific category or article.

If not, which files control the article system?

Thanks,

Data

Offline Ianedres

  • Friends
  • *
  • Posts: 684
  • $foo['ianedres'] < $foo['ichbin']
    • Clickity click dot dot dot com thingy
Re: Article catagory page display
« Reply #1 on: October 01, 2008, 12:46:49 AM »
There is the category menu, which may or may not fit your needs at this time.

One way is to make a HTML page with hard-coded links to your categories. It isn't dynamic, meaning that you will have to manually update the HTML as you add them to TP.

You can append '?cat=xxx' to your forum's URL to provide a link to display the articles in the category. Just make xxx equal whatever category number you want- and you find the number in the TP admin/Articles menu by placing the mouse over your category headings.

As a shameless plug, you can try my last block code snippet as a possible solution. The latest version of the code is posted here: http://www.tinyportal.net/index.php/topic,26124.msg209529.html#msg209529


dataspiller

  • Guest
Re: Article catagory page display
« Reply #2 on: October 01, 2008, 09:19:49 AM »
ok, thanks - Probably what I'll do is just add a custom action and write basically a home page for the article section.

I'll take a look at the block :D

Data