Hi,
I am looking for a way to offer each individual guest on my website the possibility to add a new row to a LINK-list. I want to construct a list with two fields: 1. URL 2. Description of the URL.
If someone (also unregistered users) like to add their URL, they can type in their data and send it. The list is then longer by one row ..... and I do not have to enter it manually.

That is the way I am looking for:

-ww.drupalxyz.de | Website Description .....
-ww.drupalxyz.de | Website Description .....
-ww.drupalxyz.de | Website Description .....
-ww.drupalxyz.de | Website Description .....

______________________________________________
"URL"....................."Description"
-______________-------____________-------

----------------------"send"---------

I am doing a lot of stuff with CSS, but I am not an PHP expert (but willing to improve in this category :-)
What could be a good way to realize this "automatic list" ?

Thank you,
Plipp

Comments

nevets’s picture

Think of each row in the list as a piece of content, with Drupal 5 I would make a content type using CCK to hold the URL and description and views to make the list.

Plipp’s picture

thank you for yout tip.

I used Views but did not install CCK to create the list. I created a new content type, called "list entry" with NO TEXT FIELD, just title. Thus I had a single line where anyone can enter a few words about his/her website. I used Views to build a BLOCK, containg the title of the content "list entry" and I made this block visible only on "node/add/linklist". Now everythink was fine. A page with the ability to directly send a URL+Description and below the existing list with all checked URLs + the the recently sent ones.

Plipp