Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2008-01-27 23:32:24

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

article_image form?

Offline

#38 2008-01-27 23:37:49

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

Sorry, I meant article_listing form (and I’ve changed it above)

Another small one:
In Pages, the Tag Builder has “tag_site_name” which should be Site Name to be consistent.

Last edited by zero (2008-01-27 23:39:15)


BB6 Band My band
Gud One My blog

Offline

#39 2008-01-27 23:39:00

Neko
Member
Registered: 2004-03-18
Posts: 458

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

stm_image_uploader doesn’t work anymore. All I see are the TXP admin header and tabs, plus something that says “restricted area”. I checked if plug-ins are enabled for admin side and yes they are. Everything else seems to work fine! :)

Offline

#40 2008-01-27 23:42:04

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

Sorry for the [OT] question, but is there somewhere a document listing the changes from the previous version like new tag attributes etc. ?

Thanks!

Martin

Offline

#41 2008-01-27 23:47:10

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

Masa, is the HISTORY.txt that comes with the download sufficient?


BB6 Band My band
Gud One My blog

Offline

#42 2008-01-28 00:10:19

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

TextBook has a list of new tags. Here’s a tag and att list of the latest taghandlers too:

<txp:page_title />
	separator = : 
<txp:css />
	format = url
	media = screen
	n
	rel = stylesheet
	title
<txp:image />
	align
	// remove in crockery
			'class
	escape
	html_id
	id
	name
	style
	// remove in crockery?
			'wraptag
<txp:thumbnail />
	align
	// remove in crockery
			'class
	escape
	html_id
	id
	link
	link_rel
	name
	poplink
	// remove in crockery
			'style
<txp:output_form />
	form
<txp:feed_link> ... </txp:feed_link>
	category = $c
	flavor = rss
	format = a
	label
	limit
	section = ( $s == 'default' ? '' : $s)
	title = gTxt('rss_feed_title')
	wraptag
<txp:link_feed_link />
	category = $c
	flavor = rss
	format = a
	label
	title = gTxt('rss_feed_title')
	wraptag
<txp:linklist />
	break
	category
	class = linklist
	form = plainlinks
	label
	labeltag
	limit
	offset
	sort = linksort asc
	wraptag
<txp:tpt_link />
	rel
<txp:linkdesctitle />
	rel
<txp:link_name />
	escape
<txp:link_url />
<txp:link_description />
	class
	escape
	label
	labeltag
	wraptag
<txp:link_date />
	format = $dateformat
	gmt
	lang
<txp:link_category />
	class
	label
	labeltag
	title
	wraptag
<txp:email> ... </txp:email>
	email
	linktext = gTxt('contact')
	title
<txp:password_protect />
	login
	pass
<txp:recent_articles />
	break = br
	category
	class = recent_articles
	label = gTxt('recent_articles')
	labeltag
	limit = 10
	section
	sort = Posted desc
	sortby
	sortdir
	wraptag
	no_widow = @$prefs['title_no_widow']
<txp:recent_comments />
	break = br
	class = recent_comments
	label
	labeltag
	limit = 10
	sort = posted desc
	wraptag
<txp:related_articles />
	break = br
	class = related_articles
	label
	labeltag
	limit = 10
	match = Category1
	Category2',
			'no_widow = @$prefs['title_no_widow']
	section
	sort = Posted desc
	wraptag
<txp:popup />
	label = gTxt('browse')
	wraptag
	section
	this_section
	type = c
<txp:category_list />
	active_class
	break = br
	categories
	class = category_list
	exclude
	label
	labeltag
	parent
	section
	sort
	this_section
	type = article
	wraptag
<txp:section_list />
	active_class
	break = br
	class = section_list
	default_title = $sitename
	exclude
	include_default
	label
	labeltag
	sections
	sort
	wraptag
<txp:search_input />
	form = search_input
	wraptag = p
	size = 15
	label = gTxt('search')
	button
	section
<txp:search_term />
<txp:link_to_next> ... </txp:link_to_next>
	showalways
<txp:link_to_prev> ... </txp:link_to_prev>
	showalways
<txp:link_to_home> ... </txp:link_to_home>
	class = false
<txp:text />
	item
<txp:if_article_id> ... </txp:if_article_id>
	id
<txp:posted />
	class
	format
	gmt
	lang
	wraptag
<txp:comments_count />
<txp:comments_invite />
	class = comments_invite
	showcount = true
	textonly = false
	showalways = false
	//FIXME in crockery. This is only for BC.
			'wraptag
<txp:comments_form />
	class = comments_form
	form = comment_form
	isize = 25
	msgcols = 25
	msgrows = 5
	msgstyle
	show_preview = empty($has_comments_preview)
	wraptag
<txp:comments_error />
	break = br
	class = comments_error
	wraptag = div
<txp:if_comments_error> ... </txp:if_comments_error>
<txp:comments_annotateinvite> ... </txp:comments_annotateinvite>
	class = comments_annotateinvite
	wraptag = h3
<txp:comments />
	form = comments
	wraptag = ($comments_are_ol ? 'ol' : '')
	break = ($comments_are_ol ? 'li' : 'div')
	class = comments
	breakclass
	limit
	offset
	sort = posted ASC
<txp:if_comments_preview> ... </txp:if_comments_preview>
<txp:comment_permlink> ... </txp:comment_permlink>
	anchor = empty($thiscomment['has_anchor_tag'])
<txp:comment_id />
<txp:comment_name />
	link = 1
<txp:comment_email />
<txp:comment_web />
<txp:comment_time />
	format = $comments_dateformat
	gmt
	lang
<txp:comment_message />
<txp:comment_anchor />
<txp:message />
<txp:author />
	link
	section
	this_section
