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

display "full node view" in "teaser view" for specific content types

Thanks in advance for any help on this.

I'm looking for a way using node.tpl.php to display the "full node" in (what I think is) "teaser view" if content type is equal to "page."

I tried:

<?php if ($page == 0 && $node->type=='page') { ?>
<div class="node"><?php print $node?></div>

but instead of displaying the node, i just got the node's id.

Any suggestions?

Thanks again,
Scott

Notify Module: Error when trying to send the notifications

Hello everyone,

I always get the following error message, when I try to send notifications to my users (taken from the log):

Adresse	http://forum.session-online.info/?q=admin/user/notify
Referrer	http://forum.session-online.info/
Nachricht	Error sending email: Language string failed to load: from_failedOsterknast From: Osterknast To: ....

The message right next to this is always:

Get logged out, having with/without “www” problem

If a user logs in with mySite.com, then clicks on a link that is www.MySite.com/whatever, then the user is logged out because the user logged in without a “www”, so since they clicked on a link with a “www”, then drupal treats this a reason to log them out, as if they are a different user.

Internal server error

Hello,
I'm in senegal and just one year I'm traing to work drupal.
I install a druapl in the root directory some months ago. Today I try to install another drupal in a /synerapuntes
When I write a new page and I post it I lose de root directory.
Now When I want to see the site I can't and I see this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

php include URL vs path/filename--issues

I'm trying to include a php file. I want it to appear in the content portion for that page.

If I do this:

<?php
require_once('includes/mycommon.inc');
$hostname = get_drupal_host();
$send = "http://".$hostname."/SuperAdminFunctions/AdminCreate.php";
include($send);
?>

It shows/calls the included file in the content portion of the page, exactly as I'd expect. The problem is that this included file does not appear to have access to my posted variables.

If I do this:

Image upload node can't move file, was working before: "files could not be copied"

when I first set up Drupal and the image module it worked really well. I was able to upload without a problem. However, I have been adding modules and fiddling around, and now it doesn't work. When I submit an image node, it churns away for a bit and then pops back an error saying
"The selected file /hermes/web05/b650/pow.hongpong/drupal-test/htdocs/files could not be copied.". Oddly, it creates a zero-length file named either 'file', 'file_1' file_2 etc in the proper ultimate image destination folder each time i try, sequentially. i've tried clearing these but they come back.

At the moment I have these modules active:

aggregator, blog, collapsiblock, comment, devel, devel_node_access, embedfilter, help, image, image_attach, image_gallery, img_assist, jstools, menu, page, panels, path, poll, profile, service_links, statistics, story, tagadelic, taxonomy, throttle, upload, video, video_customfields, video_image, video_multidownload, video_optmetadata, video_params, video_upload, views, views_theme_wizard, and views_ui .

I have hosting on PowWeb (shared box), and I suspect this might be a problem with permissions, but I made sure that /files has 777 and /files/images, /files/images/temp as well. I thought maybe there was some htaccess URL rewrite glitch since I activated that (with standard file) after I got image upload working, but i can't find anything related to that in htaccess. Possibly i should try changing the group owner to the web server, but 777 ought not to make that a problem. It is running on a subdomain.

Pages

Subscribe with RSS Subscribe to RSS - Post installation