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

TinyMCE and my Users/Data variables

Hi everybody,

I have the tinymce module actived on my web for authenticated user. I update drupal and modules from 4.6.7 to 4.7.x. I see that my old users can't see the tinymce, because they have disabled it by default (maybe for configuration from old 4.6.x). In the DB in user / data I can see the old user this variables:

Is this possible in just one SQL query?

Hello,
I'd like to find a solution for this: http://drupal.org/node/78973

Suppose I have a table like this:

nid trid lang
2   0    ia 	
1   1    ia 	
3   1    en 	
4   2    ia 	
5   2    en 	
6   2    it 	
7   0    ia 	
8   4    ia 	
9   4    en 	
10  4    it 	
11  0    ia 	

The "nid" is the node number, "lang" is the language the node is written in, and "trid" is used to group together the translation equivalents: that is, nodes 4,5,6 describe the same content in three different languages. If "trid" is 0, then the node has not been translated into other languages.

What I'm looking for is a query that filters out records in this table like this ("lang_user" and "lang_default" are two PHP variables which are known at the time the query is written; think of them as "en" and "ia"):
1) if "trid" is 0, then keep the record
2) if lang = lang_user, keep this record and filter out all other records having the same "trid"
3) if lang = lang_default, keep this record and filter out all other records having the same "trid"
4) filter out this record

My question is, can all this be achived within a single SQL statement (I guess no, but I'm not a SQL expert)?
If not, I guess I'll have to code a patch to drupal core, if I want to solve the issue http://drupal.org/node/78973, I am right?

A page of just Nodes that have new comments.

Is there not a way to have a seperate page that has all the nodes (pages) which have new comments added? (You know, the posts that say 2 new comments and etc.) Shouldn't filtering do this or would it take a new module?

Thanks,
Caleb

Organic Groups: How to remove "Invite Friend" link from Groups Detail block

Hey, does anyone know how to remove the "Invite Friend" link or functionality from Organic Groups, specifically in the Groups Detail block? The site I'm building is for Administer assigned membership and they don't want members inviting new members. Thanks in advance!

poll: does anyone use filemanager?

Does anyone use filemanager and attachment modules anymore?

I wonder if it allows public/private sharing in drupal 4.7

Gallery 2 search by default

I had no luck with this in the general forum so I'm posting it here.

Use this post please:
http://drupal.org/node/80672

Pages

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