test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • xeshly Friend
    #188151

    Hi,

    Joomla 2.5.11 – T3 Blank 1.2.5
    I noticed incorrect display of the Terms of Service for registration when I turn on the plugin (installed with Joomla) User – Profile and chose Select TOS Article.

    I discovered that it is enough to /plugins/user/profile/fields/tos.php delete class=”modal
    [PHP]$link = ‘<a class=”modal” title=”” href=”index.php?option=com_content&view=article&layout=modal&id=’ . $tosarticle . ‘&tmpl=component” rel=”{handler: ‘iframe’, size: {x:800, y:500}}”>’ . $text . ‘</a>’;[/PHP]

    [PHP]$link = ‘<a class=”” title=”” href=”index.php?option=com_content&view=article&layout=modal&id=’ . $tosarticle . ‘&tmpl=component” rel=”{handler: ‘iframe’, size: {x:800, y:500}}”>’ . $text . ‘</a>’;[/PHP]

    Then Terms of Service link is in the correct position.

    But unfortunately clicking on the link will open a new page, and not modal popup window with the rules.

    The default templates Terms of Service is in a good position and work function of modal popup when clicked on a link to the rules.


    1. 1
    2. 2
    3. 3
    phong nam Friend
    #495578

    Hi,

    Thank you for your feedbacks. In order to solve the position issue of “Terms of Service” button, pls create new css named custom.css file in template/t3_blank/css path. Then put below codes into new file:

    .registration .modal {
    position: static;
    top: 0%;
    left: 0%;
    z-index: 1050;
    width: 120px;
    margin-left: 0px;
    background-color: none;
    border: none;
    border-radius: 0px;
    -webkit-box-shadow: 0 0 0 rgba(0,0,0,0);
    box-shadow: 0 3px 7px rgba(0,0,0,0);
    -webkit-background-clip: none;
    background-clip: none;
    }

    <blockquote>But unfortunately clicking on the link will open a new page, and not modal popup window with the rules.</blockquote>
    Pls check out the Joomla article which you selected in Plugin Manager >> User – Profile >> Select TOS Article field.
    Send me PM with your admin login if the modal popup still appears without rules.


    1. 4
    xeshly Friend
    #495617

    Super! Everything works. Excellent support.
    Code placed in: templatest3_blankcsstemplate.css – in the last line.
    It opens in a modal popup window with the rules:

    Thank you Leo


    1. 1
    guilhermey Friend
    #538941

    <em>@xeshly 376451 wrote:</em><blockquote>Super! Everything works. Excellent support.
    Code placed in: templatest3_blankcsstemplate.css – in the last line.
    It opens in a modal popup window with the rules:

    Thank you Leo</blockquote>

    Hi!
    I have the same problem but for me the code above opens a new page – just as Leo said it would.
    I don’t know what you did to get the modal window with the article.
    Tks a lot!

    Adam M Moderator
    #538988

    Hi guilhermey,

    Actually, they mentioned about alignment problem of Terms of Service link instead. The solution is not to remove class modal in hyperlink but to add CSS rules above to appropriate CSS file.

    guilhermey Friend
    #539055

    Hi Adam!
    Tks!
    I did try to keep both “modal” clas in tos.php AND the extra CSS code Leo sent. I kept the latter one on template.css just like xeshly did and original tos.php.
    But the result was the original error displaying modal window and the label on top of page.
    Should I try to call in tos.php “registration .modal” instead of “modal”?
    Or is it something else I am doing wrong?
    Tks a lot!
    Best regards!
    Luiz

    guilhermey Friend
    #539057

    <em>@guilhermey 432454 wrote:</em><blockquote>Hi Adam!
    Tks!
    I did try to keep both “modal” clas in tos.php AND the extra CSS code Leo sent. I kept the latter one on template.css just like xeshly did and original tos.php.
    But the result was the original error displaying modal window and the label on top of page.
    Should I try to call in tos.php “registration .modal” instead of “modal”?
    Or is it something else I am doing wrong?
    Tks a lot!
    Best regards!
    Luiz</blockquote>

    Hi Adam!
    Me again…
    Nope!
    I tried to rename “modal” to “registration .modal” in tos.php.
    But then the link on registration page got OK but the modal window did not pop up.
    Opened a new page instead.
    Going crazy here!
    What did I do wrong?
    Tks a lot!
    Luiz

    Adam M Moderator
    #539156

    Hi Luiz,

    In this case, please revert your last change then provide me your site url so I can let you know what exactly should be changed.

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

This topic contains 8 replies, has 4 voices, and was last updated by  Adam M 10 years, 5 months ago.

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