The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image path in GS 3.x.x
#1
Hi @ll,

is there any possibility to use a default path like the path in the templates for example:

Code:
<img src="<?php get_site_url(); ?>/data/uploads/images/logo.gif" alt="Logo">

that i have allways the correct path the the images inside my content ?

currently i have a path like this:

http://domain.tld/data/uploads/images/test.jpg

now if i change the installation to another location or i make any tests or updates the path are no longer correct which was made by the WYSIWYG Editor inside GS.

if it is possible to change to a path like this inside the editor or to

/data/uploads/images/logo.gif

an the system find the "<?php get_site_url(); ?>" automatic this looks good.

Any solution for this issue?

Hope anyone can help.

best regards,

Harald
Reply


Messages In This Thread
image path in GS 3.x.x - by phpman - 2014-04-27, 01:01:14
RE: image path in GS 3.x.x - by Timbow - 2014-04-27, 05:01:37
RE: image path in GS 3.x.x - by Carlos - 2014-04-27, 18:11:09
RE: image path in GS 3.x.x - by shawn_a - 2014-04-27, 11:01:46
RE: image path in GS 3.x.x - by phpman - 2014-04-27, 21:36:49
RE: image path in GS 3.x.x - by phpman - 2014-04-27, 23:39:38
RE: image path in GS 3.x.x - by shawn_a - 2014-04-28, 00:09:43
RE: image path in GS 3.x.x - by phpman - 2014-04-28, 05:40:17
RE: image path in GS 3.x.x - by phpman - 2014-04-28, 23:04:25
RE: image path in GS 3.x.x - by phpman - 2014-04-29, 00:45:12
RE: image path in GS 3.x.x - by phpman - 2014-04-29, 00:59:32
RE: image path in GS 3.x.x - by shawn_a - 2014-04-29, 01:03:44
RE: image path in GS 3.x.x - by phpman - 2014-04-29, 01:08:03
RE: image path in GS 3.x.x - by Carlos - 2014-04-29, 01:20:11



Users browsing this thread: 8 Guest(s)