{jrCore_module_url}

Applies to: Jamroom 7.0+ Last verified: 2026-10-24
  • jrCore_module_url

    Function
    jrCore_module_url
    parameter
    type
    default
    required
    description
    module
    string
    -
    on
    The module, such as jrAudio
    assign
    string
    -
    off
    Put the result in this variable instead of showing it

    Returns the URL name of a module. Each module has a default URL, such as audio for jrAudio, but an admin can change it on the module's Info tab, for example to beats. Build links with this function, so they keep working after a change:

    {jrCore_module_url module="jrAudio" assign="murl"}
    <a href="{$jamroom_url}/{$profile_url}/{$murl}">Audio</a>
  • Most module templates start with this line and use {$murl} throughout.

Tags