Jump to content

Placing article titles under categories in list page


dschreiber

Recommended Posts

Posted

Hello!  We've created a database in IPS for Articles.

getting_started_database.thumb.png.12b64121590f5904679c4aac7c27d579.png

As you can see, it currently have 4 categories and 27 records.  I believe that it uses the standard templates for displaying the database information.  Here's a screenshot of those settings in the database:

ips_settings.thumb.png.77c783b3080a17bfea328e71b64b2f4e.png

 

As it stands, the Categories are displayed as...

ips_categories.png.79319a93407d1cde517847c2c0812e91.png

 

Clicking on one of the categories shows the corresponding articles:

ips_articles.png.d2d6255781beba0ba7ee52e735f090c0.png


We'd like to have the categories and articles displayed like a table-of-contents, and all on one page.

For example:

Getting Started
Introduction
  - Overview and Architecture
  - Accessing Monster For the First Time
  - Setting Up Your First Office

General FAQs
  - How do I create a user?
  - What is the price?

This new page would replace the old categories page.

I've found two similar questions....

 ...but I could use more specific, step-by-step help - pretty please!

Cheers,
Bret

 

 

 

 

Posted

I think that I'm understanding how to get this done, but I'm having some trouble finding the resource I need.  Where can I find documentation on functions such as

    $category->hasChildren()

...or..

   {{$count = $RecordsClass::contentCount( $category, FALSE );}}

When I google for, say, "IPS Community contentCount", I get very little.  What documentation do I need to read to understand what functions are available?  I'd like to, for example, get all articles for a given category, but I can't figure out how to do so.

Thanks,
Bret

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...