I am trying to hide an html module by placing the following code in the page header tags, can you tell me why it may not be working
#1818 { visibility: hidden; height: 0; overflow: hidden; }
I would use:
<code>body:not(.CP-Edit) .DnnModule-1818{<br /> display:none; /* Hide a specific module if not in edit mode /*<br /> }</code>
This will make sure it only hides if you are not logged in and in edit mode.
May I ask what the use case is? (there might be better options in DNN..)
If you use the page header tags, you probably have to encapsulate this in a style block. Maybe you would prefer to create a spécific css file for a page with the corresponding style. You can configure a specific css file for each page. I think it's a better option than using the page header tags.
Timo
thanks for the quick response.
My situation is using Dnn Sharp Grid and Mandeeps Live Tokens, the only way i could get the Live tokens to display in the Dnn Sharp Grid was to add a
html module and place the tokens in that module and then the tokens would show up in dnn Sharp Grid Advanced UI Settings - Additional Html Header. If I do not display the html module then tokens no longer show in Dnn Sharp Grid, so I wanted to hide the html module
Thanks,
Bob
www.temeculacreekmensgolfclub.com
http://temeculacreekmensg...t/Live-Scoring-Skins
at the bottom of this page you will see html module with tokens
Thanks for that response Stéphane, I am just getting into the css coding I am a real novice
see my web site below
http://temeculacreekmensgolfclub.com/
Hi Bob,
We all had to learn things at one point (and still do). And still grateful there was someone at that time learning me a lot of stuff. So, come back any time :-)
Did you know there is also https://dnncommunity.org/...20030/New-DNN-Tokens ?
Cheers
Tycho
Yes Tycho I have used that module and really like it a lot, unfortunately it does not allow give you the ability to read external SQL databases and build tokens,
unless I am missing something.
Thanks
Hello Tyco
i see dnn tokens has sql script functionality - does this mean it can access an external database
If so is there any documentation that explains how
Hi @Bob M
I have not tried that usecase, yet. Would you be so kind to log an issue/question on Github? That way, we can
I have logged issue on github
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.