TinyPortal

Development => Support => Topic started by: DonaldDasher on October 13, 2008, 09:36:35 PM

Title: Creating a navigation menu
Post by: DonaldDasher on October 13, 2008, 09:36:35 PM
I've been setting up categories and sub-categories and things are looking good. However, I have a question. If you click here you'll see what I mean:

The Times (http://www.pre-cert.co.uk/index.php?page=Nasty-squad-jumps-in-on-hunt-for-video-pirates) (sub category of "Newspaper Articles"

Now if you click here "Newspaper Articles (http://www.pre-cert.co.uk/index.php?cat=10136)" you get an error - what I'd like displayed here is a list of sub categories in this parent category. Can this be done?
Title: Re: Creating a navigation menu
Post by: Ken. on October 13, 2008, 09:47:36 PM
Do you have 'Newspaper Articles' assigned to a category?
It will need to be so before your article will show.
Title: Re: Creating a navigation menu
Post by: DonaldDasher on October 13, 2008, 09:55:03 PM
Newspaper Articles is one of the main heading categories.
Title: Re: Creating a navigation menu
Post by: DonaldDasher on October 13, 2008, 10:01:35 PM
ps: as sub categories of "Newspaper Articles' I have the following:

- Daily Mail
- The Times

These sub categories then have articles which were originally printed in them.

When a user clicks on Newspaper Articles I'd like a list of newspapers and related articles.
What am I doing wrong?
Title: Re: Creating a navigation menu
Post by: Ken. on October 13, 2008, 10:18:46 PM
Maybe we're not both talking about the same thing so first this question:
Is "Newspaper Articles" actually an article or is it a category?
If it is an article then it will need to be in a category in order for it to be visible.
Title: Re: Creating a navigation menu
Post by: DonaldDasher on October 13, 2008, 10:22:37 PM
It is a category:

Take a look here (you can then see the links tree):

Example (http://www.pre-cert.co.uk/index.php?page=Nasty-squad-jumps-in-on-hunt-for-video-pirates)

Going back along the link tree and clicking on ":Newspaper Articles" gives the error: "No articles was found in this category."
Title: Re: Creating a navigation menu
Post by: Ken. on October 13, 2008, 10:39:06 PM
I'm having to go back to my TP098 test forum to look at this issue so it's taking a while.

Do you have any actual articles in the Newspaper Articles category?
It will take me a while to research this because my test sites main category has articles in that category as well as in the sub-categories but I'm thinking that if you don't have any articles directly in the Newspaper Articles category that's why it shows the message that you are seeing.
Title: Re: Creating a navigation menu
Post by: DonaldDasher on October 13, 2008, 10:40:50 PM
Yes, I have the following articles:

Newspaper Articles > Daily Mail > The men who grow rich on bloodlust (http://www.pre-cert.co.uk/index.php?page=The-men-who-grow-rich-on-bloodlust)

Newspaper Articles > The Times > Nasty squad jumps in on hunt for video pirates (http://www.pre-cert.co.uk/index.php?page=Nasty-squad-jumps-in-on-hunt-for-video-pirates)
Title: Re: Creating a navigation menu
Post by: Ken. on October 13, 2008, 10:49:37 PM
Looking at your navigation it appears that both of those articles are in sub-categories (Daily Mail & The Times) which is not the same as having them in the Newspaper Articles category.

Maybe you could try adding a test article directly to that main category to see what the result would be, I'll try it on my test site but it will take some time to move the articles that are currently in there.
Title: Re: Creating a navigation menu
Post by: DonaldDasher on October 13, 2008, 10:54:31 PM
Thanks Ken, Interesting:

http://www.pre-cert.co.uk/index.php?cat=10136

It seems the sub-categories doesn't work. I'll just make them all newspaper articles so they are listed.
Title: Re: Creating a navigation menu
Post by: Ken. on October 13, 2008, 11:08:40 PM
You might want to consider updating your forum to the current release of TP. I've been looking at the article structure on my live forum (TinyPortal v.1.0.6 beta 2) to see if that version will give you what you need... I don't use inline links so I don't know off hand if it will but there have been many improvements in the article system between versions.
Title: Re: Creating a navigation menu
Post by: DonaldDasher on October 13, 2008, 11:12:09 PM
I did have the current version but I had to roll back a while ago as there were some bugs with other areas. I can't remember what they were now.

It took a lot of sorting out so I think It's best if I wait until there's a version of TP that will work with SMF 2.