-
AuthorPosts
-
June 11, 2013 at 12:41 pm #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.
- phong nam Friend
phong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
June 12, 2013 at 4:11 am #495578Hi,
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 user says Thank You to phong nam for this useful post
June 12, 2013 at 9:52 am #495617Super! 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
guilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
June 15, 2014 at 10:03 pm #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 ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
June 16, 2014 at 4:52 am #538988Hi 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 Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
June 16, 2014 at 1:06 pm #539055Hi 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!
Luizguilhermey Friendguilhermey
- Join date:
- July 2013
- Posts:
- 34
- Downloads:
- 1
- Uploads:
- 4
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
June 16, 2014 at 1:16 pm #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!
LuizAdam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
June 17, 2014 at 4:21 am #539156Hi 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.
AuthorPostsViewing 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
Jump to forum
Register | Plugin – User – Profile -> Field: Terms of Service – Modal link
Viewing 8 posts - 1 through 8 (of 8 total)