strife's devLog

Month: October, 2011

ubercart-logoUbercart API – Add to Cart with Attributes

I had a problem with that and finally I have found solution for that – it is very simple.

And the third parameter concerns attributes, the key of that array it is the first attribute on list of attributes in UbertCart control panel.

Share

scripts-drupal-logoHow to Modify Sth After Submiting in Drupal 6

In Drupal 6 we have some constructions which are very helpful. You want to modify sth after node has been submited? No problem you can easly do it by using hooks. In some module create some functions which will called:

And that’s all you should know about it. Now you can simply modify whatever you want to modify.

See you!

Share