Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-27 00:24:51

Michael
Member
From: Vienna/Austria
Registered: 2004-03-25
Posts: 147
Website

...nest conditionals?

Hi!

I’d like to show excerpts for articles that have excerpts and the whole body for the articles that don’t have excerpts on my homepage. I’ve read the article about displaying excerpts on the homepage on zem’s faqs, but I cannot manage to get the conditional working… Just for logic:

  • if article list
    • if excerpt
      • excerpt
  • else
    • body
  • /if excerpt
  • else
    • body
  • /if article list

Or is there something wrong? How can I achieve what I’ve been trying with that code?

M.

Offline

#2 2005-11-27 00:48:05

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: ...nest conditionals?

Offline

#3 2005-11-27 01:04:00

Michael
Member
From: Vienna/Austria
Registered: 2004-03-25
Posts: 147
Website

Re: ...nest conditionals?

Thanks. That helped!

Offline

Board footer

Powered by FluxBB