Re: [campsite-support] Publications home page
  • Here is the template code:

    {{ set_publication name="pub1" }}
    {{ list_articles length="1"
    constraints="onFrontPage is on" order="byPublishDate desc" }}

    {{ /list_articles }}

    Repeat the same template code for each publication. At the end of this
    sequence add the following statement:

    {{ set_default_publication }}

    Mugur

    On Wed, Feb 17, 2010 at 8:21 AM, wrote:

    > Author: elmergu
    > Link: http://code.campware.org/phorum/read.php?8,8138,8138#msg-8138
    >
    > --------------------------------------------------------------------------------
    >
    > Hi I'm using Campsite v3.3,
    >
    > I have 3 publications
    > magazine1.mysite.com
    > magazine2.mysite.com
    > magazine3.mysite.com
    >
    > and I want to display in www.mysite.com the latest issue from each
    > magazine and the first article with "onFrontPage on" from each issue.
    >
    > Any ideas how the home page template from www.mysite.com should be
    >
    >
    > Thanks
    >
    > --
    > Sent from Campware Forums
    > http://code.campware.org/phorum
    >