Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5969247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:12:10+00:00 2026-05-22T20:12:10+00:00

I have to display a login-pop-up window when the user clicks on the links

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:12:11+00:00Added an answer on May 22, 2026 at 8:12 pm

    Assuming you are using Joomla 1.5 and a custom module so you can execute what ever code you want –

    $user =& JFactory::getUser();
    if($user->id)
    {
        //show logged in link
    }
    else
    {
        //show link to login form
    }
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to display images from the Photo Library using UIScrollview. Except the first
Can iPhone apps have role based login? In my application I have to display
i have problem in display a login dialogbox... that have 2 textbox,1 combobox like
Default Plone behavior is to display login box when the user tries to access
I plan on creating a custom post-login landing page in Drupal 7, preferably using
I have an app in which the user may choose to login to FB.
I have a project in which I need to pop a modal window for
In yii, I am creating login module. After successful login I have to retrieve
I have a login popup that will pop up on every page of my
I am trying to display a login window once my MainWindow loads while sticking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.