Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Add-ons
  • Manager, Parser & the Core
  • ManagerManager
  •  
  • Is mm_hideTemplates() still working for Evo 1.0.5?#

  • 10449
    948
    http://www.screengang.com/
    http://www.dnik.ch/
    http://www.fantastique.ch/
    http://www.flickr.com/photos/dnik/

    ganeshXL Reply #1, 1 year, 1 month ago

    Reply
    • Link to this post#1
    I am adjusting ManagerManager for a soon-to-go-live site and I'm puzzled about mm_hideTemplates(): It doesn't seem to work with the latest Evo release (1.0.5), at least not here (however, all the other various mm rules I set up, are working fine).

    I want to hide the three templates with id 3, 4 and 8 from the manager-role id 4:

    mm_hideTemplates('3,4,8', 4);

    No matter if I go to edit a resource, or create a new one, I can however still see ALL the templates in the dropdown menu. (yes, I logged in and out each time I changed a rule, to make sure cache is not playing an evil trick on me)

    Did the syntax change, or did I miss something else? Can someone confirm or deny that this still works?


  • 4310
    2,276
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #2, 1 year, 1 month ago

    Reply
    • Link to this post#2
    I've just tried and failed


  • 10449
    948
    http://www.screengang.com/
    http://www.dnik.ch/
    http://www.fantastique.ch/
    http://www.flickr.com/photos/dnik/

    ganeshXL Reply #3, 1 year, 1 month ago

    Reply
    • Link to this post#3
    It's weird: I usually test client-logins with another browser, while staying logged in as admin id 1 with Firefox...

    So: The MM rules for hiding certain templates works fine in Firefox 4, but does absolutely nothing in IE 8 or Safari 4.

    Is the jQuery hide() function not working correctly for select inputs in those two browsers? (client is a huge Apple fan, so will not likely switch over to Firefox...)


  • 4310
    2,276
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #4, 1 year, 1 month ago

    Reply
    • Link to this post#4
    On a Mac, I can confirm works fine in FF 3 & 4.
    Doesn't work in Camino 2, Safari 5 & Chrome 10





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
bunk58, ganeshXL

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy