Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2008-03-06 16:24:29

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

Re: Feedback on the Textpattern 4.0.6 release

merz1,

I think TxP <txp:link_to_home></txp:link_to_home> will do the job.

In fact, <txp:site_url /> and <txp:link_to_home /> (as a self-closed tag) seem to do the same job, if I’m not missing anything.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#74 2008-03-07 11:13:25

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback on the Textpattern 4.0.6 release

@maniqui: Exactly. Right. OK. Thanks :-)

Can some kind soul please correct the documentation.

  • Replace “which returns the full URL” with “which returns the full URL including the trailing slash”.
  • Add some info for example 1 : <txp:site_url /> and <txp:link_to_home /> (as a self-closed tag) do the same job.
  • Replace or delete “Example 2: Container Example”.
    I would like a replacement as it is easier to use: <txp:link_to_home>Home</txp:link_to_home> links to the homepage.

A nice example how two tags semantically can be right by wording but pretty confusing. (I prefer site_url , single and closing)

Btw: Textile bug? -> “@<txp:site_url />@

Textile produces:

“@<txp:site_url />@ 

Browser output:

“@http://textile.thresholdstate.com/@

Edit: Bug reported.

Last edited by merz1 (2008-03-07 11:20:52)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#75 2008-03-22 20:09:51

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Feedback on the Textpattern 4.0.6 release

Do we have a list of plugins that do work with 4.06, and a list of plugins that don’t?

Offline

#76 2008-03-22 22:03:39

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

Re: Feedback on the Textpattern 4.0.6 release

See the opening post for plugins that need updates.

Offline

#77 2008-03-23 14:10:57

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Feedback on the Textpattern 4.0.6 release

Thanks Ruud. I noticed just now that the “Textbook entry” for if_article_id needs updating for 4.06 – the tag supports comma separated list of ids, which is not mentioned.

Offline

#78 2008-03-24 19:03:25

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

Re: Feedback on the Textpattern 4.0.6 release

Does ‘Automatically append comments to articles’ work right?

If you set it to No, comments should show for articles that have their comments set to Yes, shouldn’t they? Provided all other options are correct.

Please check it and if it is working correctly, it must be my setup.


BB6 Band My band
Gud One My blog

Offline

#79 2008-03-24 19:17:01

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

Re: Feedback on the Textpattern 4.0.6 release

The “automatically append comments” option, if enabled, only means that you don’t have to explicitly add comments tags into your page template. If you set it to “no”, you have to add the relevant comments tags to your page template.

Offline

#80 2008-03-24 19:42:01

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

Re: Feedback on the Textpattern 4.0.6 release

Ah, of course, I’d forgotten about that. I was just playing with a new install and had it all set up as I usually do except for the comments forms and page templates. Cheers.


BB6 Band My band
Gud One My blog

Offline

#81 2008-03-27 16:00:23

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback on the Textpattern 4.0.6 release

(If already reported/discussed somewhere else pls. point me there)

<txp:site_url /><txp:page_url /> results in double-slash between both blocks.

Output: http://sankt-georg.info//kategorie/Tourismus/

The ‘//’ is wrong in the output.

Expected: http://sankt-georg.info/kategorie/Tourismus/

Example for usage. Bookmark everything from a site at del.icio.us:

<a href=“http://del.icio.us/post?url=<txp:site_url /><txp:page_url />” title=”“>del.icio.us</a>

Note: <txp:permlink /> only works for single articles. To bookmark anything else I did not find a working solution with TXP tags.

Any hints or tips beside hardcoding the site URL?

The TXP feature request is: Add parameter trailingslash="0" to tag <txp:site_url />.

Last edited by merz1 (2008-03-27 16:46:01)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#82 2008-03-27 17:45:08

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

Re: Feedback on the Textpattern 4.0.6 release

<a href=“http://del.icio.us/post?url=<txp:php>echo rtrim(site_url(array()), '/');</txp:php><txp:page_url />” title=”“>del.icio.us</a>

Offline

#83 2008-03-27 18:41:20

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Feedback on the Textpattern 4.0.6 release

> <txp:php>echo rtrim(site_url(array()), '/');</txp:php>

Always a pleasure hanging out here. Thanks Ruud!

Last edited by merz1 (2008-03-27 18:41:44)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#84 2008-03-31 10:20:55

SebastianS
Member
From: Australia
Registered: 2007-10-05
Posts: 46

Re: Feedback on the Textpattern 4.0.6 release

Using Rob Sable’s Plugin rss_article_edit I am getting the message:-

Warning:
Error: ‘’ is not an integer
textpattern/include/txp_article.php:751 assert_int()
textpattern/include/txp_article.php:320 checkifneighbour()
textpattern/include/txp_article.php:50 article_edit()
textpattern/index.php:116 include()
in /home/————-/domains/webdevelopmentnotes.com/public_html/textpattern/lib/txplib_misc.php on line 1999

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) order by Posted desc limit 1’ at line 1 select ID from textpattern where Posted < from_unixtime() order by Posted desc limit 1 in /home/stmawes/domains/webdevelopmentnotes.com/public_html/textpattern/lib/txplib_db.php on line 81

which is similar to the one geoff777 on page 47 is getting with Textpattern 4.06.

Is their a “simple” fix for this plugin, or does it work on other upgraded 4.06 sites?
THX

Offline

Board footer

Powered by FluxBB