This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Adjusting inline code for (img_assist).. Mod caching issue?

I'm using drupal 4.6 with a modified Friendselectric theme. With img_assist, when i specify left or right alignment, it places the image in the expected place, but it places it with the *rest* of the page wrapping around it. What this means is that if i insert an image into an article that is only a few lines long, on the page that lists the stories, you'll have stories 2,3,4 all wrapping around the image, destroying the entire layout.

Here's a sketchy diagram to display what i mean :
The image below (as #) belongs only to story one, and should not have story 2 anywhere near it, but this is the result)

Story 1 : The image i took :
|####| This was taken from a camera!
|####|
|####| Story 2 : Damn wrapping issues!
|####| that gets wrapped up with story 1's image
and then it causes the bottom to finnally hit a new line

Story 3 : starts where it should be on a new line by itself.
This is story 3's content.

So i figured a duct-tape fix would be to simply disable the alignment feature, and just allow the image to sit on the page (not floated, or wrapped). I did this by deleting the

, uploaded.. and go no result.

Everytime i modify the code.. i get no results. I adjust the code, upload, exact same outputted source. I delete the content of the entire module.. and it stops working (as it should), which lets me know im working with the right file. Make my changes, upload and not a single change. I deleted the entire image output function and no change either.

How to modify the value of $node->body?

Hi! I'm creating a module for faqs. I was thinking that it would be easy to store the data in the node table by making the body look like:

<question>....</question><answer>...</answer>

I would then have two separate entry blocks, and when the data is saved to the database, I would modify the body to properly format the data. I've written most of the stuff, but how do I tell Drupal what $node->body should be? hook_insert/_update don't have a modifiable $node passed to them (and the body field may already have been written?).

Thanks,
Ricky

Moderation system integration with OrganicGroups

The DigitalBicycle Project is working to develop a Drupal module that would allow site-wide moderation of content in a uniform and transparent manner. We define moderation as the process of granting or removing access to nodes, rather than of promoting or demoting content to positions of attention or obscurity. We are currently developing a moderately sized (several thousand user) community hub with extensive Groups functionality.

Please make note that the following is not a spec. Rather this is a collection of ideas that our developers have come up with and are making available in order to elicit feedback from the community. We hope that this will help ensure that the development of a moderation module benefits more than just the DigitalBicycle. We have not yet determined whether development will take place in house or be sponsored, but any ideas or support would be greatly appreciated.

We would like this module to have the following attributes:

Extensibility:
The workflow.module exemplifies the level of extensibility we require in order to fine tune moderation to different situations. Workflow.module works in concert with actions.module and enables:
- powerful creation and customization of actions
- arbitrary creation of moderation actions (publish, unpublish, send emails, interaction with custom modules such as file sharing, a points system or custom featured content)

Form_Select, multiple selections

Does anyone have an example of using a select box (form_select), multiselect enabled in a module? Beyond the obvious of setting the argument to true, how do you specify the selected values, and how do you access them from other hooks? An example would show all of this, but I can't seem to find one.
I give you thanks in advance, -Rob

Problem with latest release of Flexinode module

I tried to downmload latest release of Flexinode module from here: http://drupal.org/files/projects/flexinode-4.7.0.tar.gz But looks like the archive contains only one license file.

Project module assigning

I am using the project module and i would like it to behave differently concerning assigning issues.

When you want to assign an issue, the dropdown menu only provides "unassigned" and current user name (if no one is assigned, or if the current user is assigned), or it provides current assignee name, and the current user name (if somebody other than current user is assigned to that issue).

Is there possibly a way to assign more than one person to the same issue? how can i limit the dropdown menu options to users who belong to a certain role?

thanx

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions