Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
thumb image article list and another question.
Im redoing my portfolio site in texpattern… I know I know….I have a textpattern driven blog but created my portfolio before I was using textpattern… I wanted advice on a couple thing before i start. The project navigation uses a list of thumbnail images that would link to articles, see example below.
http://www.mcmonagledesign.com/web/
Whats the best way to do this?
Should i just use straight up textpattern tags like <article category=”“ listform=“imagenavlist”> with a custom form that displays and article image thumbnail or is there a plug that would be handier.
Ive done an image list navigation recently using stw_category_tree and bos_image_display but the thumbs didnt link to articles so id dont think i could use that here.
http://cosanglas.com/gallery/?c=cosan-glas-2008
Second question:
There is one thing unusual about the layout and that is that on the project showcase pages the nav bar comes between the image and the text.. I cant forsee how im going to get a nav bar between an article image and article body copy… any advice would be greatly appreciated.
Hope this makes sense, pressures on me bigtime, the company that was previously hosting this site pulled the rug out from under me.
thanks in advance
kevin
Last edited by kvnmcwebn (2008-12-16 21:44:31)
its a bad hen that wont scratch itself.
photogallery
Offline
Re: thumb image article list and another question.
Kevin,
If you just need article thumbs that link to the article then I would say…
<txp:article_custom category="imagenav" form="imagenavlist" wraptag="ul" />
Inside form “imagenavlist”
<txp:permlink><txp:article_image thumbnail="1" wraptag="li" /></txp:permlink>
Regarding the nav bar
If the Nav bar is in a form – let’s call it navbar
Then you can call it wherever in the form for your project showcase articles
Example:
<txp:title />
<txp:output_form form="navbar" />
<txp:body />
This is just a basic example – I’m pretty sure it would accomplish what you are after.
Offline
Re: thumb image article list and another question.
Cheers Tom,
Thats cleaner than what I had come up with. Thanks for that. I didnt think to call a form from inside another form.
- kevin
its a bad hen that wont scratch itself.
photogallery
Offline