Sidebar Block for User Albums Module

kwizl

Joined: 2008-09-29
Posts: 3
Posted: Tue, 2008-09-30 22:33

Hello,

I'm running gallery embedded and the 'your album' link doesn't appear because the Gallery header is stripped. Because I wanted (needed), the functionality provided by the User Albums module I added a sidebar block that creates the link 'Browse My Album' to the User Albums module.

I'm not much of a programmer - more of a hack really - so I thought I'd attach the three files I created / ripped off to accomplish my goal. These include:

useralbum/Callbacks.inc
useralbum/templates/blocks/blocks.inc
useralbum/templates/blocks/ShowHome.tpl

Hopefully someone else more suitable to the task can pickup the ball and add the code to the repository.

TO DO
1) Add internationalization support.
2) Add option "Show Link in Sidebar" to Site Admin.
3) Check if option Show Link in Sidebar is chosen in ShowHome.tpl.

Let me know if I can provide you with anything else.

Peace,

Michael Adair

AttachmentSize
useralbum.zip2.7 KB