Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-05 16:45:24

roelof
Member
Registered: 2005-03-27
Posts: 647

make a good and logical navigation for my site

hello,

Im now using the rss-sup-archive plugin for making my navigation for my site.
It work very good. The only disadvantage is that the list this plugin makes is very long because very much happened.

I have the articles in the following sections :
- algemeen
- zwangerschap
- bevalling
- 1e jaar

One of my idea’s is that visitors see the sections.
If they choose a section they see the articles of that section on the same way the rss-suparchive does.

Is this possible in TPX and if so , how can i make this or does someone have a better idea for this problem.
The site im talking about is : www.tamarawobbben.nl. It is about the life of my daugther.

Regards,

Roelof

Offline

#2 2006-03-06 01:08:51

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,771
Website

Re: make a good and logical navigation for my site

hi roelof,

that’d be no problem. I don’t see that your articles are in sections at the moment, but that’s no problem. Create your sections, then assign your articles to the relevant section. In the article-list box you can mark the articles you wish to move and use the “with selected” drop-down at the bottom assign them to a new section.

You could then use article_custom or, even easier, rdt_article_menu to automatically generate a list of articles in that section.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2006-03-07 13:46:22

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: make a good and logical navigation for my site

Roelof,

One other possibility is for you to use the conditional tags in combination with rss_superarchive to limit which articles are viewed based on the user’s current section.

Or am I misunderstanding what you want to do?

Offline

#4 2006-03-07 14:03:15

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: make a good and logical navigation for my site

the most likely is :

menu :
- algemeen <br>
- zwangerschap <br>
- bevalling <br>

If for example the user choose for zwangerschap that the menu looks like :

- algemeen <br>
- zwangerschap <br> all the articles on this section. <br>
- bevalling <br>

i hope this make things clearer.

Roelof

Last edited by roelof (2006-03-07 14:07:23)

Offline

#5 2006-03-07 16:56:58

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: make a good and logical navigation for my site

Roelof, do you mean something like this (click on ‘gebruikte TXP-plugins’ in the right column)?

Offline

#6 2006-03-07 17:55:48

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: make a good and logical navigation for my site

Yep,

If this can be done with sections and articles.

Roelof

Offline

#7 2006-03-07 19:52:44

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: make a good and logical navigation for my site

I think that depends on how your menu is coded. What I am using there is some javascript, that I found here. See if you can use it. I’m not very good myself with these things but I got it working ;)

Offline

#8 2006-03-07 20:16:25

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: make a good and logical navigation for my site

oke,

I will give it a try and thnak you for your help.

Roelof

Offline

#9 2006-03-07 21:49:18

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: make a good and logical navigation for my site

Or use domCollapse which I think had the same purpose as the script Els gave you.


Regards,

Joey

Offline

#10 2006-03-08 11:29:34

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: make a good and logical navigation for my site

hello,

I trying the both but im not fullly understand how things are working.
Can both of you give me a hint how i can start this.

Roelof

Offline

#11 2006-03-08 16:40:34

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: make a good and logical navigation for my site

<blockquote>– algemeen
– zwangerschap
all the articles on this section. (1)
– bevalling
i hope this make things clearer.</blockquote>

If you want the thing above, I suggest that you make a menu template and wrap the article-lists (1) in a div and use domCollapse or the script Els gave you to hide/show it when you click on it.


Regards,

Joey

Offline

#12 2006-03-08 17:52:26

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: make a good and logical navigation for my site

you mean something like this :
<code>
<h2>algemeen</h2>
<div id=subalgemeen class enz.>
<rss_superchive enz.
</div>

Offline

Board footer

Powered by FluxBB