[campsite-support] variables in templates???
  • hi, i am developing web page that need to have only (for example) 2
    articles on index page, normally i would put some varible as a counter
    while loop reading database. how could i do this in campsite .tpl syntax?
    can i use php without disturbing modularity of system.
    thanx
    vladimir

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 2 Comments sorted by


  • "article", not "articles"

    silence@verat.net wrote:
    >
    > thanx!!!
    >
    > >
    > >
    > >
    > > Ondra
    > >
    > > On Fri, 2004-08-06 at 12:49, silence@verat.net wrote:
    > >> hi, i am developing web page that need to have only (for example) 2
    > >> articles on index page, normally i would put some varible as a counter
    > >> while loop reading database. how could i do this in campsite .tpl
    > >> syntax?
    > >> can i use php without disturbing modularity of system.
    > >> thanx
    > >> vladimir
    > >

    --
    Aleksandar Brajanoski
    Internet Development Manager
    Transitions Online
    Chlumova 22, 130 00 Praha 3
    Czech Republic
    420 2 2278-0805 (extension 26)
    420 2 2278-0804 (fax)
    http://www.tol.cz

    TOL: Intelligent Eastern Europe!

    ------------------------------------------
    Posted to Phorum via PhorumMail



  • Ondra

    On Fri, 2004-08-06 at 12:49, silence@verat.net wrote:
    > hi, i am developing web page that need to have only (for example) 2
    > articles on index page, normally i would put some varible as a counter
    > while loop reading database. how could i do this in campsite .tpl syntax?
    > can i use php without disturbing modularity of system.
    > thanx
    > vladimir

    ------------------------------------------
    Posted to Phorum via PhorumMail