Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
relative urls in images and internal links
#17
yojoe Wrote:
Carlos Wrote:What do other CMSs (WP, etc.) do about this?
I don't think there's a failproof way to do... (except using some kind of token in page content...)

It showed off that absolute paths were not ckeditor's problem, but GS function we mentioned.
Best thing would be to tweak this function, and add a new gsconfig value:
Code:
# Turn on absolute urls
#define('absoluteurls', TRUE);
This way relative paths would be a default option.

Yeah but where do you make the paths relative to ?
Current page works 99% of the time because GS uses a single page system, but there is a possibility for it to break if some plugin or future change uses a different path, maybe those could use baseref, but that can get sloppy.

maybe relative to siteroot
/path

At least its domain portable
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
relative urls in images and internal links - by shawn_a - 2012-04-28, 01:57:30



Users browsing this thread: 2 Guest(s)