Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-30 12:09:22

nanikore
Member
From: Tokyo, Japan
Registered: 2006-07-09
Posts: 11
Website

[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

#2 2007-04-30 12:12:30

nanikore
Member
From: Tokyo, Japan
Registered: 2006-07-09
Posts: 11
Website

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

#3 2007-04-30 13:38:05

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [textile] Ellipses and other artifacts

There is a new resource for Textile, written by Zem:

The Textile Reference Manual


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

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

#5 2007-04-30 23:57:08

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [textile] Ellipses and other artifacts

Replace your modified textpattern/lib/classTextile.php with a new one.

Offline

#6 2007-05-01 00:31:00

nanikore
Member
From: Tokyo, Japan
Registered: 2006-07-09
Posts: 11
Website

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

Re: [textile] Ellipses and other artifacts

FAQ.


Alex

Offline

#8 2007-05-01 08:41:44

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#9 2007-05-02 12:50:38

nanikore
Member
From: Tokyo, Japan
Registered: 2006-07-09
Posts: 11
Website

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

Board footer

Powered by FluxBB