This forum is for less technical discussions about the Drupal project, not for support questions.

Overriding a module method question

I would like to add target="_blank" to the aggregator.module's theme_aggregator_block_item($item, $feed = 0), where is the best place to put this code?

Thanks

How To: Use the Google Map API in a node without a module.

In case anyone else is looking to do this: Once you sign up for Google Maps and get a key, you might wonder how to put a map in a node without having to put the load() and GUnload() functions in the body tag. The following code shows the method I used. Just be sure to have a lax filter so that no tags are scrapped.

** Warning: This method will probably cause problems on pages that aggregate more than one node on a page, since the javascript might be loaded more than once.**

function applyst() { load(); if( window.XTRonload ) { window.XTRonload(); } } function savest() { GUnload(); if( window.XTRonunload ) { window.XTRonunload(); } } //load handling adapted from //http://www.brothercake.com/site/resources/scripts/onload/ if( window.addEventListener ) { window.addEventListener( 'load', applyst, false ); window.addEventListener( 'unload', savest, false ); } else if( document.addEventListener ) { document.addEventListener('load' , applyst, false ); document.addEventListener( 'unload', savest, false ); } else if( window.attachEvent ) { window.attachEvent( 'onload', applyst ); window.attachEvent( 'onunload', savest ); } else { if( window.onload ) { window.XTRonload = window.onload; }

Is drupal right for me?

Hi,
I'm looking into various CMS systems, wanting to learn one to use as a back end for sites I set up for my clients. Currently I mainly use WordPress, even though It's mainly a blogging tool, I like it cause it's very flexible, but some sites just need more.

Here's what I'm looking for:
- Flexible presentation (in other words, pure PHP, not just some predefined tags)
- Extensible, availability of extensions and modules.
- Advanced and flexible user system
- Easy to use admin panel (in other words, not like Mambo ;))

Overiding taxonomy_block teaser with superteaser

I've been trying to tweak the teaser for taxonomy block using superteaser but it seems not to work. I keep getting broken words and teaser length for different node entries are so different for each node entry inside the taxonomy_block. any ideas on how to make it work or any workaround? tnx

Do you think this is drupal?

Hi

I have been looking at different community based sites to seek inspiration for my own and was wondering if those in the know think that this is a drupal site http://realtravel.com. The reason I ask is when I look at the source code it seems to use drupal language such as block and container in it's style descriptions. Any thoughts appreciated.

Cheers
Julie

Integrating into Drupal?

Hey everyone, I have the following PHP script to retrieve album covers. I have a form on my Drupal site in which people are asked to input album names, and another for the artist. The question is, how can I incorporate this script to automatically retrieve the album cover and display it on the node page when its submitted?

http://www.avantlumiere.com/svn/i7AWF/trunk/i7AWF.php

Pages

Subscribe with RSS Subscribe to RSS - General discussion