0
Welcome Guest! Login
0 items Join Now

Is it possible to create a menu link to a module.

  • Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Is it possible to create a menu link to a module, I don't want to create a page assign a module to that page and create a link but a direct link to module.

      Example I have a video module which loads in advert position I want to create a menu link to video module or a menu link to advert position.

      This is how I want it to look.

      This image is hidden for guests.
      Please log in or register to see it.
    • VirtueShop
  • Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • What you'd have to do is to apply an anchor on the page, such as

      <a name="video-module"></a>

      Place that in the module and then you can link to

      yoursite.com/#video-module
    • James Spencer / Developer & Support / Hull, UK
  • Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Could you please explain a little more in detail.
    • VirtueShop
  • Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Ok, a typical link in HTML form would be

      <a href="some-link">Link</a>

      However, if you use the following...

      <a name="some-name"></a>

      ... then an anchor is created. You can directly link to this anchor in a page. For example, if this anchor was on the frontpage of your install, you could go to

      yoursite.com/#some-name

      Therefore, if you place <a name="video-mod"></a> in the custom module code for the Video module, you could create a link to #video-mod and it would move your cursor directly to it.

      We use it on our demos and tutorial sites, i.e. tutorials.rockettheme.com/joomla-templat...sation.html#lc-width

      To link to an anchor, you must have the # symbol before hand.
    • James Spencer / Developer & Support / Hull, UK
  • Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • It doesn't work, just to clarify, I don't have a page don't want o create a content page, just create a menu link to a module / module position.

      Example.
      I want to create a menu link to mod_custom module which is published in advert position and the module contains video code in it.

      I can create a content page with anchor and link to anchor but I don't want a page just a link to module.
    • VirtueShop
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Hi Peter,

      Maybe i'm misunderstanding what you're trying to achieve, but in Joomla you can't have a page without a component.

      Going by the image you provided, the only way I can see is to create a page and assign module to it. You can then use css to hide the component(com_content) area.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Hi Mark,

      I was afraid of that, after trying everything I realized I can't create a menu link to a module, I will need to find another solution as my friends wants only his demo reel on the page and nothing else, tried to create a page suffix that didn't work too, as couldn't make the background full black.
    • VirtueShop
  • Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Well Peter, what you could do is place the module in the mainbody.

      For example, you could load a content item with

      {mosloadposition content-module} or {loadposition content-module} depending on your Joomla version so it would load the module position content-module.

      So, you'd basically have a link directing to a content item which is acting as a module.
    • James Spencer / Developer & Support / Hull, UK
  • Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Thanks James, that is one of the solutions I tried but can't make the page background black , I am reading on css to see if I can find a solution, the one you posted didn't work.
    • VirtueShop
    • Mack's Avatar
    • Mack
    • Elite Rocketeer
    • Posts: 535
    • Thanks: 0

    Re: Is it possible to create a menu link to a module.

    Posted 15 years 10 months ago
    • Can't you just make a menu link to a static content item? Publish the module only on that page.

Time to create page: 0.060 seconds