Something is not working correctly with my Theme Editor Install... When ever I am at: http://example.com/?q=admin/build/themes/editor/themename/ and click one of the drop downs on the right (example: Theme Info Files) the list will drop down. However when i select one of the files in this list to edit I am directed to: http://example.com/admin/build/themes/editor/themename/filetobeedited And them get a 404 Error!
The directory ./admin/build/themes/editor/themename/ did not exist. I created it and put the correct files in that directory. Then when I repeated the steps above the file would open as text (if it wasn't *.php of course).
Any thoughts?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | theme_editor.patch | 1.68 KB | arcaneadam |
Comments
Comment #1
arcaneadam commentedYeah, the links weren't created originally to work without clean-urls. It was an oversight on my part and one that I have rectified, but have not had a chance to make the commit and push the update live.
I'll make the patch and commit it by this weekend so it will work on your site.
Comment #2
sjmccoy commentedAny progress on the patch? I'm having the same issue.
Comment #3
arcaneadam commentedHere is the patch. I will commit it shortly into version 6-1.3( I think that is the version I would be on.)
Comment #4
sjmccoy commentedThanks for the quick response. Do I need to paste this code into theme_editor.inc?
Comment #5
sjmccoy commentedPatch works!
In the themes_editor.inc file I deleted this code starting at line 687:
$li='
';
and then replaced it with this code:
$li='
';
Comment #6
arcaneadam commentedI would in the future read Applying Patches for more info on the proper way to apply a patch. Although the course of action you took worked, for a more complex patch it could be very tedious/error prone.
Comment #7
sjmccoy commentedYeah, I did wonder if there was a better way to apply patches. Thanks for the link.