The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Link type - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Link type (/showthread.php?tid=2737)



Link type - kosmoszen - 2012-02-10

Sorry to open another post, but its another problem. Smile
Why when i write a simple link in a component (footer for example), get simple auto adds my local address prefix?
Example, when i write:
Code:
<a href="www.website.com">LINK</a>
getsimple turn it in "www.localsite.com/www.website.com" when i click on it.
I found something on this forum about this topic, but just about the page editor.
So, when i use WYSIWYG editor i can solve this problem choosing "URL" instead of "Local Link". And it works.
But how can do this in footer for example? or in header?


Link type - mvlcek - 2012-02-10

kosmoszen Wrote:Sorry to open another post, but its another problem. Smile
Why when i write a simple link in a component (footer for example), get simple auto adds my local address prefix?
Example, when i write:
Code:
<a href="www.website.com">LINK</a>
getsimple turn it in "www.localsite.com/www.website.com" when i click on it.
I found something on this forum about this topic, but just about the page editor.
So, when i use WYSIWYG editor i can solve this problem choosing "URL" instead of "Local Link". And it works.
But how can do this in footer for example? or in header?

If a link does not start with http(s), the browser will add the server name. If it does not start with a /, it will also add the current directory. You have to specify an external link as "http://www.website.com"!


Link type - JoeyDown - 2012-02-10

Code:
<a href="http://www.website.com/">LINK</a>



Link type - kosmoszen - 2012-02-10

Ahahah, small problem for a big idiot!
Im not at home now, it will be the first thing i will try.
Anyway, thank you! Smile


Link type - Connie - 2012-02-10

well, this is a problem which is not typical for GS, links need the protocol "http"

you might not have noticed it because maybe other applications add that automatically ....