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

newbie questions: access control, home page and recent posts

Hi,

I'm new to drupal, and I have some questions.

1.- I made an About us page, but anonymous users don't have access to it. I went to access control, and gave the node module access control to everybody, but still anonymous users can't see that page. Where else should I change access control so everyone can see my about page? I've been looking everywhere and nothing seems to change it.

Strange problem with Views Theme Wizard

Hi !
First, Merry christmas and best wishes to you :)

I have a strange problem with the Views Theme Wizard. I've created a new view and the wizard generates this code

TEMPLATE.PHP

/**
* views template to output a view.
* This code was generated by the views theming wizard
* Date: 25 December, 2006 - 18:41
* View: Discs
*
* This function goes in your template.php file
*/
function phptemplate_views_view_list_Discs($view, $nodes, $type) {
$fields = _views_get_fields();

$taken = array();

// Set up the fields in nicely named chunks.
foreach ($view->field as $id => $field) {
$field_name = $field['field'];
if (isset($taken[$field_name])) {
$field_name = $field['queryname'];
}
$taken[$field_name] = true;
$field_names[$id] = $field_name;
}

// Set up some variables that won't change.
$base_vars = array(
'view' => $view,
'view_type' => $type,
);

foreach ($nodes as $i => $node) {
$vars = $base_vars;
$vars['node'] = $node;
$vars['count'] = $i;
$vars['stripe'] = $i % 2 ? 'even' : 'odd';
foreach ($view->field as $id => $field) {
$name = $field_names[$id];
$vars[$name] = views_theme_field('views_handle_field', $field['queryname'], $fields, $field, $node, $view);
if (isset($field['label'])) {
$vars[$name . '_label'] = $field['label'];

Open_basedir errors with PHP 5.

I've had a few modules which have been kicking up a stink under php 5, namely (so far) pathauto and print (see here, across different releases of core.

Basically, I get a lot of "errors: open_basedir restriction in effect" kind of errors. I hunted around and found a fix that seems to work across the board with my current setup. Changing the way the include is performed seems to stop the errors.

disallow links in content

Hi, I would like to disallow posting links in a certain content type, or for a certain usergroup, how can this be done?
It looks like I can't do it through the input filter module.

JR

when creating content how to dynamically load taxonomy terms

Hi,
I have a website running on drupal 4.7.4 with lots of taxonomy terms
Now I want to implement a new section on classifieds on my site - however there are a few problems that I am facing and would greatly appreciate any help
1) Is there a way that an image added to a page also gets deleted automatically when the page gets deleted or unpublished - only specific to classifieds

How to modify blog post publish date?

I'm running a new install of 4.7 and am testing things out. The blog module automatically uses the current date and time for the post's settings; how can I manually set the date of a blog post? I want to be able to back-date a post.

TIA.

Pages

Subscribe with RSS Subscribe to RSS - Post installation