Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-07-08 16:14:35
- amra01
- New Member
- Registered: 2008-07-08
- Posts: 2
I want to create a page with a side list and gallery on the main area
I am trying to use textpattern I am a complete newbe, this is the page hortis.gr/products the problem is that every product you see is a diferent “textpattern page” what I want is one page products and many diferent articles viewed inside the same page products the problem is I don’t know what to use for the link. and probably i need a section for each product.
<li<txp:if_section name=“carrots”> id=“on”</txp:if_section>><a href=”<txp:link_to_home />carrots” title=“carrots”>Carrots</a></li>
I am trying to use something like this creating an article with the name carrots.
<txp:article limit=“1” form=“tasos” />
<txp:if_individual_article>
<p><txp:link_to_prev>← <txp:prev_title /></txp:link_to_prev> <txp:link_to_next><txp:next_title /> →</txp:link_to_next></p>
<txp:else />
<p><txp:older>← Previously</txp:older> <txp:newer>Recently →</txp:newer></p>
</txp:if_individual_article>
I hope all these make sense cause I am confused with textpattern
Offline
Re: I want to create a page with a side list and gallery on the main area
Don’t forget categories. All of the items on that page could be in the products “section” but each have their own “category” then you can have them all appear together on the products page but your links for the main content would be to each individual category and for the sidebar listing you could use the <txp:category_list /> tag to output the menu. Within your page template code you can also use the <txp:if_category></txp:if_category>
tags to use different code to display the category when you get there.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2008-07-08 18:45:46
- amra01
- New Member
- Registered: 2008-07-08
- Posts: 2
Re: I want to create a page with a side list and gallery on the main area
thanks I will try to create a category for each link and a post for each product assigned to this category.
Offline