Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Ellipses and other artifacts
OK, some of this is because I should have looked into it quicker but…here we go. My site seems to have developed a case of the Ellipses. This tragic problem strikes those who make changes to classTextile.php and don’t really understand the ramifications.
So, a while ago I was getting annoyed that a lot of the three letter acronyms on my site were being rendered in a different font. I searched on here, and found what the issue was, and I just needed to edit the classTextile.php, which I did and the problem was fixed. Forward about three months, and I forgot what I changed, but my site now has a lot of ellipses (…) for some reason, especially after (but not always) three letter acronyms (e.g. the ‘RSS’ in my text on the front page) but also the ‘x’ as × in some of the text (on the front page at the bottom).
http://www.brightblack.net/
In classTextile.php, I can find only this reference:
define('txt_ellipsis', '…');
define(‘txt_dimension’, ‘×’);
and I’m a bit loathe to play with it, as when I commented out the ellipses, my Txp dashboard complained!
I’m wondering if it’s my text, but I typed the same thing in, and I repeat the result:
“
As you can see, the other parts of my sites include my blog, my photo gallery, and RSS feeds to all of that.
“
Always shows as:
“
As you can see, the other parts of my sites include my blog, my photo gallery, and RSS… feeds to all of that.
“
Any ideas? I’m pretty sure this is basic textile stuff, but I’m [still] not too far into it.
Thanks in advance … (no pun intended there)
Last edited by nanikore (2007-04-30 12:12:55)
Offline
Re: [textile] Ellipses and other artifacts
Actually, having played with http://textile.thresholdstate.com/ , I think what I changed was:
<span class=“caps”>RSS</span>
the caps class.
Offline
Re: [textile] Ellipses and other artifacts
There is a new resource for Textile, written by Zem:
Offline
#4 2007-04-30 20:18:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [textile] Ellipses and other artifacts
…when I commented out the ellipses…
We can’t support modified versions. As you can see, that can cause all kinds of problems when you don’t know what you’re doing.
…rendered in a different font.
Use CSS.
Offline
Re: [textile] Ellipses and other artifacts
Replace your modified textpattern/lib/classTextile.php
with a new one.
Offline
Re: [textile] Ellipses and other artifacts
I downloaded 4.0.4 again and copied the classTextile.php across and still get the same result. Now I am confused.
Offline
#7 2007-05-01 00:33:03
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline
Re: [textile] Ellipses and other artifacts
Reinstalling TXP isn’t enough. You have to save the affected articles again, otherwise the stored HTML version of the article won’t be refreshed.
Offline
Re: [textile] Ellipses and other artifacts
Thanks Ruud for the re-save tip, that did the trick.
Thanks Zem for the FAQ link; I think that’s where I went the first time.
I think it’s time to implement one of my work rules, of making a note of changes, and make one at a time.
Offline