<txp:if_author> ... </txp:if_author>
	name
<txp:if_article_author> ... </txp:if_article_author>
	name
<txp:body />
<txp:title />
	no_widow = @$prefs['title_no_widow']
<txp:excerpt />
<txp:category1> ... </txp:category1>
	class
	link
	title
	section
	this_section
	wraptag
<txp:category2> ... </txp:category2>
	class
	link
	title
	section
	this_section
	wraptag
<txp:category> ... </txp:category>
	class
	link
	name
	section = $s
	// fixme in crockery
			'this_section
	title
	type = article
	wraptag
<txp:section> ... </txp:section>
	class
	link
	name
	title
	wraptag
<txp:keywords />
<txp:article_image />
	align
	// remove in crockery
			'class
	escape
	html_id
	style
	// remove in crockery?
			'thumbnail
	wraptag
<txp:search_result_title />
<txp:search_result_excerpt />
	break =  …
	hilight = strong
	limit = 5
<txp:search_result_url />
<txp:search_result_date />
<txp:search_result_count />
	text = ($t == 1 ? gTxt('article_found') : gTxt('articles_found'))
<txp:image_index />
	label
	break = br
	wraptag
	class = image_index
	labeltag
	c = $c
	// Keep the option to override categories due to backward compatiblity
			'limit
	offset
	sort = name ASC
<txp:image_display />
<txp:if_comments> ... </txp:if_comments>
<txp:if_comments_allowed> ... </txp:if_comments_allowed>
<txp:if_comments_disallowed> ... </txp:if_comments_disallowed>
<txp:if_individual_article> ... </txp:if_individual_article>
<txp:if_article_list> ... </txp:if_article_list>
<txp:permlink> ... </txp:permlink>
	class
	id
	style
	title
<txp:lang />
<txp:breadcrumb />
	wraptag = p
	sep =  » 
	link = 1
	label = $sitename
	title
	class
	linkclass = noline
<txp:if_excerpt> ... </txp:if_excerpt>
<txp:if_search> ... </txp:if_search>
<txp:if_search_results> ... </txp:if_search_results>
	min = 1
	max
<txp:if_category> ... </txp:if_category>
	name
<txp:if_article_category> ... </txp:if_article_category>
	name
	number
<txp:if_section> ... </txp:if_section>
	name
<txp:if_article_section> ... </txp:if_article_section>
	name
<txp:php> ... </txp:php>
<txp:custom_field />
	name = @$prefs['custom_1_set']
	escape
	default
<txp:if_custom_field> ... </txp:if_custom_field>
	name = @$prefs['custom_1_set']
	val = NULL
<txp:site_url />
<txp:img />
	src
<txp:error_message />
<txp:error_status />
<txp:if_status> ... </txp:if_status>
	status = 200
<txp:page_url />
	type = request_uri
<txp:if_different> ... </txp:if_different>
<txp:if_first_article> ... </txp:if_first_article>
<txp:if_last_article> ... </txp:if_last_article>
<txp:if_plugin> ... </txp:if_plugin>
	name
	ver
<txp:file_download_list />
	break = br
	category
	class = file_download_list
	form = files
	label
	labeltag
	limit = 10
	offset
	sort = filename asc
	wraptag
	status = 4
<txp:file_download />
	filename
	form = files
	id
<txp:file_download_link> ... </txp:file_download_link>
	filename
	id
<txp:file_download_size />
	decimals = 2
	format
<txp:file_download_created />
	format
<txp:file_download_modified />
	format
<txp:file_download_id />
<txp:file_download_name />
<txp:file_download_category />
	class
	title
	wraptag
<txp:file_download_downloads />
<txp:file_download_description />
	class
	escape
	wraptag
<txp:hide> ... </txp:hide>

Last edited by jm (2008-01-28 00:12:33)

Offline

#43 2008-01-28 00:12:19

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

Thanks very much Peter, it’s indeed plenty of information.
Just didn’t think of looking in the download package ;-)

And thanks JM, too!

Last edited by masa (2008-01-28 00:14:10)

Offline

#44 2008-01-28 05:48:36

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

zero wrote:

In Pages, the Tag Builder has “tag_site_name” which should be Site Name to be consistent.

Added to the language server. Should be fixed with an update at the language prefs page.

Offline

#45 2008-01-28 07:26:58

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

zero wrote:

In the article_listing form the posted format=”%Y-%m-%d”

This can be confusing if the date is say: 2008-05-06
In UK we use 06-05-2008 for the same date, so we can never tell if 05-06 is the 5th of June or 6th of May.

“%Y-%M-%d” would be obvious to everyone, I think.

According to the strftime manual, %M is “minute as a decimal number”, so I think that will cause more confusion. ”%Y-%m-%d” is a standard international date notation.

Offline

#46 2008-01-28 09:49:38

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

Ruud, according to this PHP date page %M is a short textual representation of a month, three letters.

%b is the strftime equivalent I was thinking of.


BB6 Band My band
Gud One My blog

Offline

#47 2008-01-28 10:23:09

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

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

zero, ISO format is an international standard – you should be seeing 2008-01-28. It’s less confusing than 01-28-2008 or 28-01-2008. Follow the W3 link to see why abbreviated months are problematic.

PS: it’s date('M') without a percent ;).

Last edited by jm (2008-01-28 10:23:25)

Offline

#48 2008-01-28 11:26:33

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.6

I don’t want to start a debate and I can see why abbreviated months can be a problem from the ISO link. But just something to think about:
strftime formats a local time/date according to locale settings

So a 3-letter month would be output in the language the user knows? Just my 2p


BB6 Band My band
Gud One My blog

Offline

Board footer

Powered by FluxBB