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

How to put link for cck image field?

I want to put a link for cck image field, the link should be note link that contain this image

Anybody know this? I will appriciated... thank you!~

Quote module download link not working

The download link for the 5.x-1.1 Quote module does not work. Is there another place to download this module from?

Link parsing in nodes

I've been searching for a way to handle the way links are parsed in nodes. What I'de like to do is what I had setup with a PunBB forum where anonymous users could browse all forum content but links would be outputed as raw text. The snippet I found even went so far as changing the links label to something like [Sorry Guests, Members only link]

The closest thing I found to this was the Hidden Content mod where [hidden role=2]this will not be seen my unauthenticated users[/hidden]

Accessing fully expanded menu tree in 6.x

From what I have seen, it is possible to access the entire menu tree in 5.x as menu_get_menu() returns the children in $menu['visible'][$pid]['children'].

View using for block

Hello everybody. I need your help. I'm newby in using views module. I created view type and what code i have to insert in block wich i created to using this view type. When i click export link drupal give me next code


$view = new stdClass();
$view->name = 'Newsblock1';
$view->description = 'Создание новостей';
$view->access = array (
0 => '1',
1 => '2',
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'Блок новостей';
$view->page_header = '';
$view->page_header_format = '3';
$view->page_footer = '';
$view->page_footer_format = '3';
$view->page_empty = '';
$view->page_empty_format = '3';
$view->page_type = 'table';
$view->url = 'newsblock';
$view->use_pager = TRUE;
$view->nodes_per_page = '10';
$view->sort = array (
);
$view->argument = array (
);
$view->field = array (
array (
'tablename' => 'node',
'field' => 'title',
'label' => 'Заголовок новости',
'handler' => 'views_handler_field_nodelink',
'options' => 'link',
),
array (
'tablename' => 'node',
'field' => 'body',
'label' => 'Текст новости',
'handler' => 'views_handler_field_body',
),
array (
'tablename' => 'node',
'field' => 'created',

nodeaccess + cck_field_perms = disaster

I tried to install on my drupal website nodeaccess, in order to block access to certain kind of contents. However, since nodeaccess is very good at managing with all non-cck content types but it doesn't block access to specific cck fields, I uninstalled nodeaccess and installed then cck_filed_perms.
The final result of this was the impossibility to manage correctly users' access: I mean, the admin/user/access way of giving permissions to users didn't work at all.

Pages

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