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,697
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,675
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,675
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,021
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,675
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,021
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,451
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,697
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,675
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,697
Website

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

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

# Name: etc_easter_eggs v0.2 
# 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
OjA6IiI7czoxMDoiYXV0aG9yX3VyaSI7czowOiIiO3M6NzoidmVyc2lvbiI7czozOiIwLjIi
O3M6MTE6ImRlc2NyaXB0aW9uIjtzOjA6IiI7czo0OiJjb2RlIjtzOjc2MzoicmVnaXN0ZXJf
Y2FsbGJhY2soJ2V0Y19wcmVmcycsICdwcmV0ZXh0X2VuZCcpOw0KcmVnaXN0ZXJfY2FsbGJh
Y2soJ2V0Y19wcmVmcycsICdza2luJywgJycsIDEpOw0KDQpmdW5jdGlvbiBldGNfcHJlZnMo
JGV2ZW50LCAkc3RlcCkgew0KICAgIGdsb2JhbCAkcHJlZnM7DQoNCiAgICAvLyBQSFAgZnVu
Y3Rpb25zIHVzZWQgaW4gPHR4cDpldmFsdWF0ZSAvPjogY29tbWEtc2VwYXJhdGVkIGxpc3Qg
b2YgJ25hbWUnIG9yICdhbGlhczpuYW1lJw0KICAgICRwcmVmc1sndHhwX2V2YWx1YXRlX2Z1
bmN0aW9ucyddID0gJ21kNSwgcmVwbGFjZTpwcmVnX3JlcGxhY2UnOw0KDQogICAgLy8gTWF4
IGZvcm0gbmVzdGluZyBkZXB0aA0KICAgICRwcmVmc1snZm9ybV9jaXJjdWxhcl9kZXB0aCdd
ID0gMTU7DQoNCiAgICAvLyBQYXJzZSBjc3M/DQogICAgJHByZWZzWydwYXJzZV9jc3MnXSA9
IGZhbHNlOw0KDQogICAgLy8gTWltZXR5cGVzDQogICAgJHByZWZzWydhc3NldHNfbWltZXR5
cGVzJ10gPSAnO2Nzcz0idGV4dC9jc3MiLA0KICAgICAgICB0eHQ9InRleHQvcGxhaW4iLA0K
ICAgICAgICBjc3Y9InRleHQvY3N2IiwNCiAgICAgICAgaHRtPSJ0ZXh0L2h0bWwiLA0KICAg
ICAgICBodG1sPSJ0ZXh0L2h0bWwiLA0KICAgICAgICBqcz0iYXBwbGljYXRpb24vamF2YXNj
cmlwdCIsDQogICAgICAgIGpzb249ImFwcGxpY2F0aW9uL2pzb24iLA0KICAgICAgICB4bWw9
ImFwcGxpY2F0aW9uL3htbCIsDQogICAgICAgIHN2Zz0iaW1hZ2Uvc3ZnK3htbCInOw0KfSI7
czo0OiJ0eXBlIjtzOjE6IjUiO3M6NToib3JkZXIiO3M6MToiNSI7czo1OiJmbGFncyI7czox
OiIwIjtzOjQ6ImhlbHAiO2I6MDtzOjM6Im1kNSI7czozMjoiOTFlMjliOGIxYjgyNTlhZDE0
MDBiM2EwMDYxYThiODciO30=

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


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

Offline

Board footer

Powered by FluxBB