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

Home page always in english

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??????

Thanks

CCK fields

Hey all,

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.

How to proceed further?

Please help.

Thank you.

Can I use Drupal to create a e-zine web site

I plan to create an e-zine web site, and want to use Drupal to run it. So far, everything is good, besides

I want to display the category in the content area of first page, any thing I can leverage?

enable rich-text in OG module!

Hi Guys,

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);

Form field in theme_table

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.

Thanx.

Flash Image Rotator Module - Does one exist?

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.

Pages

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