0
Welcome Guest! Login
0 items Join Now

Popup button must only be seen by members

  • Popup button must only be seen by members

    Posted 11 years 9 months ago
    • We use a button to launch a popup containing a search form.
      The popup button on/off display an contents are set via the gantry back-end template admin system (in this case Lumiere is the template)

      However, we only want the button to be visible for logged in members.
      The search form is already restricted to logged in members, but that means that if a guest clicks on the button, a popup will show with a ajax wheel that spins forever, which gives the impression that the search is broken.

      So...how do we make the button only display for logged in members?
    • Effective, affordable & hassle free websites for big-thinking small business.
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: Popup button must only be seen by members

    Posted 11 years 9 months ago
    • You could load the button in a module, then restricts access to the module. The loadposition plugin would help. That's the easiest method I can think of.
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...

Time to create page: 0.049 seconds