- Posts: 53
- Thank you received: 0
OS Property support center
Social module - Open in new page
- Maria L
- Topic Author
- Offline
- Senior Member
-
Less
More
11 years 1 month ago #47942
by Maria L
Social module - Open in new page was created by Maria L
Hi,
Does anyone know if there is a way to make the social links in the new OSP Real Estate Template open in a new window?
I dont want my visitors going away by clicking on them.
Also, is there a way to remove some of them, or do I have to do this within the module itself?
Thanks
M
Does anyone know if there is a way to make the social links in the new OSP Real Estate Template open in a new window?
I dont want my visitors going away by clicking on them.
Also, is there a way to remove some of them, or do I have to do this within the module itself?
Thanks
M

Please Log in or Create an account to join the conversation.
- DimitrisTEI
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 2
10 years 10 months ago #51378
by DimitrisTEI
Replied by DimitrisTEI on topic Social module - Open in new page
Hi maria,
First of all, you have to edit this file modules / mod_os_social / tmpl / default.php
You will see a list with all social media urls.
If you want the facebook icon to opens a new tab with facebook page you have to replace the line
<li><span class="above">Facebook</span><a href="<?php echo $params->get('facebook'); ?>"><i class="fa fa-facebook below "></i></a></li>
with that:
<li><span class="above">Facebook</span><a href="<?php echo $params->get('facebook'); ?>"target="_blank"><i class="fa fa-facebook below "></i></a></li>
You will do the same to other social media
First of all, you have to edit this file modules / mod_os_social / tmpl / default.php
You will see a list with all social media urls.
If you want the facebook icon to opens a new tab with facebook page you have to replace the line
<li><span class="above">Facebook</span><a href="<?php echo $params->get('facebook'); ?>"><i class="fa fa-facebook below "></i></a></li>
with that:
<li><span class="above">Facebook</span><a href="<?php echo $params->get('facebook'); ?>"target="_blank"><i class="fa fa-facebook below "></i></a></li>
You will do the same to other social media
The following user(s) said Thank You: Dang Thuc Dam
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
10 years 10 months ago #51388
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Social module - Open in new page
Yes, that's correct.
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.