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

Is there a way to update an image file in a node populated by acidfree and the filemanager?

Hi there.

I've been using acidfree and really like it. However, there are times when I would like to update an existing node with a newer image. I've found no UI through acidfree or the file manager to do this, and because the file manager is run as user 'apache' I am not able to log in via FTP and update the files directly. Suggestions? Thank you.

Migrating two _phptemplate_variables functions

My current template.php is

<?php

function _phptemplate_variables($hook, $vars) {

  $variables = array();

  if ($hook == 'node') {

    if (module_exist('taxonomy')) {

      foreach (taxonomy_get_vocabularies($vars['node']->type) as $vid=>$vocab) {

        foreach (taxonomy_node_get_terms_by_vocabulary($vars['node']->nid, $vid) as $term) {

          if ($vocab->tags) {

            $tag_links[] = l($term->name, taxonomy_term_path($term), array('rel' => 'tag', 'title' => $term->description));

          }

          else {

            $term_links[] = l($term->name, taxonomy_term_path($term), array('rel' => 'tag', 'title' => $term->description));
$hangikaredensin = $term->name;
          }

        }

      }

    }

    else {

      $term_links = array();

      $tag_links = array();

    }
    $variables['terms'] = theme('links', $term_links);
    $variables['hangikaredensin'] = $hangikaredensin;
    $variables['tags']  = theme('links', $tag_links);
  }
  return $variables;
}
?>

and I need to use these codes to show links with vote_story_link <?php
// $Id: template.php,v 1.4 2006/08/02 11:18:12 frjo Exp $

function _phptemplate_variables($hook, $vars) {
switch($hook) {
case 'node':
$vars['storylink_url'] = check_url($vars['node']->vote_storylink_url);
if (arg(1) != 'add' && arg(1) != 'edit') {

CSS breaking page in IE7

Hi,

We have been using Drupal 4.6.3 for almost a year now to host http://www.mariposaHD.tv (the world's first HDTV show for the Internet) and everything has been working great.

However, recently several users who use Internet Explorer 7 have sent us word that the pages don't render correctly with IE7. I know for a fact that the page looks fine with all recent versions of IE6, Firefox, Safari, Opera, etc. with screen resolutions of 1024 and above. I, however, don't use IE7 yet so I'm having a difficult time diagnosing if the page is actually broken in IE7 and, if so, why?

I suspect, if there is a problem, that is is CSS related.

If you are a CSS expert (we are not) and use IE7, could you:

1.) fire up our page http://www.mariposaHD.tv and let us know if it looks like it's rendering correctly?

2.) take a look at our CSS file http://www.mariposahd.tv/themes/mariposa/style.css and let me know what I need to fix to get the page rendering correctly in IE7 ?

We are using a very slightly hacked up version of Steve Wittens' FriendsElectric template http://drupal.org/project/friendselectric that was included with Drupal 4.6.3.

Many thanks for your help. You will be rewarded with many free high-resolution photos and high-definition videos of beautiful South American swimsuit models for your troubles! ;-)

--mariposaHD
The world's first HDTV show for the Internet

TinyMCE and Image

I am trying DRUPAL on a local installation before running a site.
I installed TinyMCE, Image_assist and Image. After some search ant trying, it works : I have the little camara and I can insert an image from my computer in a page or in a story.
But ... I have also more that I want ... For each Image I attached to a node, I create a image node. I can also create a Image node witout using TinyMCE.
If I delete the unexpected node, I remove the image and the link to this image in the node is broken.

Organic groups - need some advice on whether i'm doing this properly

OK i have organic groups installed on a test server and all seems to work well. We set up the module in the Admin area with the following options :-

Admin
enable access control : enabled

Groups directory control:
Group creator chooses whether her group appears in the directory. Defaults to in directory. : enabled

Registration form control:
Group creator chooses whether her group appears on the registration form. Defaults to not on form.: enabled

Group email notifications:
New group members are never subscribed to email notifications by default. Users may choose to enable this for themselves on their my subscription page. :Enabled

Visibility of posts:
Visibility chosen by author/editor using a checkbox on the posting form. Checkbox defaults to Public.: enabled
Audience required: : optional

Group home page
Presentation style:

Group by content type: enabled
Maximum posts on group home page: 10
Group home page node types: group

We then created a new group called Womeneverything appeared to work perfectly. Creating a forum message in the normal way worked as it should, creating one in the group only displayed there (again as it should, perfect.

However adding a non admin to the group showed some issues and i'm sure its down to setup somewhere.
When the member posted a message to a public forum he / she could no longer see her message. Posting a forum message to the group forum option works as it should.

Need Some Help with Including a Dynamic File

I'm running a toplist script (Aardvark Toplist PHP) at http://comixpedia.net and the script creates a nice little mini-list - http://comixpedia.net/ssi.php - that I'd like to include in a block at Comixpedia.com. Comixpedia.com is powered by Drupal.

Pages

Subscribe with RSS Subscribe to RSS - Post installation