How do I add small icons in front of and at the end of a title, and associate the icons with different links?

Hi, there,
I am a beginner of Drupal, and I would like to change the front page titles into the following format:
"author icon" Title "new window icon"
Clicking on "author icon" opens a list of all the articles by the author.
Clicking "new window icon" opens the story in a NEW tab/window.
Different "author icons" are assigned to authors, and the "new window icons" are the same in each node.

check box for each user in custom content field

Im trying to create a content type, where the author is offered the opportunity to mark users, which later will be displayed as "user 1, user 2, user 5, user 8 etc..."

but how can I do that?
Im creating a custom content with a field with checkbox-option, but how can I make it automatically list every user - with a checkbox?

How can I display this field, please help

In my site I have created a custom field with the Entity 2 module, and the Profile2 module.

In Devel the data I want to display shows up under: [node:author:profile-main:field-signature]

But who do I check if that field exists, and if so display the value?

Thank you

This is D7 btw.

Loging in to website code

Hello Community.
A friend of mine and i were having a discussion and this site Drupal came up as a site i could get code modules for doing different stuff. I.e. Im trying to get code that lets me log unto a website. I've been poking around...downloaded and installed drupal for my pc.
But im still wondering where to go to find code an whether i could try it on my stand alone website thank you

When to use static query and dynamic query

Hi all,

Please help me to understand. because I don't know when to use dynamic query and when to use static query.

like for example I want to join three tables. table_one, table_two and table_three.
for static:

  $select = db_query('SELECT field1, field2 FROM {table_one} t1 INNER JOIN {table_two} t2 ON t1.id = t2.id INNER JOIN {table_three} t3 ON t3.tbl_three_id = pcl.tbl_three_id');

for dynamic:

D6.20 to upgrade D7 - fail on update.php - fatal error seems to have ocurred with the database.

Dear all,

I am trying to upgrade a fairly simple site but the upgrade failed when I run update.php with this error: I'm sorry! A fatal error seems to have ocurred with the database. We are investigating the problem, so please try again later.

I followed the guide (http://drupal.org/node/570162) to the best of my ability, and as I said, got stuck in step 9.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x