Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-02-27 10:03:20

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: [resolved] Default comments behavior?

Thanks both. But wet, I salute you.

Offline

#14 2009-02-27 11:44:03

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: [resolved] Default comments behavior?

Is there a right or wrong way to define a link in the DB field (txp tags, textile, xhtml)? I need to replicate this for refresh.

Don’t want to blow anything up.

Last edited by Destry (2009-02-27 11:45:24)

Offline

#15 2009-02-27 11:49:54

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: [resolved] Default comments behavior?

Just HTML, the DB texts are usually not parsed in any way (but you can of course add our own parsing by embracing any output with upm_textile or something similar).

Offline

#16 2009-02-27 12:08:14

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: [resolved] Default comments behavior?

Works beautifully with Txp tags! /* squeals and runs funny into the corn stalks */

// ADD YOUR TEXT HERE
	// Format: 'name_from_txp_lang" => 'My very own text',
	'comment_posted' 	=> 'Thanks for commenting. If you would like to post again, <a href="<txp:site_url /><txp:section />/<txp:article_id />/<txp:article_url_title />#txpCommentInputForm">refresh</a>
 the form.',
	//  STOP EDITING!

This was critical I think because I needed to have an anchor link to the form in context to a given article, and Txp tags make that easy to do. Not sure how I would have done it otherwise, except maybe Mary’s suggetion for smd_if, or something, but that’s just an assumption.

Last edited by Destry (2009-02-27 12:10:22)

Offline

#17 2009-02-27 12:17:57

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: [resolved] Default comments behavior?

Destry wrote:

Works beautifully with Txp tags! /* squeals and runs funny into the corn stalks */

I learn a new trick every day…

Offline

#18 2009-04-14 19:11:05

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [resolved] Default comments behavior?

Is there a support thread for this plugin? I’m working on a site with a custom language file that requires tedious manual updates when I upgrade Textpattern, and wet_babble would be a much more manageable way to do this.

Unfortunately, I can’t get it to work.

Here is a sample of language arrays I added to the plugin:

'article_posted' 	=> 'Record posted.',
'article_saved' 	=> 'Record saved.',

…but when I glance around the Textpattern UI, nothing seems to have changed.

Any pointers?

Last edited by johnstephens (2009-04-14 20:41:53)

Offline

#19 2009-04-14 19:28:16

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: [resolved] Default comments behavior?

I’ve opened a support thread for wet_babble.

Offline

Board footer

Powered by FluxBB