Textpattern CMS support forum

You are not logged in. Register | Login | Help

#71 2018-04-16 12:05:11

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: Testers needed: flat development (4.7+ only)

Hi Patrick, thanks!

Pat64 wrote #311064:

Do you project to rename this css.php file (into asset.php for example) and/or the <txp:css /> tag itself now that it can handle all kind of text file content?

Rename we can not (the backwards compatibility…), but a new name would be fine and easier to manage. But this requires a new Assets pane, new strings, some extra coding/testing, hence extra time. So consider this flat functionality as experimental atm and don’t rely on it in production.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#72 2018-04-16 12:51:50

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: Testers needed: flat development (4.7+ only)

Hi Oleg,

I am testing this and works wonderfully. I can fully understand the problem re big changes for now. Hopefully the semantics of the functionality will be included in 4.8.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#73 2018-04-27 05:40:20

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: Testers needed: flat development (4.7+ only)

The Reset button in the images seems slightly confusing before first use. Is it possible to have it hidden before an image for upload is selected?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#74 2018-04-27 06:57:12

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,093
Website

Re: Testers needed: flat development (4.7+ only)

The upload button could also be hidden until something is selected IMO.

Offline

#75 2018-04-27 07:08:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: Testers needed: flat development (4.7+ only)

philwareham wrote #311461:

The upload button could also be hidden until something is selected IMO.

The Upload button is not as much of a UI problem to me as it indicates that the image will be uploaded only after it is selected and the button is clicked. Without it, some may think that the image will be uploaded on selection…

These are of course very minor observations and after a single use, these functions become very apparent.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#76 2018-04-27 08:18:34

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,093
Website

Re: Testers needed: flat development (4.7+ only)

colak wrote #311462:

The Upload button is not as much of a UI problem to me as it indicates that the image will be uploaded only after it is selected and the button is clicked. Without it, some may think that the image will be uploaded on selection…

OK, good point.

Offline

#77 2018-04-27 08:19:55

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,546
Website

Re: Testers needed: flat development (4.7+ only)

philwareham wrote #311461:

The upload button could also be hidden until something is selected IMO.

I agree with Colak on this. It makes the sequence of actions clear. The “Reset” button… hmm, maybe, not so sure though. After a first (batch of) upload, the input field still keeps the data, so it should be possible to clear it.

Offline

#78 2018-04-27 09:51:16

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: Testers needed: flat development (4.7+ only)

colak wrote #311460:

The Reset button in the images seems slightly confusing before first use. Is it possible to have it hidden before an image for upload is selected?

philwareham wrote #311461:

The upload button could also be hidden until something is selected IMO.

Wrong thread, gentlemen! :-) Still, the Reset button is a standard <input type="reset" /> that applies to the whole upload form, not only fileinput. I’d leave its management with browsers.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#79 2018-04-27 13:19:04

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,911
Website

Re: Testers needed: flat development (4.7+ only)

etc wrote #311469:

Wrong thread, gentlemen! :-) Still, the Reset button is a standard <input type="reset" /> that applies to the whole upload form, not only fileinput. I’d leave its management with browsers.

Fair enough…. And you are right… It is the wrong thread! Apologies.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#80 2018-05-10 20:44:58

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: Testers needed: flat development (4.7+ only)

To continue testing flat resources (css, js etc) output in 4.7, you do not need to activate the following plugin anymore:

# Name: etc_easter_eggs v0.5 
# Type: Admin/Public/AJAX plugin
# 
# Author: 
# URL: 
# Recommended load order: 5

# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................

YToxMTp7czo0OiJuYW1lIjtzOjE1OiJldGNfZWFzdGVyX2VnZ3MiO3M6NjoiYXV0aG9yIjtz
OjA6IiI7czoxMDoiYXV0aG9yX3VyaSI7czowOiIiO3M6NzoidmVyc2lvbiI7czozOiIwLjUi
O3M6MTE6ImRlc2NyaXB0aW9uIjtzOjA6IiI7czo0OiJjb2RlIjtzOjEzMDM6ImlmICh0eHBp
bnRlcmZhY2UgPT0gJ2FkbWluJykgew0KICAgIGV0Y19wcmVmcygpOw0KLy8gICAgYWRkX3By
aXZzKCdwcmVmcy5hZHZhbmNlZCcsJzEsMicpOw0KICAgIHJlZ2lzdGVyX2NhbGxiYWNrKCdl
dGNfcHJlZnNfaW5zdGFsbCcsJ3BsdWdpbl9saWZlY3ljbGUuZXRjX2Vhc3Rlcl9lZ2dzJyk7
DQp9IGVsc2Ugew0KICAgIHJlZ2lzdGVyX2NhbGxiYWNrKCdldGNfcHJlZnMnLCAncHJldGV4
dF9lbmQnKTsNCiAgICByZWdpc3Rlcl9jYWxsYmFjaygnZXRjX3JzcycsICdyc3NfaGVhZCcp
Ow0KICAgIHJlZ2lzdGVyX2NhbGxiYWNrKCdldGNfcnNzJywgJ3Jzc19lbnRyeScpOw0KICAg
IHJlZ2lzdGVyX2NhbGxiYWNrKCdldGNfcnNzJywgJ2ZlZWRfZmlsdGVyJyk7DQp9DQoNCmZ1
bmN0aW9uIGV0Y19yc3MoJGV2ZW50LCAkc3RlcCA9IG51bGwpIHsNCiAgICByZXR1cm4gcGFy
c2VfZm9ybSgkZXZlbnQpOw0KfQ0KDQpmdW5jdGlvbiBldGNfcHJlZnNfaW5zdGFsbCgkZXZl
bnQgPSBudWxsLCAkc3RlcCA9IG51bGwpIHsNCiAgICBpZiAoJHN0ZXAgPT0gJ2RlbGV0ZWQn
KSB7DQogICAgICAgIHNhZmVfZGVsZXRlKCd0eHBfcHJlZnMnLCAiRklORF9JTl9TRVQobmFt
ZSwgJ3R4cF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NjhmYTc2NzI5
MDYyZmUxODQxMjNmMjE0MTg2Ijt9

DISCLAIMER: we hope to “officially” integrate this functionality in 4.7.2+, but probably certainly in a different way. So please be ready for changes if you use it now.

Last edited by etc (2018-10-08 15:30:46)


etc_[ query | search | pagination | date | tree | cache ]

Offline

Board footer

Powered by FluxBB