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

Changing switchtheme module from form to link

Is it possible to edit the Switchtheme module from a form to a simple list? I don't have much experience tweaking modules, so am not sure how to do it.

Can anyone give me some pointers?

A drop-down selection list of languages instead of the default text links and flags using i18n

I am currently developing a multi-lingual site in Drupal 4.74 using the i18n module. At first the site will be translated into 4 languages but eventually this will be extended to between 18 and 25 languages. This is why I would like users to select their chosen language from a dropdown form list instead of the default text links and flags. I think that this would be a better solution when I have so many languages to show.

Ideally, this drop-down select menu would show the current selected language.

how to insert the content of a page in a node?

What do you think would be the approach to be able to "borrow" the content of a page and put it in a node?

For example:
I have written a module which defines a "donation" page (the url is "donation").
However, I would like to be able to see the content of this page displayed in a node.
I could have something like this in the node body:
[insert_url:donation]
And it would write the output of the url in the node body.

Any suggestions on how to tackle this?

How to form_render some elements in a fieldset?

I have some elements in a fieldset. Now I want to use theme_my_form to do the layout work. But I cannot separate the elements from their fieldset...

If I do not render the fieldset, everything is ok. If I render the fieldset, all elements in it will be follow the default layout... all elements rendered with the fieldset together I think...

How to deal with it?

User and Group space limit

Hi,

I would like to know if I can administer individual user space limit? (Not user type)

I think at this moment we cant do so How can I create a report to view How many space user or group is using. (to adminster)

Many Times user create a group and into this group other users attach files and images so the problem isnt the creator of the group but the group size.

Best Regards

Mario

Problem with a sql query.

I'm trying the function:

$query = db_query_range('SELECT `mail` FROM {users}');
print $users;
print $query;
print(db_fetch_object($query));
while ($users = db_fetch_object($query)) {
  $mail=$mail.",".$users;
  print $mail;
  print $users;
}
print $mail;

This does not work at all, and I can't really see any errors per drupal's API documentation...

Pages

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