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).
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.
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/%
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.