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

IMCE: Page can not be displayed

I have installed the IMCE-module ( the TinyMCE0-module is functiomal), but when I try to save the configuration I get the message 'The page cannot be displayed'

Then when I try to assign an IMCE role I get the warnings below:

ecommerce + erp + crm request for suggestions

I've been looking for a while for some software to manage my business but everything I evaluated has fallen short. I've tried a lot of online billing systems (eg http://www.freshbooks.com/) but they're all abroad and thus do not support the European VAT thing. In most of the systems I tried the contact management wasn't really what I wanted either.

When I had my first business I developed my own 'intranet' to manage all that. Two years ago I re-started a small company and am still using that very thing I created 6 years ago, because it does just what I want.

I know have plans to develop a drupal module that:

- can manage companies and their contacts
- allows customers to log in the system to submit tickets/ask questions/view invoices/etc...
- create invoices for those customers

I've looked at the erp (http://drupal.org/project/erp) & ecommerce (http://drupal.org/project/ecommerce) module but neither does what I want. There are some things that could be re-used/extended though. Note that I haven't explored either module fully yet, so I might still find other good ideas in there. I also briefly looked at CiviCrm.

Things in ERP I liked:
- Organic Groups are used on Customers. So you can add all the contacts from one customer in 1 group.

Things I didn't like:
- Contacts are not users and they are not nodes. I would make users contacts and add additional fields with Profile. So every contact can log in.

How do I tell which button has been pressed on a form?

I'm developing a form with the new forms API. The form has two buttons on it, one called 'search' and the other called 'advanced search'. Here is the code for each button:

    $form['search_form']['button'] = array(
	'#type' => 'submit',
	'#value' => t('search'),
	);

    $form['advanced']['button'] = array(
	'#type' => 'submit',
	'#value' => t('advanced search'),
	);

And the HTML generated looks like this:

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:

Pages

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