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

Cluttering the Permissions table

I notice that a lot of modules add their own "administer" permission setting - to name just two examples of this, creativecommons and dhtml_menu both have a permission titled "administer [module] configuration", which allows access to their admin pages.

Is there a good reason for this approach, rather than sticking with the core "administer site configuration", which allows access to the whole rest of the admin panel?

A specific administration setting is essential for some things, especially content management or settings that will require periodic maintenance - allowing you to delegate these tasks to moderators - but I'm finding it hard to imagine that any admin would be specifically enabled to change the highly specific settings of a certain module, which likely need to be changed only once or twice for the whole site anyway.

cck + registerprofile

hi drupal community,

i have convert the registerprofile module to 5.1.
i am using cck to create the field. i have used
"group" option to "Display in group:"

but while i register for new user than, the data are inserted to only those field which are not defined in the group.

i.e. content-type:article-blogger
field:
article-title - no group
article-img - articledetailgroup
article-information - articledetailgroup

user roles

hi drupal-community

i am using drupal5.1
i am developing an application.
in this application there is a req. for the "user role selection".

so the solution is req for "user can select only few role".

i.e.
there are 4 roles
role1,role2,role3,role4

there is and admin who can give a user role.
now if user is type of role1, than he can select another role-2 from his, myaccount/profile page.

so role1 user have access to change/select the few roles(not all).

provide the suggestion for these.

thank you

External Links Module does not work on my home page but will work on every other page weird any suggestions?

Problem with my site and the External links module.. I was messing around with this for a while tonight and can not figure it out.

The I have the external links turned on and to open to a new window. That works great on all pages except the most important one the home page. If you have any ideas on what I can do to get this solved that would be great..

www.consumercowboy.com

shopping cart

Hi,

I installed the drupal 5.1. I want to activate shopping cart module in drupal. but In modules directory there is no any modules like shopping cart or store or ecommerce.

could you please let me know how do I install or setup the shopping cart module.

I findout no of options from site but there is no information that how to get related files or install setup.

annyone out there trying to convert og_aggregator from 4.7 -> 5.x ?

Hi,
I am trying to convert the og_aggregator (Thanks to zagorot: http://drupal.org/project/og_aggregator) and I got stuck with it.
I don't understand why (in this particular case) $edit seems to be always empty (except from $edit['refresh']).

Here is the juicy part:

function og_aggregator_form_feed_edit($edit = array(),$og_id) {
$period = drupal_map_assoc(array(900, 1800, 3600, 7200, 10800, 21600, 32400, 43200, 64800, 86400, 172800, 259200, 604800, 1209600, 2419200), 'format_interval');

if ($edit['refresh'] == '') {
$edit['refresh'] = 3600;
}

$form['title'] = array('#type' => 'textfield',
'#title' => t('Title'),
'#default_value' => $edit['title'],
'#maxlength' => 64,
'#description' => t('The name of the feed; typically the name of the web site you syndicate content from.'),
'#required' => TRUE,
);
$form['url'] = array('#type' => 'textfield',
'#title' => t('URL'),
'#default_value' => $edit['url'],
'#maxlength' => 255,
'#description' => t('The fully-qualified URL of the feed.'),
'#required' => TRUE,
);
$form['refresh'] = array('#type' => 'select',
'#title' => t('Update interval'),
'#default_value' => $edit['refresh'],
'#options' => $period,
'#description' => t('The refresh interval indicating how often you want to update this feed. Requires crontab.'),
);

Pages

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