0
Welcome Guest! Login
0 items Join Now

SOLVED Question regarding visible and hidden module classes

    • Truman's Avatar
    • Truman
    • Rocketeer
    • Posts: 57
    • Thanks: 0

    SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • Hi,

      I have a roksprocket module in the content area of my start page. I have set the module class suffix to visible-desktop, so that the module is only shown with bigger screen resolutions.
      I plan to implement the same module with just a single column for phone and tablet devices. Then I would set the module class suffix to hidden-desktop for the single column module.
      Unfortunately the roksprocket module is still showing up on mobile devices with the visible-desktop module class suffix.

      Do I have to use another method, to make the visibility of this roksprocket module resolution dependent ?

      The website address is: www.offroaddance.com/en/start-page

      It´s on Joomla 2.5.14 and the latest Gantry framework update is installed.

      Thank you in advance for your answer.
    • Last Edit: 11 years 8 months ago by Truman.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • Hi there,

      Please check your module suffix as I am not seeing anything in the rendered code.

      Hope this helps 8)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
    • Truman's Avatar
    • Truman
    • Rocketeer
    • Posts: 57
    • Thanks: 0

    Re: SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • Hi David,

      thank you for your fast response.

      I checked it and in the modul class suffix of the module I have 'visible-desktop' as entry.

      The module is embbeded into the article via Modules Anywhere. What would be the right way, to embbed the module into the article content in case Modules Anywhere will rip off the modul class suffix setting ?

      Thanks,

      Christian
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • Hi Christian,

      Have you tried using the {loadposition yournamehere} approach?

      Replace yournamehere with the moduleposition, which should be a name that doesn't exist in the template e.g. home-sprocket

      Hope this helps 8)

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
    • Truman's Avatar
    • Truman
    • Rocketeer
    • Posts: 57
    • Thanks: 0

    Re: SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • Hi David,

      I did not try the loadposition approach, but will try it later and report back.
      I will also play around with the modules anywhere settings, as other people also seem to have a problem with this issue.

      Thank you,

      Christian
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • Truman's Avatar
    • Truman
    • Rocketeer
    • Posts: 57
    • Thanks: 0

    Re: SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • Thanks, Henning
    • Truman's Avatar
    • Truman
    • Rocketeer
    • Posts: 57
    • Thanks: 0

    Re: SOLVED Question regarding visible and hidden module classes

    Posted 11 years 8 months ago
    • t seems, the problem was the wrong mod_chromes setting, I used. I checked modules.php and there was only basic and standard listed, but I used xhtml.
      So by changing the Modules Anywhere tag to:

      {module Startpage (english)|moduleclass_sfx=visible-desktop|standard}

      it works with the Oculus template.

      Thanks again for your help.

Time to create page: 0.254 seconds