url target =_self
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
How to make an url to open in same window. [url]url[/url] opens in new window. I want it to open it in same window.
Votes:6
Average:3.33
msg# 1.1
This is not an issue of piCal.
Just hack module.textsanitizer.php
quite a FAQ.
Votes:4
Average:7.50
msg# 1.1.1
Quote:
GIJOE wrotes:
This is not an issue of piCal.
Just hack module.textsanitizer.php
quite a FAQ.
I inserted
Quote:
$patterns[] = "/\[localurl=(['\"]?)(http[s]?:\/\/[^\"'<>]*)\\1](.*)\[\/localurl\]/sU";
$replacements[] = '<a href="\\2" target="_self">\\3</a>';
That did the trick!
Thank you.
Votes:3
Average:6.67