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

private attachments and public images?

Hi,

I want to have password protected files on my site that only authenticated users can see. So I set the file system download method to 'private' and put the files directory somewhere outside the public www root. This is to prevent unauthenticated users from accessing protected files by guessing their correct url.

Form Choice?

Hi,

I am sort of in a unique situation, and was hoping you can help me out.

I am using free tagging support for one of my containers, 'events'.

Using CCK I created a form to be able to add events, which users can use to do so as of right now.

My problem, is I have the users add an photo gallery as well, and assign the gallery to an event with the free tagging, so the event can be generated "on-the-fly".

Teaser not Working

Let me start this over.

I'm using the front_page module, as the main page has a slightly different theme than the rest.

On that page, there are EIGHT boxes. There's two boxes on the first row, three boxes on the second row, and three boxes on the third row. I created different node types for each subject, and each subject is to have their own box with their own teasers.

I created a template.php with:

<?php
/**
* Catch the phptheme_item_list function, and redirect through the template api
*/
function phptemplate_item_list($items = array(), $title = NULL) {
  // Pass to phptemplate, including translating the parameters to an associative array. The element names are the names that the variables
  // will be assigned within your template.
  return _phptemplate_callback('item_list', array('items' => $items, 'title' => $title));
}
?>

<?php
function format_node_columns($node) {
  return _phptemplate_callback('node_columns', array('node' => $node));
}
?>

And I created an item_list.tpl.php, but it has nothing in it. I'm confused about that one (Does anyone know if I need this file for my case, and am a little confused about template.php too. ?)

I used this snippet and put it in page.tpl.php:

<?php
$listlength="1";
$charlength="150";
$taxo_id = 1;
$content_type = 'story';
unset ($output);
$result1 = pager_query("SELECT n.title, n.nid, n.teaser, n.uid, n.created, u.name FROM {node} n INNER JOIN {users} u ON n.uid = u.uid INNER JOIN term_node ON n.nid = term_node.nid WHERE n.type = '$content_type' AND term_node.tid = $taxo_id AND n.status = 1 ORDER BY n.created DESC", $listlength);
while ($node = db_fetch_object($result1)) {
$output .= l($node->title, "node/$node->nid") . "

Managable web links

I've got a page of web links, but it's rather big and unweildy at the moment. You can see it at http://westburygp.co.uk/links/healthwebsites

It's broken down alphabetically but there's no way to jump to a particular letter. How do I set it so I can have the alphabet across the top and then when a user clicks on a letter it jumps to the corresponding section of the list?

How can I concatenate more nodes contents in another node?

I need to implement in drupal 4.6.8 the a shtml include files behavior.
In other words let's presume that I have four nodes :

Node 1: with content:
"Node 1 content"
Node 2: with content:
"Node 2 content"
Node 3: with content:
"Node 3 content"
Node 4: with content:
"Node 4 content"

What suplimentar module or php script in another Node 5 can I used for concatenate 4 nodes in - let's say node 5 with content:

Node 1 content
Node 2 content
Node 3 content
Node 4 content

New uploaded modules do not appear in Administer>Modules list

I am a new user. I have installed Drupal 4.7 and have started to configure it. I wanted to add the flexinode and feedback modules. I extracted the relevant files and installed them in separate folders in the modules directory following the instructions in the relevant Install files. I also checked the numeric values of the new files, and they are all 755. However, when I go to Administer>Modules, I cannot find the new modules in the list.

I have checked the forums and not found too much useful information. The information I did find did not resolve the problem.

Pages

Subscribe with RSS Subscribe to RSS - Post installation