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

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

looking for a module

Hello everyone, please excuse me if I posted this in the wrong section. I'm new to Drupal, and I'm trying to convert a HTML layout to a drupal theme. All is going well, but I am looking for a module, I hope you can help me. In the right sidebar I need a block with "what our customers say". It should list, using my own provided template, some entries consisting of Author, author link, and quote. I need this to be very idiot-friendly, so in the administration section I just need to use a three-input form, with the fiels I mentioned above.

Pages

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