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

Problem when editing a custom node

I am new to drupal but it looks like a great solution for my current project. Anyway I am working on a custom node. I created a custom node with a bunch of extra fields following a few tutorials I have found in the help. I have inserts working fine for the extra fields I created. The fields are placed in the table ok. My problem happens when I select the edit link on an entry. The default drupal fields title and body show up fine. However none of the custom nodes which I added to my table seem to pull up when going into edit mode. Below is my code. Any help would be appreciated.


<?php
function application_help($section) {
switch ($section) {
case 'admin/help#application':
$output = '

'. t('The application module is used to create an application listing type called applications. Applications are Web 2.0 Apps and have several fields that must be filled in. ') .'

';
$output .= '

'. t('The application administration interface allows for complex configuration. It provides a submission form, workflow, default view permission, default edit permission, permissions for permission, and attachments. Trackbacks can also be enabled.') .'

';
$output .= t('

You can

', array('%node-add-application' => url('node/add/application'), '%admin-settings-content-types-application' => url('admin/settings/content-types/application')));
$output .= '

'. t('For more information please read the configuration and customization handbook Application page.', array('%application' => 'http://drupal.org/handbook/modules/story/')) .'

Problem: node/add denied access

Hi all, first time here. I tried searching but could not find something exactly like this.

My problem, whenever I click 'create content', I get 2 full pages, one on top of the other. The top part says 'Access denied', with full header and footer, and I get a normal page of 'Create content' below it which is like a typical create content list, but has 'Access denied' as its title.

Strange thing is that it only appears on this page (node/add) and not on any other page. It is ok on node/add/book etc. No problem in actually adding nodes there.

If I added a 'access denied' page and used it in the settings, then the access denied page will appear instead but the content list still appears at the bottom.

It happens to authenticated user whom I've given full access control. Happens on any themes.

I've tried it on site and locally on XAMMP. Both I installed manually (uploaded drupal 4.7.2 content, and created the database using PHP-MyAdmin, no database prefix), so I wonder if there's any other step I've missed, considering the rest of the site is fully functional. I've tried it without any extra modules installed, but it still happened.

The log always state 'node/add denied access' and the info is this (mysite is just an example name):
Type access denied
Location http://mysite.com/?q=node/add
Referrer
Message node/add denied access.
Severity warning

I'm just confused.

PHP Snipped for front_page -- getting an error with MySQL

This is a modification of a PHP snippet that I found in one of the handbooks. I want it to list the 4 most recent titles, decending. The error happens when I add the ORDER BY node.created DESC. Is that a mistake?

database error - any ideas?

hey there.

i'm getting this database error on my administer page:

user warning: Got error 28 from table handler query: SELECT w.*, u.name, u.uid FROM watchdog w INNER JOIN users u ON w.uid = u.uid ORDER BY w.wid DESC LIMIT 0, 50 in /www/drupal/includes/database.mysql.inc on line 120.

the page displays no log messages, only the error.

external "user" access

Hi Everyone.

I would like to authenticate external users (customers) through an existing SQL database... however; I do not want them to become 'users' in drupal. Drupal users will be restricted to admins and content managers (internal employees).

The catch is that I need to keep node access and file access secure to certain customers, based on pre-defined access levels. (available through external db)

Is this possible through the use of $_SESSION variables?

Drupal Features to support multiple communities

Hi,
I am new to Drupal. I just installed 4.7 (Fantastico auto install)

Now.... I want to use this as collaboration platform for multiple communities. For example, we have communities in all States. So, there will be a global portal that aggregates important information (news, events, special articles, forum posts, etc.) from individual community portals. Preferably I would like to have a single database to store all user data.

That means, if a user signs up in any portal, the information will be captured in a single location.

I guess I can summarize the features I want to implement using Drupal. Please let me know if I can do this; if so, how? any examples tutorials?

1. Multiple Drupal Sites with a single installation or multiple installations connected seamlessly to support a Global Portal, State level portals, City level Portal, and community level portals. Fundamental unit is Community portal. All others higher level portals show aggregate info from their sub portals.

2. Can we have custom fields added to initial site signup / Registration form?

3. Can we allow other users to own and maintain content (with suitable work flow - approval system)?
Can we have page level control or block level control?

4. Can we have web forms to collect different types of info? Can we make these just one record per user (like extended profile where each user can have multiple such profiles, like resume, volunteering skills, professional skills, etc.) How easy it is to create new forms?

Pages

Subscribe with RSS Subscribe to RSS - Post installation