Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-07-31 06:51:34
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
[textile] Definition lists in Textile
Here it mentions something like:
dl. title:data goes here
Is there a reason why our PHP Textile doesn’t do definition lists? Will it ever?
Offline
Re: [textile] Definition lists in Textile
Because Textile is not a full replacement for HTML (that would have zero interest), and can be used alongside HTML.
However definitions list are useful and can be commonly used. I don’t know, you may want to ask the Textile 2 core maintainer (Zem).
Offline
#3 2007-08-01 02:27:17
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
Re: [textile] Definition lists in Textile
Yeah, I love def. lists, use them all the time.
Offline
Re: [textile] Definition lists in Textile
I agree textile definition lists would be very useful. Sure, I can write one with html, but I would love for my clients who are creating their own content to be able to use a definition list where appropriate.
Offline
Re: [textile] Definition lists in Textile
I love definition lists too.
So, I added it to the Textile 2.
You can find it at my site .
The page is Japanese only but you may figure out with the codes there.
Last edited by branchiopoda (2007-10-08 09:39:45)
Offline
Re: [textile] Definition lists in Textile
branchiopoda. Is your classTextile based off alex’s at thresholdstate.com or the other one by brad choate?
TXP Builders – finely-crafted code, design and txp
Offline
Re: [textile] Definition lists in Textile
jakob, it’s based on alex’s at thresholdstate.com included in the Textpattern package.
And the part around definition list has been made with the idea from TextilePHP.
Last edited by branchiopoda (2007-10-10 07:52:53)
Offline
Re: [textile] Definition lists in Textile
thanks for the info – so it’s alex’s with brad’s dl
solution added. That means one could drop it in in place of the existing one and gain dl lists. Nice, especially for fans of dl-lists like myself :-)
TXP Builders – finely-crafted code, design and txp
Offline
#9 2008-01-17 13:01:42
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: [textile] Definition lists in Textile
I love definition lists too.
So, I added it to the Textile 2.
You can find it at my site .
branchiopoda,
thanks a lot for the definition list modification.
However, if you use txp tags inside, they are wrongly parsed:
dl. *Definition text*:Text1 <txp:perm_link linkid="20">Link</txp:perm_link> more text
Text2 <txp:perm_link linkid="21">Link2</txp:perm_link> Text
<dl>
<dt><strong>Definition text</strong></dt>
<dd>Text1 <txp:perm_link linkid="20">Link1</txp:perm_link> more text</dd>
<dt>Text2 <txp</dt>
<dd>perm_link linkid=“21”>Link2</txp:perm_link> more text</dd>
</dl>
Any way to escape the colon inside txp tags?
Thanks!
Offline
Re: [textile] Definition lists in Textile
Hey for those less Textile-savvy (me): Can I use “classTextile.php” file from branchiopedia’s site to replace the “classTextile.php” that came with Textpattern, and I’ll magically have Textile definition list capabilities?
Offline
Re: [textile] Definition lists in Textile
nabrown78 wrote:
Hey for those less Textile-savvy (me): Can I use “classTextile.php” file from branchiopedia’s site to replace the “classTextile.php” that came with Textpattern, and I’ll magically have Textile definition list capabilities?
License says yes. And yes if it uses same functions and classes that TXP calls, so if it is compatible, so probably yes if it’s just slightly modified Textile class. Best way is just test and if all seems fine, then it is fine and even better ;)
Offline
Re: [textile] Definition lists in Textile
hi there,
if you wish a new code for Textpattern 4.2.0, ask me on my website for get the file.
This file is a classTextile.php-Update for 4.2.0-Textpattern-Version and include dl-list and abbr instead acronym.
Much thanks to branchiopoda and alex’s at thresholdstate.com.
best regards
Lythande
Offline