test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • ppnilsson Friend
    #840299

    hi there, according to our law I tried not to show the usual "terms and conditions" of jomsocial but instead to link to two differnt pages in k2 which should be opened in modal window.

    So I placed the jomsocial registration files in templates/ja_social_ii/html/com_community/layouts/register
    but the links don’t open in the modal window. it just loads a new window with the full url.

    <a href="index.php/xyz?tmpl=component" class="behovior.modal" rel="{handler: ‘iframe’, size: {x: 680, y: 370}}">

    any idea? many thanks

    Saguaros Moderator
    #840746

    Hi

    Did you try with default JomSocial first to see it works or not?

    ppnilsson Friend
    #840841

    of course, default JomSocial works fine.
    But default calls api function <a href="javascript:" onclick="joms.api.tnc(0);">

    Saguaros Moderator
    #841426

    So which file of JomSocial default did you change? you can put the change here so I can take a look.

    ppnilsson Friend
    #841705
    This reply has been marked as private.
    ppnilsson Friend
    #841708
    This reply has been marked as private.
    ppnilsson Friend
    #841709
    This reply has been marked as private.
    Saguaros Moderator
    #843864

    If you’re using JA Social template for Jomsocial, you can edit this file:

    ROOT/components/com_community/templates/jomsocial/layouts/register/base.php

    You can zip the file you changed and attach to your post so I can have a look.

    ppnilsson Friend
    #844039
    This reply has been marked as private.
    Saguaros Moderator
    #845011

    I copied that ‘base.php’ file to the directory: ROOT/templates/ja_social_ii/html/com_community/layouts/register/base.php

    and it works exactly like in: ROOT/components/com_community/templates/jomsocial/layouts/register/base.php

    Which means that the override still works here.

    ppnilsson Friend
    #845354
    This reply has been marked as private.
    Saguaros Moderator
    #845358

    You will need to change the markup of that part in the base file of Jomsocial, pls try to raise the same request to Jomsocial for this customisation.

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 11 replies, has 2 voices, and was last updated by  Saguaros 8 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum