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

Duplicate entry error in term_node when editing flexinode

I searched high and low trying to figure out what the problem is here, nearly every forum topic and bug report I found was in regard to upgrading either the database or to 4.7, neither of which I have done.

I have been running Drupal 4.6 for a number of months now and have two flexinodes types that I use regularly. At some point yesterday when I edited an existing node created with flexinode I received this error when submitting the changes:

user error: Duplicate entry '37-2664' for key 1
query: INSERT INTO term_node (nid, tid) VALUES (2664, 37) in /home/XXX/drupal/includes/database.mysql.inc on line 66.

warning: Cannot modify header information - headers already sent

The edits are taking, but I am continually getting this error rather than being redirected to the edited node. This issue is not occuring with other data types, like a blog entry or recipe, but seems to now be a problem editing any existing node created with flexinode. Initial creation is error free. I checked the database and found three issues:

in 'node' table More than one INDEX key was created for column `status`
in 'nodevote' table PRIMARY and INDEX keys should not both be set for column `uid`
in 'term_node' table PRIMAY and INDEX keys should not both be set for column `tid`

I ran a repair on these tables through phpmyadmin to no avail.

I don't know very much about drupal or SQL to be mucking around with these entries, and I'm very concerned as to how this happened being that the most I've done to the site in the last couple of days is edit and play with themes.

Need same content replicated in different nodes

I'm creating a Drupal book (from an actual paper book of policies, etc.). This book will need to be browseable in the Drupal book structure, but we also need content from this book displayed in other portions of the Web site where relevant.

Of course, I could copy and paste, but that doesn't leverage technology to reduce errors in consistancy. I want to be able to update the content in a single location and have the updates reflected through-out the site.

Surely there's a way to include the content from another node with a bit of PHP?

Advice for charity site: data structure, access control, multiple contacts per organisation

Hello, this is my first posting here. I've played around with Drupal a little but now need to use it in earnest for a voluntary sector website. I'd appreciate advice on the overall approach and data structure for this site, and particularly how to meet the requirements for access control and multiple contacts & functions per organisation.

Outline of requirements

  • The site centres around Organisations. Each Organisation has basic details (address, etc) plus further details depending on its Functions (Training, Consultancy etc). There will be a set of extra fields for Trainers, a different set of extra fields for Consultants, etc; these will be quite complex, including both free text and structured categorisation of e.g. specialisations and communities served.
  • An Organisation may have multiple Functions (e.g. be both a Trainer and a Consultant).
  • An Organisation may have multiple Contacts.
  • Organisations will be able to log in and edit their own, and only their own, details, including: address etc, their Contacts, plus full details of each of their Functions (e.g. their specialisations as Trainers).
  • Some Organisations will be Members. There will be extra fields for Members.
  • Site content will be assigned to one of 3 levels of read access: public, Members-only, intranet.

Data structure - I'm not sure how to achieve the required structure of Organisations, Functions and Contacts with Drupal. I'm guessing that I would use something like Flexinode or CCK to create custom node types for Organisation, Trainer, Consultant, Contact, Member etc. How would I then achieve such relationships as a particular Organisation being both a Trainer and a Consultant, as well as a Member, and with multiple Contacts? The following modules look as though they might be relevant: Category, CiviCRM, Clipper, Node Relativity, Relationship. Advice appreciated!

Anyone knows a Chat module that allows unlimited rooms and webcam broadcasts?

I am creating a website that is ment for a very big comunity and socialising. I actually found all the modules I think I need, except for the chat.

I need to know if such a module exist, and if so were can I get it from. If not, then how would you approach the problam.

Menus Not Ajax-ified?

Gang,

I see that the sections within settings pages in 4.7 are now able to collapse and open without re-draw.

I was hoping there would be the possibility with the menu tree for that same thing.

I still just see the one choice -- to have items with children permanently expanded or not.
(e.g. admin/menu/item/edit/5)

Am I missing something?

Shai

Views module: Menu as tabs

I am trying to figure out the "menu as tabs" feature in the Views module.

I am trying to get this page (the 'welcome' page)
http://bohomoto.com/testsite2/node/1

and this page (the 'trip description' page)
http://bohomoto.com/testsite2/node/3

on the same page in tabs.

Pages

Subscribe with RSS Subscribe to RSS - Post installation