This forum is for less technical discussions about the Drupal project, not for support questions.

Title Tags

Can anyone tell me if it's possible to put the META TITLE tags individually into each page? A lot of CMS seem to take the META TITLE tag from the main H1 title in the copy (from what I can see).

I want this facility as this is because the META TITLE tag can be search engine friendly whilst the main H1 title can stay human friendly.

Thanks!

(I posted this originally in the pre-installation forum, but there's questions there that haven't been answered for 3 weeks, and one that's languishing without a reply for 6 weeks)

How to Display a List of Blogs (Blog Titles only) in a Block

I've been trying to figure out how to do this with no success. What I would like to do is to provide a list of blogs (i.e., blog *titles*, not blog entries) in a block. It seems like the code (posted by mabster) can be tweaked to do this, but I can figure out what to change.

global $user;

if (user_access("access content")) {
  $blogs = "";

  $queryResult = db_query_range("SELECT n.uid, u.name, max(n.nid) FROM {node} n INNER JOIN {users} u ON u.uid = n.uid WHERE n.type = 'blog' AND n.status = 1 GROUP BY n.uid, u.name ORDER BY 3 DESC", 0, 3);

  while ($node = db_fetch_object($queryResult)) {
    $blogs .= l(t("<h3>%username</h3>", array("%username" => $node->name)), "blog/$node->uid", array("title" => t("Read %username's latest blog entries.", array("%username" => $node->name))))
      . node_title_list(db_query_range("SELECT n.title, n.nid FROM {node} n WHERE n.type = 'blog' AND n.status = 1 AND n.uid = " . $node->uid . " ORDER BY n.nid DESC", 0, 3));
  }

  return $blogs
      . "
". l(t("more"), "blog", array("title" => t("Read the latest blog entries."))) ."
"; }

I would appreciate any suggestions on modifications to accomplish this. Thx,

Donovan.

Clickable thumbs, non-clickable thumbs, and images

Hello everyone,
I have just used code from http://drupal.org/node/view/5508. Works great. I have a question about the thumbs in the image gallery. If I understand things correctly, it seems that when you place an image in the gallery you actually have THREE images to deal with. The original image, a non-clickable thumb, and a clickable thumb. The 1)original photo is directly linked from the 2)clickable thumb in the gallery. However, you still have the 3)node non-clickable thumb. The code:

Taxonomy Terms & Images

Hi,

is it possible to associate somehow a picture with a taxonomy term? For example image would be shown next to each story on the main page.

Thanks.

weblink counting stopped

It is strange but i`d noticed not long ago, that weblink module posts incorrect count of link clicks under anonymous user visit.
When i`m authorizing - links clicks a counting good, when i`m logging out - links counting is stoping and showing bad numbers (even zero instead of 124 for example).
Truth is out there?

p.s.
I`m using Drupal 4.2cvs,& please don`t tell mt to upgrade - i`m doing it now:)

Is it possible using CSS?

Hello everyone,

Pages

Subscribe with RSS Subscribe to RSS - General discussion