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

Drupal update modules like Firefox updates extensions?

Has anyone considered a module, or written one of their own, that will, similar to the way Firefox does for extensions, check for updates to modules (either at a predefined interval or upon admin activation)?

It really is a pain, particularly when using many modules, to conduct periodic manual searches for updates to modules, followed by manually download and installation of those updates.

I can't be the only person who would love to see this functionality.

Gallery2 module

hi,

do i have to install the whole gallery2 or just add the gallery.module file to the module files? because i keep getting the error: "Unable to initialize embedded Gallery"

i dont know what im doing wrong

Serializing CCK node types

Is it possible to create a node of CCK components and then serialize it in some method for distribution?

I'm working on a module to provide data from CiviCRM. Many of the things I need in my module will be needed by other modules (e.g. selecting a CiviCRM group, user or profile). If I can write these up as CCK fields, others can take better advantage of my work.

I'd also like to create some default uses of these fields - pre compiled CCK content types.

Can I serialize them like I can with a view and implant them in static module code?

Thanks
-M

Improving Breadcrumbs with taxonomy_context

I'm looking to update the taxonomy_context module to have taxonomy based breadcrumbs link to designated nodes instead of taxonomy/term pages.

Background

I'm designing a hierarchical site and plan on making good use of the core taxonomy module, taxonomy_access, and taxonomy_context. taxonomy_context is especially useful for hierarchical sites because it:

  • Generates breadcrumbs based on taxonomy, and
  • Allows me to display a description of a term (or vocabulary) on taxonomy/term pages.

Proposal

I'd like update the taxonomy_context breadcrumb links to do more than display the term description along with the normal taxonomy/term pages. I want the breadcrumb links to land on an associated "homepage" node for each taxonomy term. I do not want to see the summary list of nodes that the taxonomy core module provides. For example, if I clicked on an "about" breadcrumb, it takes me to a page node I have associated with the "about" term, not the normal taxonomy/term page.

Replacing the radio buttons and checkboxes with custom images

Hi !
Could anybody help me with the creation of a new module to replace the radio buttons and checkboxes with custom images ?

I have the javascript ready to work but I don't know how to put it in a Drupal module. I've found this tutorial http://drupal.org/node/42544 but.... well I'm not so good with php :)

So here's the script

function chgCB(){
CHKB = document.getElementById('newCB').getElementsByTagName('input');
for(i=0; i < CHKB.length; i++){
if(CHKB[i].type == "checkbox"){
IMG = document.createElement('img');
CHKB[i].parentNode.insertBefore(IMG, CHKB[i]);
IMG.src = "radio0.gif";
if(CHKB[i].checked == true) IMG.src = "radion.gif";
if(CHKB[i].disabled == true) IMG.src = "radio.gif";
else{ // Changing state's behaviours are only applied if the box is clickable
CHKB[i].onchange = function(){
IMG = this.parentNode.getElementsByTagName('img')[0];
if(this.checked == true) IMG.src = 'radion.gif'
else IMG.src = 'radio0.gif'
}
if(!window.sidebar){
CHKB[i].parentNode.onclick = function(){
CHK = this.getElementsByTagName('input')[0];
CHK.checked = (CHK.checked == true) ? false : true;
CHK.onchange()
}
}
}
CHKB[i].style.visibility = 'hidden';
CHKB[i].style.position = 'absolute';

Where is the paypal_framework module?

I've looked in the modules directory list, but can't find it there. I've also Googled it and followed a link to this site which is now dead...Any ideas?

Pages

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