Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2014-10-31 18:35:30

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: [UX] New installation default post and comment i18n

Perhaps a poor quality suggestion. Is it possible move the content of the first article out of the database and then to load the intro article after the installation – after a default language is chosen?

Perhaps from an included xml file in the setup folder so it is easily deleted, or perhaps from a standing xml feed at textpattern.com or github?

Again, I’m sure those wiser than I will quickly see the flaws in this idea.

Offline

#17 2014-10-31 18:49:18

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: [UX] New installation default post and comment i18n

Also allow along this line. Over the years I’ve tried various CMSes. I appreciate those that gave a choice between a clean install and one with default templates and example articles.

Offline

#18 2014-11-01 10:25:27

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,733
GitHub

Re: [UX] New installation default post and comment i18n

maverick wrote #285323:

Also allow along this line. Over the years I’ve tried various CMSes. I appreciate those that gave a choice between a clean install and one with default templates and example articles.

+1.

Offline

#19 2014-11-01 23:17:17

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,458
Website GitHub

Re: [UX] New installation default post and comment i18n

maverick wrote #285322:

Is it possible move the content of the first article out of the database and then to load the intro article after the installation – after a default language is chosen?

Sounds great. The very first question asked at setup is the language, and it’s probably reasonable to assume that’s the language the user is most comfortable in and would therefore use by default. So when it comes to populating the database in the final step of the setup process, it could just grab the relevant article content from a file in the chosen language and insert that into the database instead of the content being hard-coded in txpsql.php. Job done.

That also lends itself to an option for an ‘empty’ installation. i.e. don’t populate the article at all. Not sure about the Templates as we do have some conventions on which things are built (Forms that cannot be deleted, etc) so a skeleton is kinda enforced at the moment. That means a true “clean slate” is unfortunately not possible without some hefty alterations to the notion of fixed Forms.

I like the include-article-number-1-from-file option actually. Can’t see any downsides as long as everything is escaped properly on input and the content is delivered in the distributed package (which is what we’re planning to do for everything soon anyway: help included).

I’ll chew this over and see if anyone can poke holes in it, but it’s my favourite suggestion so far, thanks.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#20 2014-11-02 15:36:22

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,733
GitHub

Re: [UX] New installation default post and comment i18n

Bloke wrote #285365:

I like the include-article-number-1-from-file option actually.

So, kinda-ish like my OP, then. I think this is a great idea, for what it’s worth.

Offline

Board footer

Powered by FluxBB