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

WYSIWYG editors (TinyMCE, widgEditor) deletes all text.

I have tried both wysiwyg editors, and they allow me to create the body of my page, and format it as I like. As soon as I click "submit" all the text dissappears in the view body. If I click edit, all the text I typed is gone!
I have created a new input format filter and named it "rich-text" and turned all filters off, but I just can't get the wysiwyg editor to 'save' my text. Please, any help would be very much appreciated!

www.qheac.com

Taxonomy Hide ported to 4.7.5

Hello community,

i ported the core functionality of 'taxonomy hide' to 4.7.5 (don't know if it's backward compatible, but it should). What is missing so far is the grouping function.


function taxonomy_hide_help($section) {
$output = '';
switch ($section) {
case 'admin/modules#description':
$output = t('An interface for manipulating with vocabulary term list in node view.');
break;
}
return $output;
}
function taxonomy_hide_settings() {
if (!module_exist('taxonomy')) {
$output = l(t('Taxonomy module not enabled'), 'admin/modules');
}
else {
$options = array();
$options[0] = t('None');
foreach (taxonomy_get_vocabularies() as $vid => $vocs) {
$options[$vid] = $vocs->name;
}
$form['taxonomy_hide'] = array(
'#type' => 'select',
'#multiple' => true,
'#title' => t('Select the vocabularies which are hidden from display in nodes'),
'#default_value' => variable_get('taxonomy_hide', array()),
'#options' => $options,
'#description' => t('Select the Vocabularies which terms should not show up in nodes.'),
);
}
return $form;
}
function taxonomy_hide_nodeapi(&$node, $op, $arg = 0, $arg2 = 0) {
if (!module_exist('taxonomy')) {
return;
}
switch ($op) {
case 'view':
$hidden = variable_get('taxonomy_hide', array());

IPBlink - Drupal to Invision Power Board link... nearly ready!

Hi all!

Just thought i'd post a little note letting people know that my first ever Drupal module (i've only recently started using Drupal), will soon be ready for upload!

Using the Drupal FUDforum module as inspiration, IPBlink allows users to log in to your Drupal site using an Invision Power Board database as the back end. Email and Password changes are automatically synced between the two, as are a few other additional custom fields.

Custom blocks for forum statistics, latest forum posts and online users are already working, with top x posters, latest downloads and a number of other blocks to follow shortly.

You can see the system up and running on my test area at http://www.MoDaCo.com/drupal - this is integrating with my www.MoDaCo.com back end. The system will also be up and running on my blog (http://www.PaulOBrien.net) in the near future.

A couple of things I want to fix before I make the first development release (and I don't actually know how I release a module?):

- Pass new user signups back from Drupal to IPB
- Only show recent topics from 'public' areas (currently shows from everywhere)
- Reset to 'validating' of IPB account when e-mail is changed

Other planned features before a 1.0 release

Event module webcal link

The Event module includes webcal:// links for downloading icals of events. This would be a useful feature, but the webcal URI isn't supported by all platforms. Does anyone have a solution for either (1) making the ical downloadable via http, or (2) stripping the links from the event display?

(It is also possible I am just thick and am missing something. If there is some other solution to making events downloadable as icals, that would of course be of interest, too.)

Thanks!

Acidfree for Drupal 5 update?

Now that Drupal 5 is out (hooray!) I was wondering if there were any updates for Acidfree coming out - the most recent was from about two months ago. I tried contacting the developer but haven't heard anything so far - so I'm wondering if someone else might know - or maybe he'll see the post here.

Thanks so much. I'm looking forward to moving a few of my installs over...

Extend CCK content type with a module - possible?

Hello!

Is it possible to extend CCK content types with custom modules that use the drupal hooks?
In my case I would like to add an item to the local tasks menu of my custom content type "persons".
I would like to write the module file content_persons.php containing the function content_persons_menu.
Is this possible? If not - how can I add a menu item to the local tasks of a custom content type?

Thanks,

Gabriel

Pages

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