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).
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.
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:
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.
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.
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.