SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

Is there an easy way to stop XOOPS from inserting the target="_blank" in custom block?
No this is hard coded into the system.

When XOOPS interpets bb code links it adds target="_blank". So it reads:

[URL=yourlink]LinkText[/URL]

and changes it to:

LinkText in html

This forces a new window to open.

It is possible to edit the file /html/class/module.textsanitizer.php. There is a small function in there called &xoopsCodeDecode that handles this. You can just remove everything that referes to target="blank". (Note: always make a backup before editing code.)

The best way to get around this is to make any custom blocks with links that you want to open in _self or _top in html. Then save the blocak as html.


The comments are owned by the author. We aren't responsible for their content.


Login

Who's Online

420 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 420


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Sep 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Did you know ?

you can speed up ADSL firefox browsing by a change in configurations.

Random question

How do I remove/change color of the line that goes around the block and ends up at the either side of the legend.blockTitle