Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-03-31 17:56:21
- rajkanal
- New Member
- Registered: 2006-03-31
- Posts: 3
Publishing house website project
Hi everyone!
I am really new to Textpattern. I have this client job, which I would like to accomplish using Textpattern and I need ALL THE HELP I CAN GET in accomplishing the same.
The project is explained as under:
Sitemap:
==
|-Magazines & Publications
|—-Magazines (clicking this link shows static page)
|———Mag 1 (clicking on Mag 1 shows articles from current isssue)
|————-Archive (of previous issues)
|———Mag 2 (clicking on Mag 2 shows a static page)
|—-Books (clickig link shows portfolio of Books published)
|-Events (clicking on events shows portfolio of events)
|-Content Specials (clicking on link goes to static page)
|—-Events (clicking on link shows portfolio of client events)
|—-Merchandise (clicking on link shows portfolio of merchandise)
Home Page:
====
The home page needs to show 3 items
1. Latest article published from MAG 1 (from Magazines and Publication)
2. Latest article published (from Events Section)
3. Latest article published (from Content Special Section)
Menu:
How do I go about making my section and categories.
Portfolios:
===
Can I show portfio by:
1. Date published
2. Client
I’d like to thank you in advance for all your help and I really look forward to your expert advice.
I am sure your advice will help many a new users to Textpattern.
Thank you.
Offline
#2 2006-04-01 05:57:00
- rajkanal
- New Member
- Registered: 2006-03-31
- Posts: 3
Re: Publishing house website project
Maybe I asked too many questions for one post!
I’ll break this request into stages, hope that will help the community in answering my queries…
Firstly
=
My sections include:
1. Magazines & Publications
2. Events
3. Content Specials
4. About
5. Careers
6. Contact
I would like my top-menu to output 3 links in the following order:
1. Magazines & Publications
2. Events
3. Content Specials
I would like my bottom-menu (in the footer) to output 4 links in the following order:
1. About
2. Careers
3. Contact
4. Home
I have managed to create the sections.
Thank you in advance!
Offline
#3 2006-04-01 08:05:03
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Publishing house website project
You won’t be able to use <txp:section_list /> for your menus because that will output all sections. So you can either use a plugin or handcode the menu.
I’m not familiar with the navigation plugins, you can have a look here.
A handcoded menu would be something like this:
<code>
<ul>
<li><txp:section name=“magazines-publications” title=“1” link=“1” /></li>
<li><txp:section name=“events” title=“1” link=“1” /></li>
<li><txp:section name=“content-specials” title=“1” link=“1” /></li>
</ul>
</code>
So if the name of your section with title ‘Magazines & Publications’ is ‘magazines-publications’, this will output the following html: <a href="/magazines-publications/">Magazines & Publications</a>. Etcetera.
The same goes for the bottom menu of course.
Magazines and Books could be categories, and Mag 1 and Mag 2 subcategories.
For the articles on the front page you’d need something like
<code>
<txp:article_custom section=“magazines-publications” category=“mag1” limit=“1” />
<txp:article_custom section=“events” limit=“1” />
<txp:article_custom section=“content-specials” limit=“1” />
</code>
Offline
#4 2006-04-01 13:25:03
- rajkanal
- New Member
- Registered: 2006-03-31
- Posts: 3
Re: Publishing house website project
Thank you for the prompt reply. I appreciate that.
I will try out your advice.
Offline
Pages: 1