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

Cannot insert image - Sometimes crashed Firefox

Hello,

I am working on a hosted environment adding content to a site I do not administer so please excuse if I don't have all the details. When I try to insert an image into a Page I create within Drupal the popup window appears and lets me enter in the image path and details but then when I go to click OK it just sits there and does nothing.

This has been tested on Win32 with Firefox 1.5.0.1 and Ie 6.x all fully patched also I tried on my Ubuntu and Debian boxes with the same result. =( Anyone have any ideas as to why this might not be working?

$content in page.tpl.php

Even more questions!
In page.tpl.php there is a line:

print $content

in my case i am modifiying forums, so i would like to slightly change the layout ( all i want to do is have the link that says "Post new forum topic" at the top of the content ) .

is this themeable? node.tpl.php does not deal with this, and i've already modified the forum themeing functions as well , they did not reach that area either. How can i access the "content" string in page.tpl.php

Menus not expanding when pages clicked

I have Drupal 4.6.5 running and I use hand-built menus to navigate part of my site.

The menu hierarchy works like this:


  • Main Navigation

    • About Us

      • About our Foundation
      • History of our Foundation

    • Projects
      • Past Projects
      • Future Projects

xtemplate_comment - show avg score / # of users

Below is a the part I've edited from function xtemplate_comment to get:

a) the 'average comment moderation vote total' each comment has received

AND

b) the total number of votes each comment has received to show up at the end of the "submitted by" statement which gets printed out on all comments.

The good news is that the comment vote average is showing up wonderfully, the bad news is that for the life of me I can't get the "number of users who voted" on the comment to show up next to it (it always just displays "1" no matter if the comment has 0, 1, 2, 3 or more votes).

Basically, I know that the information I want to show involves the "users" field from the "comments" table in the database and that "users" itself is serialized, arrayed, etc. Beyond that, I'm over my head at this point and have tried to get this to work for many hours...

function xtemplate_comment($comment, $links = 0) {
  global $xtemplate;
$users = unserialize($comment->users);
  $xtemplate->template->assign(array (
    "new"          => t("new"),
    "submitted" => t("Submitted by %a on %b    (%c/%d)",
     array("%a" => format_name($comment),
              "%b" => format_date($comment->timestamp),
              "%c" => format_score($comment->score),
	      "%d" => count(format_commenttotal($comment->users - 1)))),

Move muli-site-setup

I've a site created on my testing server which I now want to move to the real server. The problem is that the site is configured as a mulit-site on my testing server and therefor using one foldername and when moving it to the real server, also configured as multi, I have to use anoter folder name. So when exporting the database (I guess) the paths to the site doesn't match when using it on the real-server site. Is there a way to solve this problem without re-building the site?

Is "Send me a copy" not working in the feedback module? I can't believe...

I can't believe.....

Contact: You can leave a message using the contact form below.
Your name:*, Your e-mail address:*, Subject:* , Message:*

:-(
However dont work the basic feature
Send me a copy.

This is a really pitty and disconcerting in the feedback module.

What was the last version that it work?

It is really not working in Drupal 4.7 B4 version?

Ferran

Pages

Subscribe with RSS Subscribe to RSS - Post installation