Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2006-09-15 22:01:05

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Another pre-release, 4.0-20060831.zip

ok, i can confirm now that there were no troubles in “downgrading” to 4.0.3 final and that the problem went away – i can view stickies as separate articles again.

That doesn’t help us fix the problem, if there is one.


Alex

Offline

#26 2006-09-15 22:16:37

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

Re: Another pre-release, 4.0-20060831.zip

patience, i’ll try to post a bug report..

Offline

#27 2006-09-16 03:52:50

placenamehere
Archived Plugin Author
Registered: 2004-11-21
Posts: 88
Website

Re: Another pre-release, 4.0-20060831.zip

not sure how long this has been an issue but I saw it while testing 4.0-20060831 on a new local server configuration (MAMP on port 8888)…

BUG: when serving files from a domain with a port # specified (more accurately when $siteurl has a port number) the resulting Atom feeds are invalid because id is not a valid TAG (problem: the extra : delimiter is throwing things out of wack).

the offending code is in publish/atom.php:

<code>
//Atom feeds with mail or domain name
$dn = explode(‘/’,$siteurl);
$mail_or_domain = ($use_mail_on_feeds_id)? eE($blog_mail_uid):$dn0;
$out[] = tag(‘tag:’.$mail_or_domain.’,’.$blog_time_uid.’:’.$blog_uid.(($section)? ‘/’.$section:’‘).(($category)? ‘/’.$category:’‘),‘id’);
</code>

I don’t know enough about atom without doing some digging to know what the appropriate solution to the problem is (escaping the colon somehow, lopping it off.. does this string ‘mean’ or reused for anything?)


Site: placenamehere.com
Microformat Plugin: pnh_mf

Offline

#28 2006-09-17 13:40:27

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: Another pre-release, 4.0-20060831.zip

report install 4.0-20060831

preface
i needed to manually put in the config.php from my official 4.0.3 install.
testing mode: enabled.
errors: none.

report
frontend:
all working incl. plugins aaa_dates 0.11, upm_image 0.4.4 and zem_prblock 0.1

backend:
i modified the textpattern.css to suit editing pages, forms and styles on my small laptop screen 1024 × 768. see the changed entries as displayed below.

code size in forms
<code>
code, .code {
font: 0.9em Monaco, “Courier New”, monospace;
}
</code>

form window sizes page and css, added textarea#form
<code>
textarea#html {
margin-top: 6px;
width: 600px;
height: 440px;
}
</code>
<code>
textarea#css {
width: 600px;
height: 460px;
}
</code>
<code>
/* new entry */
textarea#form {
width: 500px;a
height: 330px;
}
</code>

idea of this: not having to scroll other than in form itself, save button below remains visible without page scrolling.

other
changing three into two lines per articles in the article list would be perfect for smaller screens.
<code>“edit” / “view”</code> under ID, instead of
<code>“edit”
“view”</code>

quest
is there a preliminary alphabetical tag listing as a pdf already?
i can’t access the wiki due to a display bug of my outdated but main browser mozilla 1.2, pardon me.
but i’d be willing to help list the new features for a txp3.pdf or whatever.

THANX VERY MUCH TO THE DEVELOPERS TEAM FOR ALL YOUR EFFORTS & NEW FEATURES!

Last edited by jayrope (2006-09-17 13:59:11)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#29 2006-09-23 06:47:36

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

Re: Another pre-release, 4.0-20060831.zip

@jayrope: Upgrade to Seamonkey – newest Mozilla Suite.

Few things:

  • The tagbuilder for RSS still shows 0.92 in the “flavor” label. Nit-picky, but only “flavor” and “format” labels are lowercase, whereas the others are properly capitalized.
  • I have an ampersand in my tagline, so the Atom feed throws up an XML-parsing error. The RSS one converts it to an entity. Atom output: <subtitle type="text">Photography & Design</subtitle>
  • It’d be really nice if the collapsible menus (at least in the write area) would remember if they were expanded or not after saving an article. EDIT: I just disabled JS since the menus kept collapsing, but they’re hidden with the regular CSS, not a JS-loaded-CSS file (document.write(‘<link rel… />’);). Could this be changed?

Aside from that, I love the new tags and attributes, especially thumbnail for article_image and this_section for categories. Excellent work!

EDIT: Another Atom parsing error. Tag used (from tagbuilder): <txp:link_feed_link flavor="atom" format="a" label="XML" title="Links Feed" />. The odd, garbled error:

