Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2016-02-29 11:21:29

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

Re: rah_flat (template file extensions)

bici wrote #298058:

man this inability to have an elegant simple solution to flat files is soooo 2005

It’s already in a branch awaiting Textpattern 4.7. Please be patient.

Offline

#22 2016-02-29 20:19:05

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,897
Website

Re: rah_flat (template file extensions)

giz wrote #298056:

The moment I add my ‘default.txp’ file into templates/pages/, I get General error Textpattern Error: Table 'txp_page' was not locked with LOCK TABLES errors, both in admin and on the site.

I’ve never seen that before, so I’m not really sure why. Maybe something special with your mysql setup?

A long shot. Jukka’s last commit removed a lock tables command – see here. You might want to see if reinstating those two lines correct things for you. If you didn’t install with composer and are not sure where those are in the plugin code, click on the ‘concertina’ icons in the line numbers on github to reveal the preceding and following code.

Otherwise, I’ve found it does work as a more reliable replacement for cnk_versioning.


TXP Builders – finely-crafted code, design and txp

Offline

#23 2016-02-29 20:58:15

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 187
Website

Re: rah_flat (template file extensions)

jakob wrote #298075:

A long shot. Jukka’s last commit removed a lock tables command – see here.

Thanks Juilian – your long shot did the trick – I removed the safe_query lines on either side of the callback_event and all is well :)

Last edited by giz (2016-02-29 20:58:28)

Offline

#24 2016-03-01 08:30:07

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 455

Re: rah_flat (template file extensions)

bici wrote #298058:

man this inability to have an elegant simple solution to flat files is soooo 2005

philwareham wrote #298060:

It’s already in a branch awaiting Textpattern 4.7. Please be patient.

Whoop! Whoop!

Last edited by Algaris (2016-03-01 08:30:54)

Offline

#25 2016-03-10 17:50:32

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,225

Re: rah_flat (template file extensions)

mrdale wrote #297541:

I realized the other day that if rah_flat were to look recursively under the forms directory and not just one level deep we would have a killer organizational tool.

Just had “Override forms“ in mind and thought “Hope mrdale’s new feature doesn’t kill form overriding”.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#26 2016-03-20 15:57:29

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,415
Website

Re: rah_flat (template file extensions)

Flat-file management

philwareham wrote #298060:

It’s already in a branch awaiting Textpattern 4.7. Please be patient.

Yow, what?! That sounds good.

And that should be a .com blog post ASAP, elaborating on how that will work and all. Marketing, baby, marketing.

Inquiring minds need to know details!

Offline

#27 2016-03-21 15:57:18

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: rah_flat (template file extensions)

Yep… peeps want sweet deets.

Offline

Board footer

Powered by FluxBB