RE: [campsite-support] List of Articles within List of Article
  • Hey Jim,

    I don't know the reason, perhaps a dev can tell you that.
    But can't you just use the if-else conditions to solve your problem?

    F.e (in article main template)


    Template code for articletype special

    Template code for normal articles


    Greets,

    >From: ""
    >Reply-To: campsite-support@campware.org
    >To: campsite-support@campware.org
    >Subject: [campsite-support] [Campsite Support] List of Articles within List
    >of Article
    >Date: Mon, 4 Sep 2006 04:04:29 +0200 (CEST)
    >
    >Author: jimmybondo
    >Link: http://code.campware.org/phorum/read.php?8,4506,4506#msg-4506
    >--------------------------------------------------------------------------------
    >
    >I was creating a template and found in the documentation that List of
    >Articles was not allowed to have another List of Articles inside. I was
    >just wondering if there was a reason for this. Basically my problem is that
    >if there is one type of article, I need to change the layout of another,
    >and if not, then set the layout to something else. I know that is a little
    >confusing, but it is hard to explain Wink. If there was no specific reason,
    >can I submit it as a feature request for the next version?
    >Jim
    >
    >--
    >Sent from Campware Forums
    >http://code.campware.org/phorum
  • 1 Comment sorted by
  • hmmm, my problem is that it is on the front page and I am listing different articles from different section that have different types. Is there a way to say something like the following:
    if article of type standalone in Section News
    --regular article + article type standalone
    else
    --regular article (with different formatting as above)

    So I guess the real question would be if I can list (or use some other printing method) the regular article inside the other if statement. Sorry for the really bad explanation, but I am horrible at explaining things like this!
    Thanks for the help!
    Jim