Hi,
I am building my first website. Very simple but it's what we need. It's a multilingual site English/French soon Spanish. I installed the i18 module all my pages work well but my home page is always in English. If I use localizer my menus always show in both languages. So it's easier for me with i18. How do I do to have my home page in both languages??????
Can anybody tell me how to use the CCK module.
I have downloaded it, unziped it and paste/place it in the Module directory.
I have enabled all the sub-modules of CCK modules.
I am creating a new module that is like OG module. This new module has a form that is same as og module form.
For this I have copied the code from OG and pasted it in the new module. That is working fine. But the problem is that the link 'enable rich-text' beneath the Description textarea is not being shown.
The link is also missing in the new module that is available in the OG module form 'Insert image or link.' beneath the Description textarea.
I have used this code for generating the form.....
$form['step1']['og_public'] = array('#type' => 'value', '#value' => TRUE);
$form['nsite_help'] = array(
'#type' => 'item',
'#value' => t($row->help),
'#weight' => -5,
'#prefix' => '
',
'#suffix' => '
',
);
$form['step1'] = array_merge_recursive($form['step1'], node_invoke($group_type, 'form', $form_values));
// this upper line creates the title and body fields for this module.
// all group home pages are publically accessible as far as og is concerned. their posts may or may not be.
// change this via hook_form_alter() if you want subscriber only group home pages. this may become part of og.module one day
$form['step1']['og_public'] = array('#type' => 'value', '#value' => TRUE);
Good day, sorry for the bad english, but need some help -)
Use theme_table. Parse and build table perfect. Need add in last column element. All input fields included in one form element.
Have a drupal standard function to add and render form field in theme_table.
Some suggest:
Add a function theme_textfield($form['url']), but need define next attributes #parents, #id, #name, etc., so, IMHO, there is the suggestion that this is a little wrong.
In my experience with Wordpress and Joomla there was the ability to install a 3rd party piece of code (plugin/module/component) that would take specified images and rotate them as a Flash file.
Does something like this exist with Drupal?
I'm looking for the ability to specify 3 graphics that will fade into each other in a rotation.