Creating new product fields for Ubercart

I went to Administer » Content management >> Content types and created a new field under Product and when I created a new product I was able to fill in values for that field. However, none of the existing products displayed the new field to allow me to enter a value.

I then went to one of my product categories [in Content types], and added the new field, and it worked fine for it and all its subcategories. But that means I have to go to all the other primary categories, and share the new field.

I'm not sure why this is happening.

URL path settings and i18n: error with all lowercase letters

I use i18n, which adds a language prefix in the url of pages, such as: domain.com/en/aquatics. I have the "en" setting turned off so that users can enter either domain.com/aquatics or domain.com/en/aquatics to get to the same page (node).

I have no problems with this, except on one page. I don't know if it's an i18n problem. Or a URL path setting problem? Or both? On only one page (node/4844) I set the URL path setting to aquatics. Here's what happens when I view the page with various URLs:

  • domain.com/aquatics - 404 error
  • domain.com/en/aquatics - okay
  • domain.com/Aquatics - okay
  • domain.com/aQuatics - okay (any letter capitalized seems to make it redirect properly... weird)
  • domain.com/en/Aquatics - okay

I can confirm that there are no other URL redirects or other URL path settings with the same name, capitalized or not. (See screen shots for proof of that.)

WHAT I TRIED
1. I deleted the URL path setting and all re-directs and entered them again. Didn't help.

how to make flagging node enabling commenting this node?

I have a content type which can be flagged by users. I want to permit writing comments only users who flagged the node. Is it possible? How to do that?
Will appreciate help.
thx

Using CRON optimizely

Hi,
Do you see any issue with the Drupal CRON if Simplenews module is used to send at least 500 emails each time the CRON runs? Will it lead to Script time out?

I checked JobQueue module but not sure how to use it with SimpleNews?

Any help appreciated :-)

Regards

Site is offline and forgot my admin password

Hi I'm running Drupal 6.x in a multi-site setup. One of the sites, I have as my admin username the same name as one I use on another site. I have the password for the other site and thought it might be the same as the one on the one I need to work on. I haven't worked on this site in a while, but need to use it.

I tried clicking the 'Have you forgotten your password?' link on the ?q=user page, but it won't go to the next page because the site is offline.

How do I recover or reset the admin password when the site is offline?

Thanks,

Broadlighter

How to change default value of checkbox Form API,

I want to print the default value of checkbox form API in drupal 6 in such a way that if it is not selected,it should print false.I have changed the return value to "true" so if the checkbox is checked .it is returning true,but if not checked,it should return "false".Here the default value is 0. how to print it false?

The output should be in this format:
$wgGroupPermissions['anonymous user']=Array ( [editall] => false; [read] => false;[write] => true; [import] => true ;[importupload] => true; [export] => false; [upload] => true )
But instead its giving output like this:
$wgGroupPermissions['anonymous user']=Array ( [editall] => 0 [read] => 0 [write] => true [import] => true [importupload] => true [export] => 0 [upload] => true )

Please help me,
Here is my custom module code of drupal 6
*****roleuseradd.info***
name = Role add users
description = Allows roles to be added as users.
core = 6.x

; Information added by drupal.org packaging script on 2010-09-13
version = "6.x-1.1"
core = "6.x"
project = "roleuseradd"
datestamp = "1284408708"

****roleuseradd.module***
<?php
/*
* Implementation of hook_form_alter()
*/
function roleuseradd_form_alter(&$form, &$form_state, $form_id) {

if ($form_id == 'user_admin_new_role' || $form_id == 'user_admin_account'||$form_id == 'user_profile_form') {

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x