Tarjei Huse <[EMAIL PROTECTED]> said:
> Hi, Alab
>
> Did you manage to get things up and running with Twig? How did you do it?
>
> Tarjei
We have some of it partly going, Still working on it -
basically it uses the twig libraries and we recoded alot of the 'features'
into the midgard backend... - code is on the
http://demo.hklc.com/cgi-bin/cvsweb - under page/Framed Admin/rcs
It should be available in a few weeks as a bundle....
regards
alan
>
>
> > -----Original Message-----
> > From: Alan Knowles [mailto:[EMAIL PROTECTED]]
> > Sent: 3. oktober 2000 15:32
> > To: [EMAIL PROTECTED]
> > Subject: RE: [midgard] snippets and global vars (1.4beta4)
> >
> >
> > Actually the trick is using the twig libraries, overlaid with
> > FastTemplate -
> > to allow user interface customization.
> > The user account info is stored as preferences on the logged
> > in user's person
> > object.
> >
> > Since TWIG makes heavy use of SQL calls, hopefully I will be
> > able to replace
> > these with midgard calls, as midgard provides pretty much a
> > full set of
> > equivilant information...
> >
> >
> > The code is viewable at
> > http://demo.hklc.com/cgi-bin/cvsweb/page/Framed%20Admin%201b1.
> > page/rcs.page/org_email.element.php3?rev=1.3&content-type=text
> > /x-cvsweb-markup
> >
> > http://demo.hklc.com/cgi-bin/cvsweb/page/Framed%20Admin%201b1.
> > page/rcs.page/org_twig.element.php3?rev=1.1&content-type=text/
> > x-cvsweb-markup
> >
> > for the stylesheet
> > http://demo.hklc.com/cgi-bin/cvsweb/style/testing%20template.s
> > tyle/organizer.element.php3?rev=1.1&content-type=text/x-cvsweb-markup
> >
> > and for a midgardized FastTemplate
> > http://demo.hklc.com/cgi-bin/cvsweb/style/testing%20template.s
> > tyle/FastTemplate.element.php3?rev=1.1&content-type=text/x-cvs
> > web-markup
> >
> > Twig is imported into the snippets dir using the code under
> > import/snippets in
> > the v2 Framed Admin (it's pretty beta though, It failed on
> > importing Open
> > Merchant PHP)
> >
> > regards
> >
> > alan
> >
> >
> > Tarjei Huse <[EMAIL PROTECTED]> said:
> >
> > > Hi,
> > > > going through the
> > > > steps of integating twig as a snippet dir package
> > > Wow. If you manage to include twig, would you mind posting
> > a howto or
> > > codelisting on the list?
> > > I'd love to have TWIG included (as I would guess many
> > would). It would make
> > > Midgard ideal for intranets.
> > >
> > > Tarjei
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Alan Knowles [mailto:[EMAIL PROTECTED]]
> > > > Sent: 3. oktober 2000 14:23
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [midgard] snippets and global vars (1.4beta4)
> > > >
> > > >
> > > > I've got 1.4beta4 on the development server and was just
> > > > going through the
> > > > steps of integating twig as a snippet dir package, however it
> > > > is having alot
> > > > of trouble accessing global vars??
> > > >
> > > > Is that an old bug??? (or is it too late in the evening here?)
> > > >
> > > > eg. - in a host page
> > > > $config[test] = "fred";
> > > > mgd_include_snippet("testpage/testpage");
> > > >
> > > > - in the snippet testpage/testpage
> > > > echo $config[test];
> > > >
> > > >
> > > > regards
> > > >
> > > > alan
> > > >
> > > > --
> > > > Technical Director
> > > > Linux Center (HK) Ltd.
> > > > www.hklc.com
> > > >
> > > >
> > > >
> > > > --
> > > > This is The Midgard Project's mailing list. For more information,
> > > > please visit the project's web site at
> http://www.midgard-project.org
> > >
> > > To unsubscribe the list, send an empty email message to address
> > > [EMAIL PROTECTED]
> >
> >
> > --
> > This is The Midgard Project's mailing list. For more information,
> > please visit the project's web site at http://www.midgard-project.org
> >
> > To unsubscribe the list, send an empty email message to address
> > [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> --
> Technical Director
> Linux Center (HK) Ltd.
> www.hklc.com
>
>
>
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
>
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]
>
>
>
--
Technical Director
Linux Center (HK) Ltd.
www.hklc.com