baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Christoph Bergmann on 10/1 2002, 01:48 +00:00
    EMail: info@baseportal.de

    Re: associating database to page


      Albeit that you found a solution already, I would like to answer the question:

      Normally a page is associated with the database with the _same name_. The tag...

      <do action=all>

      ...in the template "test" would operate on the database "test". If you want to use different pages operating with one database you have to use the "db"-parameter:

      <do action=all db=users>

      would operate on the database "users" in whatever template (in the same directory) this is used...

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from Barry Fitzgerald on 9/20 2002, 16:20 +00:00
    EMail: barry_fitzgerald@bigfoot.com

    associating database to page


      I'm a new user of baseportal. So please excuse my ignorance. The first hurdles always seem the highest. I have successfully set up a database and general page which works. I am now trying to set up additional pages. Although all files are in the same (main)directory I cannot get any of my new pages to access the database. I notice when I look at the setting of the page it says "(No associated database available)". I have tried <db=database> with no success. I know it's something very simple can some please put me out of my misery.
     Post a reply

    Message from Barry Fitzgerald on 9/20 2002, 17:52 +00:00
    EMail: barry_fitzgerald@bigfoot.com

    Re: associating database to page


      I seem to have solved my proble. I dont know how/why buts now it's working
     Post a reply

    Message from Christoph Bergmann on 10/1 2002, 01:48 +00:00
    EMail: info@baseportal.de

    Re: associating database to page


      Albeit that you found a solution already, I would like to answer the question:

      Normally a page is associated with the database with the _same name_. The tag...

      <do action=all>

      ...in the template "test" would operate on the database "test". If you want to use different pages operating with one database you have to use the "db"-parameter:

      <do action=all db=users>

      would operate on the database "users" in whatever template (in the same directory) this is used...

     Post a reply
     

 Messages from 3450 to 3600: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com