new group in simple access

Hi

I am want to know how to

create new GUROP in SIMPLE ACCESS Module

I have install for node access management.

I can create GROUP via entry in simple_access_roles & simple_access_groups table of db but can't see way I can create GROUP vai admin.

I am using Drupal 7 version

Thanks

Domain access and content access permissions

Hi
I've been using drupal for a while now, and i've noticed a problem since i started using domain access module.

When i post any new content it is not visible to other users unless i rebuild the content access permissions. I'm using drupal 7.8 . Does anyone have any idea how to work around this ??

Use hook_field_settings_form

I made a custom field called "address". Address has got a lot of subfields (like street, number, zip,...). But I would like to give them a custom setup. This is, defining which field is required or visible. I used the hook_field_settings_form-hook, but so far no luck. Is there anyone who can help me out with this?

What I need is a list with checkboxes where users can check which field they want required and which they want visible.

I found myself an example in user_reference.module, and I can change the default value, but not the required fields...

How to disable page in views

Hi there i want to know how to disable the pager at the bottom of the block view.as you can see the test site here http://tech.fossis.org .

Embed a node add form in user registration?

I'm working on my first drupal site and so far I was able to achieve everything without writing a single line of code! :)

Now I'm facing a little problem: I'd like to display the fields of a certain content type on the registration page and use them to create a node of the appropriate type while the user creates an account.

In other words: Create a new user and a new node with one form.

Can the be realized without custom code?

DBTNG: TableSort with Joins. Any insight?

Hello,

I'm creating a module in which I'd like to use TableSort, but I'm having some trouble creating the DBTNG query object.

This works:

  $header = array(
    //array('data' => t('Profile Type'), 'field' => 'pt.label'),
    array('data' => t('ID'), 'field' => 'pr.profile_id', 'sort' => 'ASC'),
    array('data' => t('Path'), 'field' => 'pr.path', 'sort' => 'ASC'),
  );

  $query = db_select('profile2_regpath', 'pr')
    //->join('profile_type', 'pt', 'pr.profile_id = pt.id')
    ->extend('TableSort')
    ->fields('pr', array('profile_id', 'path'))
    //->fields('pt', array('id', 'label'))
    ->orderByHeader($header); // tell the query object how to find the header information.

  $result = $query->execute();

However, I need to query two tables and display the results of the join when generating the table. Adding in the join logic leaves me with a WSOD:

<?php
$header = array(
array('data' => t('Profile Type'), 'field' => 'pt.label'),
array('data' => t('ID'), 'field' => 'pr.profile_id', 'sort' => 'ASC'),
array('data' => t('Path'), 'field' => 'pr.path', 'sort' => 'ASC'),
);

$query = db_select('profile2_regpath', 'pr')
->join('profile_type', 'pt', 'pr.profile_id = pt.id')
->extend('TableSort')
->fields('pr', array('profile_id', 'path'))
->fields('pt', array('id', 'label'))

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x