Create a view with a list from a content type with OG groups

I have a content type called wall. When you create a node of that content type you can choose if you want to show that node to members of Group1 or Group2 (or both).

Now I want to create a view with a list from that content type but depending on what group you are member of (the logged in user) it should only show nodes that are saved to that group (in the content type).

Any suggestions someone?

How to invoke a template to format custom variable output from my module? (not pre-existing node)

I am writing a module that will want to display a custom page with some content that varies based on the results of the action the module took. Basically I want to be able to insert my 4-5 variables into specific places in a pre-existing layout. But I don't want to hard-code it in the module. If this was just modifying the display of an existing node I could do it, but I am not sure how to attach a custom template to my output.

At the moment(testing) I am just outputting the variables in a list which gets embedded in the body of a page with all the standard surrounding items (sidebars, header/footer regions and blocks). This is great as far as it goes, I just need more control over that $content area.

article node blog view and url issue

Hi Drupal people,

Drupal 7 Can't use user/% as menu link

On my D6 sites I could create a Primary Menu link which when linked to user/% would show a My Account link when logged in and then hide that link when logged out. Seem in D7 I get a wrong path error when creating a link to user/%

What would I use for D7?

Need a module that sends out sms to people

How can i make a site that will send a small sms to all people in my list.

I have a model list and I would like to send out sms only for example to people with blue eyes and blonde hairs

how can i set this up

can you just use tags? and then use the views to select these people, but how to then send them email or sms?

Any ideas?

Need help understanding pagination in a custom module

Hello

I have been developing a custom module that is basically a search engine for a user profile system my client is using. I have the search section working fine and the output of he first db query is a list of user id's if the required username is found. As I have to use a LIKE in the db query so that we can deal with the case where the user may put in part of a name I am getting a large number of results, which is as it should be. What I need to do is to paginate the results.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x