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

Improving Lightbox2 and Image Module Interaction

I've recently setup the lightbox2 module and it's really great for fixed width sites. There have been a few issues with the image module integration, ones that I cannot alter; however, if they were improved, it would be a great contribution to the module.

Content Management based on users

Hi,

I have installed drupal on my main site (http://otg.com),and i have registered my first user as admin(by default they have admin role).Then i have created two users (say test1,test2).What i wanted to do is to diffrentiate the content for diffrenet users.

For example if i logged in as "test1" my theme,content,posts,blogs should be kept as private and when i logged in as "test2" i cannot see the postings ,themes ,contents of "test1" and "test2" have thier own contents.

Parent-child relationship and permission

Hello,

For a site on which I am working I require a full-featured image gallery. The Shazam Gallery module seems to fit the bill in terms of functionality, but I have some questions about permissions. Basically, I want it so that a user can view an image in a gallery if and only if they can view the gallery itself. What is the best way to do this? I'd prefer not having to alter image.module's hook_access, as this reduces maintainability.

How to access user profiles?

Hi,
I had made the user profile accessible to authenticated users, other than the administrator, by changing the access control in the admministrator settings.

Where is the change brought about when I select the option to allow authenticated or anonymous users to access a module. Is the change made in the database or in any .inc file?

how to use hook_link_alter

I may be being a bit thick here, but how do I use "hook_link_alter"?

I've looked at the API reference but don't seem to have clicked how it works....
Anybody got a working example?
Any tips would be helpful:)

How to test if user is currently on Home Page in PHP?

Hi,
total newbie. Running first drupal site. learning lots, enjoying it...mostly. I have a snippet on the front page that I only want to display when the user is on the front page (ie. first load of site, or click on 'home'). How do i do that?

Is there an ishome() kind of function?
Cheers,
Dan

Pages

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