Drupal is up and running but how do I ...?

Get uid of logged user

I created a personal profile page called 'user_profile_tpl.php'.

In this page I need to recover the uid of the user is logged, but when i print the $user->uid, the id that it is returned me is of the user who is being edited and not of what he is logged.

How to i get the uid of the user is logged?

Quick Questions: Primary Links

So I've created primary links, but cannot understand how to:

1) Create a static page and attach it to that primary link so when the link is clicked it takes folks to that static page
2) How to set it up so as new pages are created, the users can determine the primary link its relevant to and post it so that primary link content develops
3) How to do 1 & 2 above with a blog or project

NOTE: I see how to make content go to front page etc but not how to link it to specific and deleoping content.

Any thoughts folks?

How do you get user to selects fields to display in profile?

How do you get users to choose what fields to display in their public profile?

trying to do link tracking for authors and not getting anywhere fast.

Ok here goes. I want to do a simple hit counter for a node that the author has published. but....

I don't want the link to go to the full node, because my node listings and search results ARE the full node.

I have my nodes setup so when a user clicks on a node title, an external link and window are opened. Concept is basically a site preview that the user can look through (my node listsings / search query listings) before they actually visit the external site. I just want to be able to give some stats for the authors that publish those nodes.

I can use the statistics module to count if the node has been clicked on, but I don't have a use for the single node view that occurs when you click on a node title.

- The gotwo module http://drupal.org/project/gotwo does link tracking, but is incompatible with views (or seems to be) so I can't give the authors a page for their node stats.

- The Clickthru tracking http://drupal.org/node/36916 sounded promising until trying to get it to work.

- The statistic module works great with views, but again I don't have a use for that single node listing.

I wanted to do some sort of hack where the user clicks on a node title, the new window opens, and the window that normally shows the single node, would then be redirected back 1 to their search results or node listing, but I can't seem to get that to work.

How to generate a list of taxonomy links?

Just want to generate a block that has all the terms in a vocabulary...how do I go about this? I didn't see how to do it in the Views module.

e-commerce module and PgSQL problem

I have a problem with using e-ccommerce module on 4.7 using PostgreSQL. I have installed every module fom the "e-commerce package". During instalation I couldn't switch on "shipping module" (there was an error message: warning: pg_query(): Query failed: ERROR: relation "ec_shipping_product" does not exist in /home/httpd/demo1_drupal4_7/includes/database.pgsql.inc on line 94....) and Then I was trying to work with that, but lot of things didn't work properly (e.g i couldn't create most of product types, actually i was able to crete only one of them: "apparell product").

Pages

Subscribe with RSS Subscribe to RSS - Post installation