Login!
Lost password?
 

MODx Bug/Feature Tracker and Feature Requests

Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!

FS#1036 — strip_image_paths needs to be editable when no editor is selected

Attached to Project — MODx
Opened by Brett (The Man Can!) - Tuesday, 18 March 2008, 06:02PM
Last edited by Jeff Whitfield (Bravado) - Sunday, 28 September 2008, 12:04PM
Task Type Bug Report
Category Core Distribution
Status Closed
Assigned To Jeff Whitfield (Bravado)
Operating System All
Severity High
Priority High
Reported Version 0.9.6.1
Due in Version 0.9.6.2
Due Date Undecided
Percent Complete 100%

Details

In r3492 a change was made that changes how the "Resource URL" (in the config, rb_base_dir in the db) is applied to Image TVs (and perhaps other TVs as well). Instead of just prefixing the paths with the rb_base_dir on selection (from the TV file browser), they now get prefixed with the full URL + rb_base_dir.

To turn this off, you need to change strip_image_paths, which can be done if you have an editor enabled in the config, but is inaccessible without an editor selected.

Some people (me) don't use RTEs, and don't want this new behavior. While I can easily edit the strip_image_paths manually in the database, this option should probably be editable even without an editor selected, since it does actually affect things even with no editor selected.

(Any snippet or code that does image manipulation, for example, will have a much more difficult time with a URL as opposed to a server path. phpThumb is probably the most widely used such script, but there are a few others I've used/written.)
This task depends upon

This task blocks these from closing
Closed by  Jeff Whitfield (Bravado)
Sunday, 28 September 2008, 12:04PM
Reason for closing:  Implemented
Additional comments about closing:  Implemented in 0.9.6.3