AW: [campsite-dev] incModFile()
  • dear paul,

    sorry, i meant /prib/lib_campsite.php instead of /priv/priv_functions.php.

    you can put it out, but would be nice to let a comment there where the
    checkboxe/select-menues for voting/poll/forum should appear. look at
    section-/article-edit page on campware.org to see what i mean.

    sebastian



    > -----Urspr�ngliche Nachricht-----
    > Von: campsite-dev-owner@campware.org
    > [mailto:campsite-dev-owner@campware.org]Im Auftrag von Paul Baranowski
    > Gesendet: Samstag, 2. Oktober 2004 19:28
    > An: campsite-dev@campware.org
    > Betreff: Re: AW: [campsite-dev] incModFile()
    >
    >
    > Thanks for the info Sebastian. More questions:
    > 1) I cant find /priv/priv_functions.php. Is it checked in?
    > 2) I cant leave it where it is because I am rewriting a couple of
    > screens. So I need more specifics on what it does so that I dont mess
    > up the behaviour. Is it supposed to be called after any changes to the
    > database have been made?
    >
    >
    > Sebastian Gobel wrote:
    > > incModFile() will include some code to administrate
    > community-modules, like
    > > assigning a poll to an specific article. the function
    > incModFile() extracts
    > > the current path (e.g. /priv/pub/issues/sections/articles/do_edit.php),
    > > replace "/priv/" with "/priv/modules/admin/" and include this
    > > correspondending script
    > > /priv/pub/modules/admin/issues/sections/articles/do_edit.php which does
    > > something in the database.
    > > incModFile() is in /priv/priv_functions.php and it checks if the target
    > > script is there (community-modules are installed), elsewhere it will do
    > > nothing, so just leave it where it is.
    > >
    > > sebastian
    > >
    > >
    > >
    > >
    > >>-----Ursprungliche Nachricht-----
    > >>Von: campsite-dev-owner@campware.org
    > >>[mailto:campsite-dev-owner@campware.org]Im Auftrag von Paul Baranowski
    > >>Gesendet: Sonntag, 19. September 2004 23:51
    > >>An: campsite-dev@campware.org
    > >>Betreff: [campsite-dev] incModFile()
    > >>
    > >>
    > >>In the php code, does anyone know what incModFile() does?
    > >>
    > >>
    > >>
    > >
    > >
    >
    >

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