need to add <base target> to head HTML

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Apr 12, 2013 7:48 pm
Reply with quote
Report this post
Hi! I'm trying to get all the links on my site to open with the _self target. I've added <base target="_self"> to the header HTML. I did it by adding the HTML to the head.php file in the blocks folder. Is that correct?

You can see the added <base target="_self"> on line 86 of the source code of my front page: http://floortracks.cloudaccess.net/

It doesn't seem to be working, so just wondering if there's something different I need to do for all links to open with _self.

This is mainly for an online store extension. I want to keep it in an iframe, so every step along the way stays in the iframe, especially the step that goes to PayPal. My main goal is to keep the PayPal payment process wrapped in my site and not take the customer away from my site to go through PayPal. Is there a way to do this?

Thank you!
User avatar
Fresh Boarder

GK User
Sat Apr 13, 2013 8:38 am
Reply with quote
Report this post
Hi,
_self - Opens the linked document in the same frame as it was clicked (this is default!).
If you want to change in all links on your page, that's sounds strange, because this means that you (or another editor) added the other settings to links.

You can use ReReplacer which replace whatever you want in your entire site, even links. So all you need to do is use regular expressions to search and replace. from <a to <a target="_self".

But if your shop is iframe this means that he is on other domain or sub domain - and Joomla! or any other CMS don't have enough possibilities to change anything at it.

Sure, file gk_startup\layouts\blocks\head.php was okey.
User avatar
Platinum Boarder


cron