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 5838323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:27:20+00:00 2026-05-22T11:27:20+00:00

A client web site uses a Joomla template with lots of modules in the

  • 0

A client web site uses a Joomla template with lots of modules in the left column, but for the custom component I’m designing, those modules must be replaced by a vertical menu. The hack solution I came up with is to hide those modules with CSS:

div#leftpad > div {
    display:none;
}

and then insert a <div id='compmenu'> in <div id='leftpad'> with javascript and set display:block. With jQuery, I could do

jQuery('#compmenu').appendTo('#leftpad').show();

The component displays a google map, so javascript is required anyway. Any Joomla experts here know of a more elegant or straightforward method to achieve the same result?

  • 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-22T11:27:21+00:00Added an answer on May 22, 2026 at 11:27 am

    Why don’t you use the build in Menu-Bind for Modules to hide them when your Module or Component is displayed, this would be a clean way. I think your Module/Comp is bound to a Menu item.

    Edit:
    For sure your client have to implement your Module/Comp the right way. Is is very bad to do something like this with a hack.

    • Create Menu-Item for your component (programtic)
    • Create a hidden menu
    • Add your component to that menu
    • Do unbound all modules from this menue

    The Joomla API hold a good series of Tutorials about building components. I gone through them in the past but as I see they have improved them. As I understand your component is relatively straight forward so the default menu should be what you want. It is described in the install XML

     <administration>
      <!-- Administration Menu Section -->
      <menu>MyMenuLink</menu>
    
      <!-- some other stuff -->
    
     </administration>
    

    And will be available at the Joomla! menumanager after your client has installed your component. So I think it will be not that hard for you.

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

Sidebar

Related Questions

We have set up a web site for a client who uses Google Apps
I have a dll which parses some web site. This component uses WebBrowser control
I created a web-site for a client with W3C Valid XHTML and CSS Code,
My client has recently taken ownership of an existing web site, with final deliverable
I'm developing a web site which uses wp-cumulus on its home http://www.roytanck.com/2008/03/06/wordpress-plugin-wp-cumulus-flash-based-tag-cloud/ it's a
Tonight I copied an ASP 2.0 web site onto a client's machine, and lo!
My web-site has AJAX-powered search, that uses deep-linking. When user follows a link …
I have a site built in ASP.NET MVC and uses heavy jQuery client interaction
I have website that uses ASP.net Membership Provider. This web site will be served
I have an asp.net site that uses Bing Translate Web service(http://api.microsofttranslator.com/V2/Soap.svc) The code that

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.