Drupal is up and running but how do I ...?

how do i make the default localization depended on the site/domain?

hi,

i have two domains. one is .com and one is .de. i want to choose the default language depended on whether the .de domain or the .com domain is visited. i already created two different sites according to the INSTALL file. however, the localization module seems to store the default language in the database. so i wonder whether it is possible to somehow override the locales_meta variable through the settings.php. i would then just duplicate the locales meta table and choose it depended on the site. is this possible?

IS there a news module, not RSS but user entered ?

In the modules list on this site, I could not find any news module that does not use RSS.
What I'm looking is a simple module where registered users can type short news.

Do you know if something like this already exists ?

Thanks
Corinne

Form Help please

I dont think this has anything todo with Drupal but im having a problem with my contact form... You cant type in it :P

Check what i mean here http://www.thenerds.nl/?q=node/25

When you click in a text area, you get de-selected, anyone know why this happens?

Login / Logout / Register in Header

I need to be able to put the following in the header:-

If the user is not logged in then the following links would appear in the header:-

Login | Register

If the user IS logged in, then the following would display

Logout [ username ] | My Account | Create Story | Admin

For what it's worth, I'm using an Xtemplate theme.

I hope someone can help.

Cheers,

Rob

Flexinode: Hiding input fields by role?

I'm thinking of using the Flexinode module on 4.6.3 to allow certain users to upload images. I want to include a Flexinode checkbox field that moderators can mark to promote the image to "featured" status.

I don't want users without the moderator role to have access to that checkbox during input, though. Is there any way to hide this box by role?

Clarification: I already know how to hide the output using CSS and php. I just need to hide the checkbox from unauthorized users during input.

Here's what I've already tried:

In my page.tpl.php file:

  global $user;
  $role = $user->roles;
  if ((is_array($role)) && (!in_array("moderator",$role))) { ? >
<link rel="stylesheet" type="text/css" href="misc/admin_hide.css">
< ?php } 

And in admin_hide.css:

#edit-flexinode_13 {
  display: none !important;
}

This works great, except that it only hides the checkbox itself. The label for the checkbox, though, remains visible, which could be confusing for some users. There's no way (that I've found) to target the label using CSS, since it shares the same class (div.form-item label.option) as the other checkboxes on the input page -- there is no specific marker for this particular label.

Can anyone help me out with this?

(I'm aware of FlexiMAX but it looks as if that focuses on output, not input, of Flexinode types. Am I wrong in this assumption?)

Easiest way to create internal links?

ie from node123 to node 124

or to a paticular category (eg one set of images)

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Post installation