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

Avoid certain blocks to be cached

Hello, I apologize about my poor english.

I have a custom module which has various custom blocks. In that blocks I am showing content from a foreign database, among other thinks. The content of the blocks is not static so I want not to cache it.

In my site there is not posibility to register (except the admins) so the cache is working for all the visitors. I would like to avoid caching of blocks, but catch all the other content (nodes, articles, etc).

It is possible?

Thanks in advance

Digg Module

Does any one know how can I add this simple php code to Drupal. So it looks just like on digg.com. That code is for wordpress, but its pretty small code.

extract POST data from dynamic JavaScript input element

I'm attempting to submit a form via a function which dynamically creates a hidden input:


function submitLocation(theForm) {
var e = document.createElement('input');
e.setAttribute('type', 'hidden');
e.setAttribute('name', 'loc');
e.setAttribute('value', '1');
var f = document.getElementById(theForm);
f.appendChild(e);
document.forms[theForm].submit();
}

The function is called from an anchor's onclick event:

CivicRM new membership form missing radio buttons

Please help! I've been agonizing over this issue for a week. Any help would be greatly appreciated.

I'm runnining Drupal 4.7.3 with CivicRM 1.5 rev6706 (php4). Everything so far works perfectly save one little issue. When I create a contribution form for new/renewal memberships the section of the form that displays the membership types, shows all relevant information, but not the radio buttons in order to select a membership type.

The 12 membership types are configured and selected to be included as part of the form with one set as the default value.

Event module, still having problem

Hey all, decided to start another thread about my problems with Event Module. The major problem I'm having is that I want the calendar to display as default in the month view, with the events highlighted and in block form.

Here is what I'm TRYING to say, go to..

http://www.valleyview.dreamhosters.com/events

when you click on the month (september 2006 in this case) it expands to this view:

rcmail yields blank iframe

When I attempt to run RoundCube Webmail version 0.1-beta2 on my Drupal 4.6 installation using the rcmail module (browsing to http://www.domain.ext/rcmail), the iFrame window is blank. When I attempt to browse to http://www.domain.ext/rcmail/roundcubemail, the login screen displays with no trouble and permits login. I used the correct patch file for integrating rcmail with 0.1-beta2.

Please advise.

Many thanks,
-Adam

Pages

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