drupal-6

How to Remove the More Info Link from RSS Feeds in Drupal 6

I need to remove the "more info" link from feeds. It appears that the link is added to the content in place of the break tag, but I see no option to disable this substitution for RSS feeds only. I am generating the feeds using a feed display in a view. Can anyone tell me how I can remove the "more info" link? Thanks. ...

What should I check for when I cannot upload files into filefield CCK fields?

I have recently moved a drupal site. (both servers run on a debian based LAMP stack) Everything works great here, including the uploading of images via a CCK filefield. Original url: dev.example.com/foo Deploying it to a test folder on the production server to a test folder for an environmental shakedown cruise lead it here: www...

How do I hide Drupal nodes that shouldn't be directly accessed from users and search engines

I have seen many somewhat similar questions, but nothing quite what I'm looking for. So at the risk of being told this is a duplicate... here it goes. I've found that there are times I have a node that simply contains content that will be displayed somewhere else, but shouldn't be viewed directly. That is, no one should ever go to node/...

Drupal: load the pages only when the page scrolls down

hi, is there a plugin for Drupal to load images as the user scrolls down the page. Such as: mashable.com ? thanks ...

Drupal: is there a marker for the cropping functionality ?

hi, is there any way to add a visual marker for cropping using the cropping field in Drupal ? (I'm using Imagefield Crop module) Something like this: http://www.scrappintwins.com/zencart/images/large/cindy_minear_tile_overlay_s.jpg on top of the uploaded image ready to be cropped by the dragging area. thanks ...

How do I get a user's profile path in Drupal?

How do I get a user's profile path in Drupal based on the author of the current node? <?php print t('Posted on !date by !username', array('!username' => theme('username', $node), '!date' => format_date($node->created,'custom','m.d.y'))); ?> The above gets me the right url, but that's all i want... the url. ...

Clean URL's not working, mod_rewrite module installed

I just installed a fresh copy of Drupal 6.19 to get to speed on how to write modules. But for some reason the rewrite module isn't working for Drupal. What I have checked: $ apachectl -M >> it is installed php_info() on current server >> says rewrite is installed also I also double-checked the .htaccess file in my Drupal root folde...

how to render from multisite

i have two drupal websites ,name it web1 and web2 ,containing different data,now i want to create a common home page for these two websites ,such that if i make any update in web1 its shown in the homepage and web1 only,only the members of web1 can edit its content same with web2 ...

Help needed with mod_rewrite and htaccess for Drupal

I want to enable .htaccess files on my server in order to use "clean_url" functionality in Drupal. This is what I've done so far: sudo a2enmod rewrite sudo /etc/init.d/apache2 restart cd /etc/apache2/mods-enabled grep mod_rewrite * In phpinfo() results I can see: mod_rewrite, so I guess the module is enabled. I've added a htaccess f...

How should I add Drupal to the usersgroup with full privilegies ?

hi, I want to change the owner of my files directory on Drupal, but.. what's the Drupal user ? I currently only have 1 user in my unix system, who is the one who moved the files. Drupal complains it cannot edit them. How can I add Drupal to the usersgroup with full writing access ? chown... thanks ...

Drupal: GD Image Filtering Low Quality / Poor > Performance

I'm getting this message in my Drupal installation: GD Image Filtering Low Quality / Poor Performance The installed version of PHP GD does not support image filtering(desaturate, blur, negate, etc). It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled...

Can I install Drupal on a server with 256MB ram ?

Can I install Drupal on a server with 256MB ram ? If yes, how many Drupal websites ? The server is supposed to only run such websites. ...

How to have a region inside a druapl form

I am trying to modify drupal comment form so that just above the the form I can show a regions and add more blocks to that region (say some promotional banners). I am doing this in template.php I have a working themename_comment_form function and can set $form['intro']['#value'] to the value I want. I also know how to create a new reg...

Drupal: Accessing decedent files

Here I am working on two instances of drupal. One that is lighter (with out any additional modules) for development and test. The other instance is a fully working site that I am maintaining. The notable different between these two instances is. For 1st instance: I can browser and view files (like css/js) in browser those are located un...

How can I unset css files in Drupal 6 ?

How can I unset css files in Drupal 6 ? i.e. I want to unset default.css system.css and system-menu.css thanks ...

Drupal: imageField Crop: Suggest initial cropping ?

Can I initialize the cropping area (In order to suggest a default one), with the Imagecrop module ? I want my users to crop images in the same way... thanks Update: code lines in imagefield_crom.js setSelect: [ parseInt($(".edit-image-crop-x", widget).val()), parseInt($(".edit-image-crop-y", widget).val()), ...

A link for previous page in current page

I was trying to display a link in a page which will point to previous page the user has visited in drupal . Previously i was using sessions echo $_SESSION['back'] $_SESSION['back']=htmlentities($_SERVER['REQUEST_URI']); This worked fine, but i was told to use variable_get and set in drupal and not to use sessions So i did this globa...

ImageCache not working in Drupal

For some reason the ImageCache module doesn't work. Drupal just doesn't generate the ImageCache subfolders and image files. The user www-data is the owner of the folder imagecache, I also have set 777 permissions, just to be sure that it is not an issue. The point is that ImageCache was working on the previous server. Is maybe a serve...

How to render block programmatically with standard theme

Hello I know how to get block data by module_invoke(), but how to use standard block theme for rendering it. I tried to use theme() function but with no success. Could somebody give me advice? Regards ...

Drupal Taxonomy Block, Vocabulary Listing

I looking for the best way to implement a block that lists all terms of a certain vocabulary. Each term should link to page that lists all nodes associated with that term. Any help would be greatly appreciated. Thanks! ...