You are not logged in.
I have a simple question: where can i edit the “quotation marks” and ‘apostrophes’ and “…the dotdotdot…” in the textpattern folder so they’d appear raw like plaintext? thakyou!:D
Last edited by wordgasm (2006-10-20 04:08:53)
It takes a heap of sense to write good nonsense. – Mark Twain
Offline
just the three – the quotation marks, apostrophes, and ellipses. I tried to edit classtextile.php from the lib folder, followed my common sense and simply erased the lines that does the replacement to these three, but nothing happened. T_T
It takes a heap of sense to write good nonsense. – Mark Twain
Offline
After editing classTextile.php, you have to save the articles again (the conversion of text using textile in articles happens only upon saving the article).
Offline
mmmmkay. so everything I just asked is pointless since I have about 400 articles. Thanks anyway. :)
It takes a heap of sense to write good nonsense. – Mark Twain
Offline
you might be able to find and replace all via mysql. A programmer is needed here to let us know if the link I’m posting is ok to use for what you need.
Last edited by colak (2006-10-20 14:46:32)
neme.org | neme-imca.org | hblack.net | LABS
Offline
I’m sorry but I don’t understand a programmer’s language. ekk. but if you would provide some guidelines that would be great. :)
It takes a heap of sense to write good nonsense. – Mark Twain
Offline
As I said I am not a programmer so one is needed to confirm… The way I understand the script and how it could be used in txp is:
update [textpattern] set [body] = replace([body],'[“]','["]');
Note
do not execute the script before a plugin or a txp developer here confirms that it is ok
Last edited by colak (2006-10-23 16:22:03)
neme.org | neme-imca.org | hblack.net | LABS
Offline
Not quite right, but close.
UPDATE textpattern SET Body_html = REPLACE(Body_html, '“', '"');
UPDATE textpattern SET Body_html = REPLACE(Body_html, '”', '"');
UPDATE textpattern SET Body_html = REPLACE(Body_html, '…', '...');
Just open up phpMyAdmin and run those (“SQL”) on your Textpattern database.
My email address has changed recently. If you need to contact me, use the forum contact form.
Offline
"N4m Design & Immersive Imaging":javascript:FullScreen('http://www.n4mdesign.com/');
is turning into this on the resulting browser page:
N4m Design & Immersive Imaging');
The link doesn’t work. The highlight is there but but does not launch a new window and the corresponding page.
My service provider tells me it is not their doing (wrong character set) but something happening in the TextPattern script as it gets interpreted into html and writes the page. The offending character is apparently the apostrophe.
How can I fix this? Thanks,
John Dobbins
www.n4mdesign.com
(Edit: updated to display code properly. -Mary)
Last edited by Mary (2006-12-01 05:08:58)
Offline