Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • IPS Customization.

    While building this website I have learned a lot about how to customiza different aspects of the IPS products. I see a lot of people struggling to get started with IPS and this section is my attempt to gather what I have learned so others can benefit as well.

    To me nothing is more important than to share knowledge and help others. This section contain my findings and the things I have learned, but I still have much more to learn as well. Together we can learn and evolve the ways we customize the IPS products and while doing that there are no stupid questions. In the forum you can ask any question and we will try our best to answer them.

    Go to the IPS Forum ->
  • Set Member group ID variable in template using JavaScript

    Jimi Wikman

    Sometimes you might want to control something based on member groups. One way to do this is to set a variable using JavaScript:

    In a template to use just the primary group:

      var groupId = {expression="\IPS\Member::loggedIn()->member_group_id"};

    or for all group ids (comma-separated):

      var groupIds = "{expression="implode( ',', \IPS\Member::loggedIn()->groups )"}";



    User Feedback

    Recommended Comments

    There are no comments to display.

    Please sign in to comment

    You will be able to leave a comment after signing in

    Sign In Now

  • Create New...