<blockquote> <br> <b>Notice</b>: Undefined variable: thisauthor in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>158</b><br> <br> <b>Notice</b>: Undefined variable: feed_time in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>162</b><br> <br> <b>Notice</b>: Undefined variable: thisauthor in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>158</b><br> <br> <b>Notice</b>: Undefined variable: feed_time in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>162</b><br> <br> <b>Notice</b>: Undefined variable: thisauthor in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>158</b><br> <br> <b>Notice</b>: Undefined variable: feed_time in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>162</b><br> <br> <b>Notice</b>: Undefined variable: thisauthor in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>158</b><br> <br> <b>Notice</b>: Undefined variable: feed_time in <b>W:\www\txp\textpattern\publish\atom.php</b> on line <b>162</b><br>

[reparsing as HTML in Opera reveals the following symbols repeated for a few lines]
�
</blockquote>

The links are the default, Textbook/TXP resources/Textpattern too. Again, the RSS feed works fine for <samp>http://localhost/txp/rss/?area=link</samp>

Last edited by jm (2006-09-23 18:59:54)

Offline

#30 2006-09-24 04:15:10

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

Re: Another pre-release, 4.0-20060831.zip

According to the Textbook, class has been added to article_image, but I got an undefined tag notice – taghandlers.php is still missing it.

Also, when the class attribute is added to the file, can an html_id attribute be added (while you’re there) like with txp:thumbnail and txp:image?

edit: Guess it didn’t make it into the zip, but I just found the class attribute.

edit<sup>2</sup>: article_image is missing this ($class ? ' class="'.$class.'"' : ''). for both if($escape == html) and else, so it doesn’t work.

Last edited by jm (2006-09-24 04:25:05)

Offline

#31 2006-09-26 11:14:28

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Re: Another pre-release, 4.0-20060831.zip

Lo,

at admin side / image list sorting by clicking the column title doesn’t work.

at row 70 txplib_html.php

<code>
$o .= ($method) ? a.“method=$method” : ‘’;
</code>

when it should be

<code>
$o .= ($method) ? a.“search_method=$method” : ‘’;
</code>

?


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

#32 2006-09-27 05:01:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Another pre-release, 4.0-20060831.zip

Jon,

The tagbuilder for RSS still shows 0.92 in the “flavor” label.

Thanks. Fixed in r1851.

Nit-picky, but only “flavor” and “format” labels are lowercase, whereas the others are properly capitalized.

9/10 when you see that in the admin interface: they haven’t been translated yet.

It’d be really nice if the collapsible menus (at least in the write area) would remember if they were expanded or not after saving an article.

This is planned for already. It may not appear totally in the maintenance release, but later in crockery (it really depends, time is tight).

…but they’re hidden with the regular CSS, not a JS-loaded-CSS file (document.write(‘’);). Could this be changed?

Yes, in crockery it will be. The problem of using JS is that you can have a “flash” effect while the page is loading. Because we’re using the JQuery library in crockery, we can easily make use of it’s ability to load JS right away, and so it works seamlessly. Changing it now will just cause more frustration in the interim, so it’s best to just leave it as is (as I say, temporarily).

Check r1853. That should bring the three image tags up to par?

anoke, thanks for catching that. r1854.

Offline

#33 2006-09-27 05:54:05

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

Re: Another pre-release, 4.0-20060831.zip

Thanks for the unbelievably-fast work!

I updated, but unfortunately, <txp:image id="6" html_id="foo" class="bar" /> returns <img src="http://localhost/txp/images/6.png" width="415" height="189" alt="Pointless Image" />. Same thing with <txp:article_image html_id="bar" class="foo" />, but no errors for either tags in debugging mode. I tried the wraptag attribute too, but I ended up with:

tag_error <txp:article_image wraptag=“div” class=“foo” html_id=“bar” /> -> Warning: join() [function.join]: Bad arguments. on line 2316. W:\www\txp\textpattern\publish\taghandlers.php:2316 join(

I’m thinking I got an old version or am doing something wrong, but I tried this and ended up with the same errors.

Last edited by jm (2006-09-27 05:56:17)

Offline

#34 2006-09-27 06:52:28

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Another pre-release, 4.0-20060831.zip

  • id and class are always applied to the wraptag.
  • Whoops, I goofed there. Try r1856.

Offline

#35 2006-09-27 07:33:37

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

Re: Another pre-release, 4.0-20060831.zip

Oh OK. Now it works with wraptag – didn’t know that had to be applied. I still like the current/4.0.3 method of applying the class to the image itself instead of using a wrapper, but then again, I don’t remember ever using the class attribute. The wraptag will be pretty handy for targeting with JS though.

Thanks Mary!

Offline

#36 2006-09-30 12:41:50

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Another pre-release, 4.0-20060831.zip

Strange, it works fine for me. Are you sure you’re not expecting it to do something it isn’t designed to do? i.e: it would output the article title on an individual article page; it would not output the first article title in an article list.

Offline

Board footer

Powered by FluxBB