thanatica2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Version 2.9 image editor not workingI’ll chime in and add that the crop (and apply only to thumbnail) function works on my install of 2.9.2 in Chrome, but not FF 3.6.2 (in which I have a lot of plugins installed). In my case, it’s probably a conflict with one or more FF plugins.
Well, not for me it doesn’t.
It can’t be a conflict of some sort, because I’m not getting any script errors in Firebug, and the cropping tool is clearly working. It’s just that it won’t save.
Forum: Fixing WordPress
In reply to: WordPress and relative URLsAs I have stated here:
http://wordpress.org/support/topic/279385?replies=7#post-1405148There is a perfectly reasonable solution to this problem. All that remains is for someone to implement it.
Forum: Requests and Feedback
In reply to: uploaded images. why absolute urls? It’s so stupid!Relative paths are perfectly doable even in an environment such as wordpress. ASP.NET has had a solution for this problem for years: the tilde. The tilde represents the base URL of the application, and converts any URL (that is generated by the server) to a absolute url.
Analogue to wordpress, when an image (or other object) is inserted in a post/page, do not include the full path. Instead, include something like “%siteurl%/path/to/image.jpg” and UPON DISPLAY convert to it whatever is neccesary for the browser to find it. This way a url is totally independent of permalinks and domain names.
Problem solved. Now to implement it.
Forum: Fixing WordPress
In reply to: How to insert a link to a PageYou can edit the permalink slug (it’s just under the title field, on page edit mode)
But then I would have to force the url to mismatch the title. Not good for accessibility.
Under attributes, you make the page a “child of” another page, and the permalink changes automatically.
And I would have to manually update all pages that refer to that permalink. That’s part of the problem I’m trying to solve.
Fine, since the previous one is now a sub page.
Not fine, since the link now refers to the wrong page.
Also PHP code in the content is ugly, not user-friendly, and error-prone. IF it even works to begin with.
But not to worry. I have created a simple plugin that does what I need.
<a href="$42$">Contact</a>
becomes
<a href="/yadayada/wordpress/contact">Contact</a>
Or whatever the permalink would be.This way I don’t have to hassle with static links in my content. The ID never changes, so the links will always be correct, no matter what the permalink is.
I still think it’s odd that wordpress doesn’t provide a mechanism similar to this. The “link” button in the editor only allows to enter a fully qualified url, which is completely useless for linking to pages, categories, tags, post, etc.
(btw, don’t you think wordpress defies the purpose of permalinks a little? “perma” stands for “permanent”, but on wordpress, permalinks are by no means permament…)
Forum: Fixing WordPress
In reply to: How to insert a link to a PageOh? So let’s be clear on this: I create a contact page at the root level. It’s permalink is then set at “/contact”.
Now I change the title to “Getting in touch”. How will WP know that “/contact” is really meant to be “/getting-in-touch”?
Another situation: I move the contact page to being a sub-page of “company info”, whereas the permalink would become “/company-info/contact”. Would “/contact” still work? And what if I happen to create yet another contact page?
Also, I still don’t have an answer to how to write the link in the HTML. I don’t know in the content what the base url is (live versus developement, for example) and I can’t use relative paths due to the nature of “pretty” urls. So I still don’t know how to go about this.