Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2006-01-14 15:21:37
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: horizontal link list
I mean i want to put all articles into category’s so every page is a seperat categorie.
Therefore all articles about “zwangerschap” will be in the category “zwangerschap” and so on
Offline
#17 2006-01-14 15:29:22
- Thirteen
- Member
- Registered: 2006-01-09
- Posts: 40
Re: horizontal link list
If I’m understanding you correctly, I think what you’re looking to do is no longer related to displaying your links. It’s a matter of organizing your articles in accordance to the categories so that it’d appear on separate pages. That would then involve creating sections and pages to correspond to your sections. On those pages and/or forms, you’d then sort which articles you want to display. Once you have that all worked out, you can edit your links to direct you there, etc.
Offline
#18 2006-01-14 16:29:48
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: horizontal link list
oke, i have done that.
Someone on this forum told me that everything what must be displayed on the frontpage must be in the categorie default. How do i do it for a form ??
Offline
#19 2006-01-14 16:34:50
- Thirteen
- Member
- Registered: 2006-01-09
- Posts: 40
Re: horizontal link list
You meant the section “default” and not the category “default” right? Because that’s not really the same thing, I think.
Using forms is something entirely separate from sections and pages. Think of it like a supplement. You use it to help you display your content the way you’d like it to. All you’d have to do is create the form to do what you want it to, then apply it accordingly on your page template. So to apply it on to your front page, you’d just apply the form where applicable on the page you’re using for the default section.
Offline
#20 2006-01-14 16:40:37
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: horizontal link list
then i have a big problem.
I made a form with the name of navigation.
In the page i type :
<code>
<div id=“hoofdmenu”>
<txp:output_form form=“navigatie” / >
</div>
</code>
And nothing happens on my frontpage.
See : http://www.tamarawobben.nl
Roelof
Offline
#21 2006-01-14 16:49:09
- Thirteen
- Member
- Registered: 2006-01-09
- Posts: 40
Re: horizontal link list
You have an extra space in your output_form tag after the slash. Get rid of that and see if your links appear.
Btw, we’re only talking about your links not appearing and nothing else right? Because for articles to appear, you’d have to call it.
Last edited by Thirteen (2006-01-14 16:50:06)
Offline
#22 2006-01-14 17:01:24
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: horizontal link list
Thank you,
The links appears now.
But now the layout is not good.
Offline
#23 2006-01-14 17:13:18
- Thirteen
- Member
- Registered: 2006-01-09
- Posts: 40
Re: horizontal link list
You’re welcome; I’m glad that part got worked out.
In terms of the layout- I just took a look at your page source and noticed something odd. The links aren’t wrapped up inside your hoofdmenu id. I’m not sure why that is without knowing how you’re organizing your layout. What do you have on your “navigatie” form? Which leads me to a question: Why did you put the div id of your links on your page and wrap it around your form output rather than just stick it inside the form and just include the form without any need of typing out the div id everytime you want to include it?
Offline
#24 2006-01-14 17:51:19
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: horizontal link list
My navigation form looks like this :
<code>
<ul id=“hoofdmenu”>
<li><a href=”<txp:site_url />zwangerschap/”>zwangerschap</a></li>
<li><a href=”<txp:site_url />bevalling/”>bevalling</a></li>
<li><a href=”<txp:site_url />novtmdec/”>sept t/m november</a></li>
<li><a href=”<txp:site_url />december/”>december</a></li>
<li><a href=”<txp:site_url />januari/”>januari</a></li>
</ul>
</code>
When i didn’t do <ul id=“hoofdmenu” Css didn’t work so i choose this option.
And what do you mean with the last words ( why didn’t you …… to include it )
Roelof
Offline
#25 2006-01-14 18:05:34
- Thirteen
- Member
- Registered: 2006-01-09
- Posts: 40
Re: horizontal link list
I was talking about the <code><div id=“hoofdmenu”></code> part of your code. Why didn’t you just throw that into your navigatie form too?
I’m looking at your page source right now- for some reason, your navigation links are wrapped between <code><div id=“boven”></code> rather than hoofdmenu. Without knowing how you’re setting up your layout’s coding, I can’t pinpoint your problem…but I’m guessing that’s it.
Offline
#26 2006-01-14 18:23:17
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: horizontal link list
Thank you,
Now the following problem.
The disappeared text
Roelof
The problem is this tag
<code>
<txp:if_section name=“article”>
<txp:article form=“Single” listform=“Single” />
</txp:if_section>
</code>
Last edited by roelof (2006-01-14 18:29:41)
Offline
#27 2006-01-14 18:36:18
- Thirteen
- Member
- Registered: 2006-01-09
- Posts: 40
Re: horizontal link list
I don’t know what you’re trying to do, but anything “if” is a conditional tag- do you have a <code><txp:else /></code> in there somewhere to set the condition? I suggest you take a look at http://textpattern.net/wiki/index.php?title=Txp:if_section for more information.
Btw, you’d probably end up getting more help with this if you post a new thread (perhaps here or at troubleshooting) since it doesn’t have to do with horizontal link lists anymore. Other more competent people than me might not see it if it’s buried in here.
Last edited by Thirteen (2006-01-15 10:49:24)
Offline