Giter VIP home page Giter VIP logo

dotnetnuke-qscontent's Introduction

DotNetNuke-QsContent

Allows you to show/hide content based on querystring values.

How it works

  • Add module to page
  • Go to configuration
  • Enter a key/value pair of a querystring. These can be comma delimited and may contain regular expressions.
  • Select the module you want the querystring values to effect.
  • Select if the default is to hide the module or show the module based on the querystring key/value match. Otherwise module will be hidden if querystring does not match.
  • Go to page in VIEW mode or log out and use your querystring combination to see a module disappear or appear.

Note: The client side check to hide content is done by using the .DnnModule-X class. So be aware that the toggling of content is merely for cosmetic reasons and not for security. If you need security use the Server side check.

Note: Querystring values are processed server side so you don't have to worry if url is formatted as ?test=1 OR /test/1/default.aspx

Installation

  • Go to the install directory and grab the latest version.
  • Install like any other DNN Module.

Fun Facts

  • Administration uses AngularJS in order to wire up client UI.
  • Web Service handles user validation and module permissions.
    • Supporting DotNetNuke 6.x so no WebAPI at this time.
  • ControlUtilities.FindFirstDescendent<Control>() to find another module in the stack.

Roadmap

  • Allow for server side hide/show of content Done 5/19/2013.
  • Allow users to edit items. (just haven't gotten around to it yet Done 5/19/2013
  • Make admin pretty. Done 5/19/2013
  • Show stats when logged in.
  • Add date time stamps to enable/expire a check.

Requirements

  • DotNetNuke Version 6.2.0

Screenshot

ScreenShot

dotnetnuke-qscontent's People

Contributors

jsheely avatar

Watchers

 avatar  avatar

Forkers

jsheely

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.