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

display the "full node" in "teaser view" for specific content type

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

Extra fields for terms?

Is there anything that's like Flexinode for terms, or the node_example.module for terms?

I want to add some extra text fields to describe the terms, but don't know how to best do that.

Block Visibility by Node Type AND on <Front>

Hi,

I've seen the code snippets to display a block based on type of node (say story or book). However, what if I want to show a block on the home page as well (<front>). I couldn't find a PHP sample for that anywhere.

Anyone know how to do that? What I'd like to have is a menu block that has a list of "User Guides" which will be books. I'd like that to be displayed on the home page (right side), AND also displayed as any book page is displayed. But I would want it to go away when other node types such as Story are displayed.

Thanks,

Peter

Using an XML File Need Help?

I hope what I'm trying to do is a common thing with an easy fix... but I doubt it lol.

I have an XML file which is a datafeed from a retailer that is located on an ftp server i have access to.

Simply put... I want that xml file to be a node in my webpage.

Anyone with ideas???

Thanks in advance

Frank

Hiding page edit form fields?

I need to hide some of the fields that appear when a user edits a page in drupal. This is to prevent certain drupal user roles in my system from seeing certain fields and to supply values for those fields programatically. For example, I'd like to have the the parent and weight fields be hidden fields instead of actually appearing on the edit page. I've looked at doing this brute force by modifying the content variable on-the-fly via PHP in the theme templates, but that seems rather clumsy - like I'm fighting drupal rather than working with it. Is there a better way to do this?

Please test this module

Hi All,

This is my first module. It is meant to record tutorials between tutor's and students, but it could be used for employee evaluations etc. The module is pretty well finished, BUT there is a flaw with it, as soon as I enable it on the modules page then (og) group members are denied access to their group pages - this is without creating a tutorial node. As soon as I disable the module then group access is restored. I have fought with this problem for the last couple of days and I've no idea what could be causing it.

Pages

Subscribe with RSS Subscribe to RSS - Post installation