PDA

View Full Version : Question Concerning component development


horn501
29.05.2004, 01:28
Hi guys,
Im only new to mambo, and new to php. I have an existing little image gallery script that i want to try to convert into a mambo component. I know i can deny users access to menu items but I want the users to be able to browse my gallery of thumbnails, I usually have the thumbnails linked to an enlarged image with a description. I only want the thumnailed link to become available if the user is logged into my site. If they arnt i dont want the link to be available to them at all. Is there any snippets of code floating around that i can incorporate into my existing script will allow me to do so? Or can anyone code/give me an example on this?
Any help or points in the right direction would be much appreciated.