- 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
10 years 9 months 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 6 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: Mr. Dam
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 6 months ago #51388
by Mr. Dam
Replied by Mr. 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: Mr. 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.