Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I installed the e-commerce package, but when trying to access the cart I get the following error:
Fatal error: Call to undefined function: array2object() in /home/.katisha/omgihost/omgihost.com/drupal/modules/ecommerce/cart/cart.module on line 204
i have a question regarding the blogs in drupal ok in my menu section i dont want to show a link to my blog and i want to give it a name of my choice how can i do it
like i want to give a name in the menu eg: Latest News
and when user will click on the link it will take them to my blog page where all my blogs will be posted can i just add as a menu item and give the urls as blog/1 or something like that or it works differently
Anyone using civicrm 1.4 with for sites serving more than one country?
AFAIK the drop-down list for States/Provinces in a civicrm profile includes all provinces listed in the civicrm.settings.php under
define ('CIVICRM_PROVINCE_LIMIT', 'US,CA')
This works fine if your site is limited to one country and associated states. But if one wishes to service ALL countries in the world, the dropdown list would run in the thousands and be entirely unusable
My own site has users from about 90 countries. If I can't find a work around I can't use CIVICRM at all!
I have installed organic groups module and found this problem: when the content creation links are displayed, it's impossible to translate the node type. The string available for localization is
'create %type'
yet the type is always in English and can't be translated. Can someone suggest simple patch to fix this problem?
This is the code snippet that generates 'create nodetype' OG menu:
I am using drupal 4.7.2. Everything was working fine when suddenly this error crepped in. I am getting undefined index: #default_value error as soon as I visit the root web page. If i try to login..then I get another error undefined index: #invalidate. Both are the erros are coming from form.inc which in include folder
Hello,
I am currently running drupal 4.7.0 w/out any CVS modules (need to get that out of the way). I am currently attempting to configure the e-commerce module and specifically the subproducts module so that it will not print all of the subproducts (variations of the product) within the category that the product resides.
What I really need to know is how can I set the "category" of these subproducts to be "none" as opposed to the "parent category" when they are created - so I dont have to do it by hand? I have attempted to set the $node->cid = 0 in the functions that it seemed necessary which I will include below. These functions come from the subproducts.inc file that lives quitely in the subproducts.module.
<?php
/**
* The third stage of the variation generation wizard.
*
* Having received user input on which attribute combinations
* to use for new subproducts, we generate the requested
* subproducts.
*
* @param $node
* A node object representing a parent product.
*/
function subproducts_generate_wizard3($node) {
$node->pparent = $node->nid;
// $node->status = 0;
$node->comment = 0;
$node->voting = 0;
$children = $node->children;
$title = $node->title;
// It's not clear where this array key comes from, but it generates errors and so needs to be unset.
unset($node->path);
$permutations = $_POST['edit']['permutations'];