TinyPortal

Development => Support => Topic started by: Jeff on December 02, 2005, 12:49:05 AM

Title: Relationships Categories - Articles - Menus
Post by: Jeff on December 02, 2005, 12:49:05 AM
I'm trying to layout my TP site and I'm having a terrible time understanding the relationship between the items that make up a content block.

For instance, I would like the following:

Racing <- header, no link
     - Sponsors < - article listing sponsors
     - 2005 Season < - link to 05 race reports
          - Race report 1
          - Race report 2 ... etc

Contact <- header, no link
     - Contact info < - article listing contact info

etc etc...

I just can't get the relationships down right. 
Title: Re: Relationships Categories - Articles - Menus
Post by: IchBin on December 02, 2005, 04:09:32 AM
Essentially that is what Bloc has done in his menu. Only you have taken it one step further in your submenu item. I can't access my site right now or I would take a look and see what is possible. You'll notice some of Blocs links are to articles.
Title: Re: Relationships Categories - Articles - Menus
Post by: redeye on December 02, 2005, 07:50:21 AM
Don't know if this helps but this is the configuration of my content www.honda-varadero-uk.org

Header         
Link
Link            
Link
Header            
Link           
Link           
Header        
Category   
Category          
Category    
Header        
Category

[attachment deleted by admin]
Title: Re: Relationships Categories - Articles - Menus
Post by: Jeff on December 02, 2005, 11:39:49 AM
I think I have it figured out using header/category/article.  It just took me a while to understand the relationships, and I'm still not sure I'm doing it correctly, but so far it's working the way I want it to...
Title: Re: Relationships Categories - Articles - Menus
Post by: bloc on December 03, 2005, 03:41:21 PM
The menu mannager is really meant to be whatever you need..but it does not setup anything autmatically..like all articles in a category for example.

It need to a few other options..like a entry that simply show all articles in a set category.
Title: Re: Relationships Categories - Articles - Menus
Post by: Jeff on December 04, 2005, 02:28:45 PM
Yep, I understand it more now. I was just wondering what the hirarchy was within the different entities. 

I.e., Articles belong to sub-categories belong to categories belong to header. 

However, in most cases, there is no rigid hirarchy like such. 
Title: Re: Relationships Categories - Articles - Menus
Post by: bloc on December 05, 2005, 12:17:15 AM
Menu manager in its current state allow you to sort of simulate a hierachy though..by using the "position" values, which indents the name accordingly(4 "levels" deep). In a custom theme this could be added to a list, which by css or javascript collapses/expands...

So a auto-link feature that just adds the articles or even subcategories, would make the process of adding each article easier - if you want to. I will probably add to the "category" type of menu item..a extra option to also show its articles/sub categories underneath the item.
Title: Re: Relationships Categories - Articles - Menus
Post by: Jeff on December 05, 2005, 02:54:35 AM
If you don't mind, take a look at www.cbr600rr.com/forum and check out the menu to see what would be ideal.

So far, everything works GREAT.  The only thing which is a bug that you may already know of is in writing a new article.  Under the WYSIWYG editor, if you use the "link" functionality and select "_blank" for which window the link target should show up in, it does not work.  I can provide you a clear example if you need.
Title: Re: Relationships Categories - Articles - Menus
Post by: bloc on December 05, 2005, 09:39:49 AM
Yes. the option of "new" window will be in.
Title: Re: Relationships Categories - Articles - Menus
Post by: Jeff on December 05, 2005, 12:02:44 PM
The option for a new/blank window is there, but the resulting HTML code is not correct.