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

merging fieldsets CCK, Ecommerce, Hook_Form_Alters

I have an ecommerce site where I've installed CCK to add a number of fields to the tangible product.

I'd like to group the fields on the edit page into some logical groupings. Keeping inventory mgmt together, keeping product editorial together that sort of thing.

The trouble is the fields are not all in the same function. For instance, I have catalog settings in CCK, and price/qty in ecommerce which is a form_alter to the product page in the tangible module.

List of modules not ported yet to 5.x

Does anybody know if a list of the modules in 4.6, 4.7, 5 version exists and if a list of orphans project exists ?

Thanks

Thierry

How to get category listing in image_gallery module

Hi all,

how can i show category listing on a page while i using image_gallery module? I just want to show category listing with title and one random image

thanks,

taxonomy_menu into keyword albums: using drupal taxonomy to display gallery2

Hi-

I am trying to figure out the best way to oragnize my Gallery 2 by catergories. I have thought about using the custom fields in Gallery2 and then calling those from Drupal, but I think the quickest would be to use the Gallery2 keyword albums.

I was hacking at the taxonomy menu module and figured out a way to display keyword albums using Drupal's taxonomy:

taxonomy_menu:

  $access = user_access('access content');

    foreach (taxonomy_get_vocabularies() as $vocabulary) {
      if (variable_get('taxonomy_menu_show_'. $vocabulary->vid, 1)) {
        $path = 'taxonomy_menu/'. $vocabulary->vid;
        $items[] = array('path' => $path, 'title' => t($vocabulary->name),
          'callback' => 'taxonomy_menu_page', 'access' => $access,
          'weight' => $vocabulary->weight);

I changed that to:

$access = user_access('access content');

foreach (taxonomy_get_vocabularies() as $vocabulary) {
      if (variable_get('g2Keyword_menu_show_'. $vocabulary->vid, 1)) {
        $path = 'http://localhost/main/?q=gallery&g2_view=keyalbum.KeywordAlbum&g2_keyword='. $vocabulary->name;
        $items[] = array('path' => $path, 'title' => t($vocabulary->name),
          'callback' => 'g2Keyword_menu_page', 'access' => $access,
          'weight' => $vocabulary->weight);

Using Gallery2 without embedding

Hi,

I want to use the Gallery2 module to have access to the imageblock, statistics etc. and to sync users. But I want Gallery2 to open externally, not embedded, because it is destroying my template.

Is there any option I missed? I also tried to change the paths in the module files, but I cant't find the place where they are created.

Problem selecting comments from alternative database

I have a small module for Drupal 4.7 that gets a list of latest comments from a different Drupal 5.0 database (db2) on the server and puts the in a block. The query code is given below. The second Drupal 5 installation shares users, sessions, role, authmap and sequences tables with the 4.7 installation.

Pages

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