I have to display a login-pop-up window when the user clicks on the links in a custom module. I have the pop-up using rokbox and am displaying it for other links. I am adding the links to the module from adminside and it the user is not logged in it should show the link for rokbox pop-up and if he is logged it should show the actual link. Please let me know where I need to make modifications. I think I can get all the module contents inside the default.php of mod_custom and can check the conditions. But then also , it will be applied for all the custom modules. Now how can I specify it is checking the condition for a particular module in Home page.
It will be helpful if someone can answer it ASAP.
Assuming you are using Joomla 1.5 and a custom module so you can execute what ever code you want –
If you are using the Custom HTML module then you will need to add an extension that allows you to include PHP code in the content or you will need to code a custom module to display the links.