Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-02-23 21:54:06
- Brandon
- New Member
- Registered: 2008-02-23
- Posts: 4
Trying to create a great portfolio site.
Hello. I am a graphic designer trying to create a site to showcase my work, and to be a simple blog. I have been searching for a plug-in that will help me display my work, with a couple variables: Work Type, Date Created, Date Added, Client Name, etc. The best example I have is this:
http://www.asterikstudio.com/work.php?type=Clothing
Does anyone know what direction I should take to create something along these lines?
Offline
Re: Trying to create a great portfolio site.
Hi Brandon and welcome!
You should be able to achieve that with txp out of the box:
- set up a section and called it “portfolio” or “work” etc.
- while you are at it set up a section for your blog too
- for the project type you can use article categories, e.g. print, web, clothing, identity etc.
- for details such as client name and possibly the date fields, set up custom fields in the admin area. After that they will show up in the write pane.
- use an article for each piece of work in your portfolio and assign it to the section “portfolio” and the relevant “category”. Enter the client information in the custom fields. I’m not sure how date created and date added differ in your list. If there is no essential difference, you can use the normal article publish date, which you can manually adjust to be the date of the work (you can backdate if you want). That way you can use txp:article’s
sortby
attribute withposted
date as well asmonth
&year
restrictions if you want to break your portfolio down into yearly archives.
Set up a new txp-page template for your portfolio, a txp-form for the repeating item view in the overview list (which you will use for listform="..."
) and a txp-form for the detailed view of the portfolio item itself (which you will use for form="..."
), minus the header, footer, menus etc.
In your page template set up the layout with header, footer, menus etc. and where the portfolio item should be inserted show use txp:article
. The advantage of txp:article is that it is context-sensitive so that when you call up /portfolio/ it will list all portfolio items, when you call up /portfolio/?c=print it will list all the print items and when you call up /portfolio/my-project it will display the detail view of your portfolio item.
In the presentations > sections tab you need to tell txp which page templates to use for each section, then you can try it out. To get an automatic menu of categories you can use txp:category_list
in your page template.
You can do more of course, but that should get you going. Check the textbook (see Network links at the top of the forum) for details on the tags mentioned and the attributes you can use with them.
TXP Builders – finely-crafted code, design and txp
Offline
#3 2008-02-24 05:20:48
- Brandon
- New Member
- Registered: 2008-02-23
- Posts: 4
Re: Trying to create a great portfolio site.
Danke Jakob!
I will print out your reply and get to work. I’m excited to see that Textpattern may actually be the CMS I’ve been looking for!!
Offline