Log in | Register | Lost password

Bottom
easy question
  • Posted: 18.05.2007, 01:48
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi,
    I am looking to create a simple directory for our executive board: it would be a simple 3 column table, like

    Title Name Email Address
    President Kim Forbes kim.forbes@childrens.harvard.edu
    V.President Lou Rawls Lou.rawls@childrens.harvard.edu
    Treasurer Patty Smith patty.smith@childrens.harvard.edu

    How do I do this?

    I can only manage to get one person on the publication at a time; I know I'm missing something incredibly basic. Can any one help me out?

    Here is a snippet of my directory-full.html code:









    <tbody>





    </tbody>
    Title Name email


    I have 3 publication fields:
    corportatetitle --string
    name --string
    email --email

    Any help will be appreciated

    Kim
  • Posted: 19.05.2007, 06:00
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I do this for a couple different web sites I manage.
    You're creating a separate publication for each person (as I would do). The "full" template displays a full publication, which to you means one person.

    If you use the list tempate, you can display a list of publications, which to you means your contact list.

    create 3 template files: directory-list-header.html, directory-list.html, directory-list-footer.html

    directory-list-header.html

    Code

    <table>


    directory-list.html

    Code

    <tr>

    <td><!--[$corporatetitle]--></td>

    <td><!--[$name]--></td>

    <td><!--[$email]--></td>

    </tr>


    directory-list-footer.html

    Code

    </table>

  • Posted: 21.05.2007, 13:17
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Thanks. This is exactly what I'm looking for!
  • Posted: 23.05.2007, 23:08
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    You could also try this one:

    adressbook template: http://www.pagesetter.net/index.php?module=pagesetter&func=viewpub&tid=4&pid=62

Template courtesy of Designs By Darren.