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

how to create a panel with drupal_execute()

I'm working on a profile and would like to create a new panel with drupal_execute but I'm not succeeding. I'm building an object and passing to the panels_edit_form function with drupal_execute('panels_edit_form', $panel) but I'm having some errors. Has anyone tried this?

Trip / SQL Search form mod

Hello,

I'd like to give the user a basic (one text field + Search button) form that performs a search on only nodes tagged with certain taxonomy values. The user wouldn't choose or even see the taxonomy value.

My best bet seemed to be Trip / SQL Search. Its advanced form does what I want, I just need a simple form without all the bells and whistles that does the appropriate filtering.

Need some help with my first module ever. (pretty darn advanced for first module ever :-)

This is my first module, and I need some help.

It's a calendar in full size (content area) and the user can click on any day to add an item to that day.
When the user clicks to add he first gets a list of existing items to chose from, and if none exist he can chose to add one himself.

Now the thing is that this service of viewing and adding items should be available from more places so it seemed like a smart idea to make it as a module so it cam be reached from many pages.

So two modules in total (one for creating the calendar and one for for the adding of items)

The first module (the calendar) I think I know how to do, I add it to menu and then through theming functions generate the html to create it by simply returning the html from the function called (the function binded in hook_menu).

So far so good, but this is when it gets tricky for me.

The second part, the adding of items.
They way I imagine it whenever I click a day in the calendar (generated by the other module) a div should pop up where the user can browse available items and add them. The pop up functionality is the whole issue here... the actual content of the div is a breeze

The problem here is... It's the other module(calendar) that was invoked by the hook_menu... How can I integrate the modules in the way I described?

How can I can I have LoginToboboggan with a login block?

Drupal on its own comes with a supercool and neat login block. However, once Logintoboggan is installed it automatically disables that block and replaces it it's own very un-cool "login/register" link.

I have seen drupal sites that ask for e-mail address as user's login (which obviously means that they too are using LoginToboggan module) , but they are doing it with a normal standard login block that comes with drupal.

I wonder how can I have that good-old login block, while having LoginToboggan module running in the background???

e-commerce - just what is a transaction?

Hi, I looked over at the e-commerce site before posting here, no forums or issue tracker there. I am modifying a payment gateway and almost got it working. But my problem is, I don't know how transactions are intended in this logic. There's no documentation.

If a transaction comes in (a charge to customer) for a product that gets recorded fine.
If another transaction comes in (a payment for above product), that gets recoded in a new transaction and not applied to the charge.

taxonomy problem

Hi guys well I have been trying to develop an ecommerce website and want to categorise my products. I have defined certain hierarchy for my products like Agriculture>> Vegetables >> Potatat, something like this and want only the leaf level category ihat is potato in this case to be selected.But taxonomy allows any term in the hierarchy to be selected for the product. How can I prevent this. Please help me

Pages

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