JoomDev: SOCIAL ICONS - Custom to Sidemap. (1/1)
Welcome, Guest
Username: Password: Remember me

TOPIC: SOCIAL ICONS - Custom to Sidemap.

SOCIAL ICONS - Custom to Sidemap. 2 months 1 day ago #8305

  • joensen
  • joensen's Avatar
  • Offline
  • Junior Member
  • Posts: 38
  • Karma: 0
Hi,
How can I get this link to open on the same page, and not on a new page?

I have used: templates => JD Boston => Basic => SOCIAL ICONS => Custom

<a target="_blank" href="https://domainname/sidemap"> <i class = "fa fa sitemap">

that it will be

<a target="_self" href="https://domainname/sidemap"> <i class = "fa fa sitemap">
Attachments:
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 2 months 3 minutes ago #8313

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2246
  • Thank you received: 365
  • Karma: 60
Hello,

Yes, You can do this or you can also remove the target="_blank" no need if you don't want link open in the new window.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8320

  • joensen
  • joensen's Avatar
  • Offline
  • Junior Member
  • Posts: 38
  • Karma: 0
Where, or in what file can I remove the target = "_ blank" if I want this link to open in the same window.
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8323

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2246
  • Thank you received: 365
  • Karma: 60
Hello,

Open the social.php file and remove all the target="_blank" as you want.
Path: templates/TEMPLATENAME/features

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8337

  • joensen
  • joensen's Avatar
  • Offline
  • Junior Member
  • Posts: 38
  • Karma: 0
Thanks for your prompt reply. It works fine. Thanks.

What if there is an update to JD Boston, I would like to keep this change in the file
Path: templates/TEMPLATENAME/features/social.php
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8338

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2246
  • Thank you received: 365
  • Karma: 60
Hello,

The code will be back when you update the JD Boston template. Because we have modified the template core file. The best way to achieve this use custom HTML module.

Thanks,
Chandna
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8343

  • joensen
  • joensen's Avatar
  • Offline
  • Junior Member
  • Posts: 38
  • Karma: 0
I have tried to use custom HTML module.

<div id="sp-top2" class="col-sm-6 col-md-6">
<div class="sp-column ">
<ul class="social-icons">
<li><a href="www.facebook.com/side/" target="_blank" rel="noopener"><i class="fa fa-facebook"></i></a></li>
<li><a href="side.com/sidemap"><i class="fa fa-sitemap"></i></a></li>
</ul>
</div>
</div>

But that is completely wrong, I do not know how this can be done, please help
Attachments:
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8353

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2246
  • Thank you received: 365
  • Karma: 60
Please use this code.

<ul class="social-icons">
   <li><a href="www.facebook.com/side/" rel="noopener"><i class="fa fa-facebook"></i></a></li>
   <li><a href="side.com/sidemap"><i class="fa fa-sitemap"></i></a></li>
</ul>

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8354

  • joensen
  • joensen's Avatar
  • Offline
  • Junior Member
  • Posts: 38
  • Karma: 0
Thanks for your prompt reply.

This is the same as I've used, and it gives the same results as before!
And not like the original from JD Boston
Attachments:
The administrator has disabled public write access.

SOCIAL ICONS - Custom to Sidemap. 1 month 4 weeks ago #8355

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2246
  • Thank you received: 365
  • Karma: 60
Hello,

Please share the site URL in order to fix the problem.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Time to create page: 0.420 seconds